mirror of
https://git.imnavajas.es/jjimenez/safekat.git
synced 2025-07-25 22:52:08 +00:00
corregido direcciones borran precio
This commit is contained in:
@ -719,7 +719,11 @@ class Presupuestocliente extends \App\Controllers\BaseResourceController
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
// Se suma el coste de envío a cada precio unidad
|
||||
for ($i = 0; $i < count($tirada); $i++) {
|
||||
if($return_data['coste_envio'] && isset($return_data['coste_envio'][$i]) && $return_data['coste_envio'][$i] > 0)
|
||||
$return_data['precio_u'][$i] = round(floatval($return_data['precio_u'][$i]) + $return_data['coste_envio'][$i]/$tirada[$i], 4);
|
||||
}
|
||||
|
||||
if ($this->request) {
|
||||
if ($this->request->isAJAX())
|
||||
|
||||
Reference in New Issue
Block a user