Skip to content

Commit

Permalink
Fix de la carga del formulario de cargos 3
Browse files Browse the repository at this point in the history
  • Loading branch information
elyambay committed Aug 31, 2017
1 parent 7c7c87b commit 993b1db
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions app/Http/Controllers/CargosClientesController.php
Original file line number Diff line number Diff line change
Expand Up @@ -76,10 +76,14 @@ public function store(Request $request){

if(!$fields->has("car_company")){
$fields->put("car_company", 0);
}else{
$fields->put("car_company", 1);
}

if(!$fields->has("tarjeta_flota")){
$fields->put("tarjeta_flota", 0);
}else{
$fields->put("tarjeta_flota", 1);
}

if(!$fields->has("tipo_clase_idioma")){
Expand Down

0 comments on commit 993b1db

Please sign in to comment.