Compare commits
1 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 4a5cae8f2f |
@@ -3153,6 +3153,11 @@ window.salvarEdicaoModal = async function() {
|
||||
total_pixcnpj: pixcnpj_tot,
|
||||
total_areceber: recv_tot,
|
||||
total_cancelamentos: canc_tot,
|
||||
total_cartao_pix: cartPix_tot,
|
||||
|
||||
// Diferença calculada
|
||||
diferenca: p(inp('edit-troco')) + cartCred_tot + cartDeb_tot + cartAli_tot + cartPix_tot + pixcnpj_tot + vales_tot + recv_tot
|
||||
- p(inp('edit-esperado')) - canc_tot,
|
||||
|
||||
// Fechamento (campos calculados que o formato antigo usava no dados)
|
||||
fechamento_dinheiro: p(inp('edit-troco')) + vales_tot + sang_tot - desp_tot - canc_tot,
|
||||
|
||||
Reference in New Issue
Block a user