From e5227adcfed59f1a0f4eaaa6274635472789216e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jaime=20Jim=C3=A9nez?= Date: Wed, 20 Dec 2023 12:07:48 +0100 Subject: [PATCH] arreglado meter margen en tarifa envio precios --- .../Controllers/Tarifas/Tarifasenviosprecios.php | 7 +++++++ d | 13 +++++++++++++ 2 files changed, 20 insertions(+) create mode 100644 d diff --git a/ci4/app/Controllers/Tarifas/Tarifasenviosprecios.php b/ci4/app/Controllers/Tarifas/Tarifasenviosprecios.php index 9f02d6c4..763c86dc 100755 --- a/ci4/app/Controllers/Tarifas/Tarifasenviosprecios.php +++ b/ci4/app/Controllers/Tarifas/Tarifasenviosprecios.php @@ -260,6 +260,13 @@ class Tarifasenviosprecios extends \App\Controllers\GoBaseResourceController { ->validator('Validate::numeric', array( 'message' => lang('TarifasEnviosPrecios.validation.precio_adicional.decimal')) ), + Field::inst('margen') + ->validator('Validate::required', array( + 'message' => lang('TarifasEnviosPrecios.validation.precio_adicional.required')) + ) + ->validator('Validate::numeric', array( + 'message' => lang('TarifasEnviosPrecios.validation.precio_adicional.decimal')) + ), Field::inst('tarifa_envio_id'), Field::inst('proveedor_id'), Field::inst('user_created_id'), diff --git a/d b/d new file mode 100644 index 00000000..51a59d81 --- /dev/null +++ b/d @@ -0,0 +1,13 @@ + bug/presupuestos3 + dev/presupuestos_total +* main_old + remotes/origin/HEAD -> origin/main + remotes/origin/bug/presupuestos3 + remotes/origin/dev/formas-presupuestador + remotes/origin/dev/presupuestos3 + remotes/origin/dev/presupuestos_pdf + remotes/origin/dev/presupuestos_total + remotes/origin/dev/previsualizadores + remotes/origin/feat/presupuestos + remotes/origin/main + remotes/origin/presupuestos/tipos_presupuestos