mirror of
https://git.imnavajas.es/jjimenez/safekat.git
synced 2025-07-25 22:52:08 +00:00
los acabados tienen que tener el check de mostrar en cliente a 1. Además se ha corregido un error al editar este check dentro de los servicios de acabado
This commit is contained in:
@ -80,7 +80,7 @@ class ServiciosAcabado extends BaseResourceController
|
|||||||
$sanitizedData['user_updated_id'] = auth()->user()->id;
|
$sanitizedData['user_updated_id'] = auth()->user()->id;
|
||||||
|
|
||||||
if ($this->request->getPost('mostrar_en_presupuesto_cliente') == null) {
|
if ($this->request->getPost('mostrar_en_presupuesto_cliente') == null) {
|
||||||
$sanitizedData['mostrar_en_presupuesto'] = false;
|
$sanitizedData['mostrar_en_presupuesto_cliente'] = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
if ($this->request->getPost('acabado_cubierta') == null) {
|
if ($this->request->getPost('acabado_cubierta') == null) {
|
||||||
@ -174,7 +174,7 @@ class ServiciosAcabado extends BaseResourceController
|
|||||||
$sanitizedData['user_updated_id'] = auth()->user()->id;
|
$sanitizedData['user_updated_id'] = auth()->user()->id;
|
||||||
|
|
||||||
if ($this->request->getPost('mostrar_en_presupuesto_cliente') == null) {
|
if ($this->request->getPost('mostrar_en_presupuesto_cliente') == null) {
|
||||||
$sanitizedData['mostrar_en_presupuesto'] = false;
|
$sanitizedData['mostrar_en_presupuesto_cliente'] = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
if ($this->request->getPost('acabado_cubierta') == null) {
|
if ($this->request->getPost('acabado_cubierta') == null) {
|
||||||
|
|||||||
@ -213,7 +213,8 @@ class DisenioCubierta {
|
|||||||
false,
|
false,
|
||||||
{
|
{
|
||||||
[this.csrf_token]: this.csrf_hash,
|
[this.csrf_token]: this.csrf_hash,
|
||||||
"cubierta": 1
|
"cubierta": 1,
|
||||||
|
"cliente": 1
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
|
|
||||||
@ -223,7 +224,8 @@ class DisenioCubierta {
|
|||||||
false,
|
false,
|
||||||
{
|
{
|
||||||
[this.csrf_token]: this.csrf_hash,
|
[this.csrf_token]: this.csrf_hash,
|
||||||
"sobrecubierta": 1
|
"sobrecubierta": 1,
|
||||||
|
"cliente": 1
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
|
|
||||||
@ -233,7 +235,8 @@ class DisenioCubierta {
|
|||||||
false,
|
false,
|
||||||
{
|
{
|
||||||
[this.csrf_token]: this.csrf_hash,
|
[this.csrf_token]: this.csrf_hash,
|
||||||
"sobrecubierta": 1
|
"sobrecubierta": 1,
|
||||||
|
"cliente": 1
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user