diff --git a/.gitignore b/.gitignore index 2740fefd..2d42bcbe 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,4 @@ ci4/.env .vscode/ -xdebug.log \ No newline at end of file +./xdebug.log \ No newline at end of file diff --git a/ci4/app/Controllers/Presupuestos/Presupuestocliente.php b/ci4/app/Controllers/Presupuestos/Presupuestocliente.php index 1806dd70..eb0d4465 100755 --- a/ci4/app/Controllers/Presupuestos/Presupuestocliente.php +++ b/ci4/app/Controllers/Presupuestos/Presupuestocliente.php @@ -1004,7 +1004,8 @@ class Presupuestocliente extends \App\Controllers\BaseResourceController $coste = $tarifa_final->precio; } else{ - $coste = $tarifas_envio[0]->precio; + if(count($tarifas_envio) > 0) + $coste = $tarifas_envio[0]->precio; } diff --git a/ci4/app/Views/themes/vuexy/form/presupuestos/cliente/_resumenItems.php b/ci4/app/Views/themes/vuexy/form/presupuestos/cliente/_resumenItems.php index e43acb94..ee42ebe7 100644 --- a/ci4/app/Views/themes/vuexy/form/presupuestos/cliente/_resumenItems.php +++ b/ci4/app/Views/themes/vuexy/form/presupuestos/cliente/_resumenItems.php @@ -22,12 +22,12 @@

Acabado: Ninguno

Sobrecubierta
-

Papel: Blanco Offset 70gr/m2

+

Papel: Blanco Offset 70gr/m²

Ancho solapas: 25mm

Acabado: Ninguno

Guardas
-

Papel: Blanco Offset 70gr/m2

+

Papel: Blanco Offset 70gr/m²

Impresión: 1 cara

Extras
@@ -37,10 +37,8 @@
-

Total: 100€

+

Total: 100€

10.4€/ud
-
Coste impresion (4% IVA): 104€
-
Envío: 30€
diff --git a/ci4/app/Views/themes/vuexy/form/presupuestos/cliente/direcciones.js b/ci4/app/Views/themes/vuexy/form/presupuestos/cliente/direcciones.js index d0b74ab9..48a63d65 100644 --- a/ci4/app/Views/themes/vuexy/form/presupuestos/cliente/direcciones.js +++ b/ci4/app/Views/themes/vuexy/form/presupuestos/cliente/direcciones.js @@ -37,9 +37,9 @@ function initTiradasDirecciones() { let html = ''; html += '
'; - html += '
'; + html += '
'; html += '