mirror of
https://git.imnavajas.es/jjimenez/safekat.git
synced 2025-07-25 22:52:08 +00:00
arraglados algunos bugs
This commit is contained in:
@ -956,7 +956,7 @@ class Presupuestocliente extends \App\Controllers\BaseResourceController
|
||||
$coste = $tarifas_envio[0]->precio;
|
||||
}
|
||||
}
|
||||
if (count($data) > 0) {
|
||||
if (count($data) > 0 && count($tarifas_envio) > 0){
|
||||
$data[0]->coste = $coste;
|
||||
$data[0]->tipo = $entregaPieCalle ? 'palets' : 'cajas';
|
||||
$data[0]->margen = $margen;
|
||||
|
||||
Reference in New Issue
Block a user