File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -968,7 +968,8 @@ private function getTotalSobrasDoMes(): float
968
968
{
969
969
$ this ->distribuiProducaoExterna ();
970
970
return $ this ->getTotalPagoNotasClientes ()
971
- - $ this ->getTotalDispendios ();
971
+ - $ this ->getTotalDispendios ()
972
+ + $ this ->getTotalSobrasDistribuidasNoMes ();
972
973
}
973
974
974
975
private function getTotalSobrasDistribuidasNoMes (): float
@@ -1085,7 +1086,7 @@ public function exportData(): array
1085
1086
],
1086
1087
'total_sobras_do_mes ' => [
1087
1088
'valor ' => $ this ->getTotalSobrasDoMes (),
1088
- 'formula ' => '{total_sobras_do_mes} = {total_notas_clientes} - {taxa_administrativa} '
1089
+ 'formula ' => '{total_sobras_do_mes} = {total_notas_clientes} - {taxa_administrativa} + {total_sobras_distribuidas} '
1089
1090
],
1090
1091
'base_producao ' => ['valor ' => $ this ->getTotalBaseProducao ()],
1091
1092
'total_horas_trabalhadas ' => ['valor ' => $ this ->getTotalHorasTrabalhadas ()],
You can’t perform that action at this time.
0 commit comments