Correção Segurança entrada PIN motorista QRcode
This commit is contained in:
@@ -33,7 +33,7 @@
|
||||
<%# Card 1 — Valor Estimado (LARANJA) %>
|
||||
<div class="bg-orange-500 rounded-2xl p-6">
|
||||
<p class="text-black/80 font-bold uppercase tracking-wide">💰 Valor estimado deste mês</p>
|
||||
<p class="text-black font-black text-5xl mt-2 leading-tight"><%= moeda(@valor_estimado) %></p>
|
||||
<p class="text-black font-black text-4xl sm:text-5xl mt-2 leading-tight whitespace-nowrap"><%= moeda(@valor_estimado) %></p>
|
||||
<p class="text-black/80 text-base mt-2">
|
||||
<%= @entregas_mes %> entregas feitas e confirmadas
|
||||
</p>
|
||||
@@ -45,7 +45,7 @@
|
||||
<%# Card 2 — Valor Consolidado (BRANCO) %>
|
||||
<div class="bg-white rounded-2xl p-6">
|
||||
<p class="text-gray-600 font-bold uppercase tracking-wide">✅ Valor fechado para pagamento</p>
|
||||
<p class="text-black font-black text-5xl mt-2 leading-tight"><%= moeda(@valor_consolidado) %></p>
|
||||
<p class="text-black font-black text-4xl sm:text-5xl mt-2 leading-tight whitespace-nowrap"><%= moeda(@valor_consolidado) %></p>
|
||||
<p class="text-gray-600 text-base mt-2">
|
||||
Soma dos pagamentos já confirmados pela empresa
|
||||
</p>
|
||||
@@ -72,7 +72,7 @@
|
||||
<p class="text-gray-300 text-base mt-1">
|
||||
📅 <%= l c.data_inicio, format: :short %> a <%= l c.data_fim, format: :short %>
|
||||
</p>
|
||||
<p class="text-orange-500 font-black text-3xl mt-1"><%= moeda(cm&.valor_total || 0) %></p>
|
||||
<p class="text-orange-500 font-black text-3xl mt-1 whitespace-nowrap"><%= moeda(cm&.valor_total || 0) %></p>
|
||||
<% if cm&.pago? %>
|
||||
<p class="text-green-400 text-sm mt-1">
|
||||
💰 Pago em <%= l cm.pago_em.to_date, format: :short %>
|
||||
|
||||
@@ -8,7 +8,12 @@
|
||||
<div class="text-center mb-8">
|
||||
<div class="w-16 h-16 bg-orange-500 rounded-2xl flex items-center justify-center font-black text-black text-3xl mx-auto mb-3">G</div>
|
||||
<h1 class="text-white font-bold text-2xl">Reem Logística</h1>
|
||||
<p class="text-gray-400 text-base mt-1">Digite seu PIN de 4 números</p>
|
||||
<% if @motorista_pre %>
|
||||
<p class="text-white text-lg mt-1">Olá, <span class="font-bold text-orange-400"><%= @motorista_pre.nome.split.first %></span>!</p>
|
||||
<p class="text-gray-400 text-base">Confirme com seu PIN de 4 números</p>
|
||||
<% else %>
|
||||
<p class="text-gray-400 text-base mt-1">Digite seu PIN de 4 números</p>
|
||||
<% end %>
|
||||
</div>
|
||||
|
||||
<%= form_with url: motorista_login_path, method: :post, id: 'form-pin' do |f| %>
|
||||
|
||||
Reference in New Issue
Block a user