From f75926bc3c732c93623856cfc2931caeccf13a24 Mon Sep 17 00:00:00 2001 From: "joao.herculano" Date: Thu, 28 May 2026 09:24:43 -0300 Subject: [PATCH] ajustes de funcionalidade --- home/templates/home/controle_saldo.html | 967 ++++++++++++++++++++++++ home/templates/home/home_page.html | 25 +- home/urls.py | 2 + home/views.py | 553 +++++++++++++- 4 files changed, 1539 insertions(+), 8 deletions(-) create mode 100644 home/templates/home/controle_saldo.html diff --git a/home/templates/home/controle_saldo.html b/home/templates/home/controle_saldo.html new file mode 100644 index 0000000..2ec4f3b --- /dev/null +++ b/home/templates/home/controle_saldo.html @@ -0,0 +1,967 @@ +{% load static %} + + + + + + Controle de Saldo + + + + +
+
+
+ + Logo Ginseng +
+ + +
+ + + +
+ +
+
+

Transferência de saldo

+
Selecione duas combinações de PDV + Marca para iniciar a simulação.
+
+ +
+ +
+
+ + + +
+
+ + + +
+
+ +
+
+

Orçamento disponível Mês - Origem

+

R$ 0,00

+
+
+

Orçamento disponível Mês - Destino

+

R$ 0,00

+
+
+ +
+

Composição do saldo (PDV origem)

+
+
+

Total Orçamento do mês

+

R$ 0,00

+
+
+

Pendente - Ignorado

+

R$ 0,00

+
+
+

Saldo

+

R$ 0,00

+
+
+
+ +
+
+

Cobertura PDV origem

+

-

+
+
+

Cobertura PDV destino

+

-

+
+
+ +
+ +
+
+
Origem
+ +
Destino
+
+
+ + +
+
+ + +
+
+
Transferência: R$ 0,00
+
+ +
Carregando saldos por PDV...
+
+ +
+

Saldos e Cobertura (menor saldo para maior)

+
+ + + + + + + + + + + + +
PDVMarcaSaldoCobertura
Carregando...
+
+
+
+
+ +
+

© 2026 Ginseng Pedidos. Todos os direitos reservados.

+
+
+ + + + diff --git a/home/templates/home/home_page.html b/home/templates/home/home_page.html index 6bdd7c7..9cd6107 100644 --- a/home/templates/home/home_page.html +++ b/home/templates/home/home_page.html @@ -203,7 +203,7 @@ /* ===== CARDS ===== */ .cards-row { display: grid; - grid-template-columns: repeat(4, minmax(0, 1fr)); + grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; } .cards-row-primary { @@ -214,7 +214,7 @@ background: var(--white); border: 1px solid var(--border-color); border-radius: 12px; - padding: 16px; + padding: 12px; box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04); transition: all 0.2s ease; } @@ -232,7 +232,7 @@ .card-value { margin: 0; - font-size: 24px; + font-size: 21px; font-weight: 700; color: var(--text-primary); } @@ -587,6 +587,13 @@ Relatórios + + + + + + Controle de Saldo + @@ -720,6 +727,10 @@

Cobertura projetada com compra

-

+
+

Aprovado Hoje

+

-

+
@@ -744,6 +755,7 @@