Ejemplo n.º 1
0
 /**
  *crear cliente
  *
  *return Response
  */
 public function create()
 {
     $regions = Region::lists('name', 'id');
     $cities = City::lists('name', 'id');
     $communes = Commune::lists('name', 'id');
     $compensacions = Compensacion::lists('name', 'id');
     $complementaries = Complementary::lists('name', 'id');
     $insurances = Insurance::lists('name', 'id');
     return view('admin.clients.create', compact('regions', 'cities', 'communes', 'compensacions', 'complementaries', 'insurances'));
 }
Ejemplo n.º 2
0
 public function create()
 {
     $nacionalities = Nacionality::lists('name', 'id');
     $cities = City::lists('name', 'id');
     $communes = Commune::lists('name', 'id');
     $afc = Afc::lists('name', 'id');
     $afp = Afp::lists('name', 'id');
     $apv = Apv::lists('name', 'id');
     $banks = Bank::lists('name', 'id');
     $familyCharges = FamilyCharge::lists('name', 'id');
     $employeeTypes = EmployeeType::lists('name', 'id');
     $accountTypes = AccountType::lists('name', 'id');
     $healths = Health::lists('name', 'id');
     return view('entity.employees.create', compact('nacionalities', 'cities', 'communes', 'afc', 'afp', 'apv', 'banks', 'familyCharges', 'employeeTypes', 'accountTypes', 'healths'));
 }