mirror of
https://git.imnavajas.es/jjimenez/safekat.git
synced 2025-07-25 22:52:08 +00:00
cuando la tirada es 1 la merma es 0
This commit is contained in:
@ -2077,7 +2077,10 @@ class PresupuestoService extends BaseService
|
||||
|
||||
$merma = 0;
|
||||
|
||||
if ($tirada > $POD) {
|
||||
if ($tirada == 0) {
|
||||
$merma = 0;
|
||||
}
|
||||
else if ($tirada > $POD) {
|
||||
$merma = $tirada * 0.1;
|
||||
} else {
|
||||
$merma_lineas = [];
|
||||
|
||||
Reference in New Issue
Block a user