Example #1
0
 private function getData()
 {
     return ['vehicle_types' => $this->vehicleTypeRepository->getVehicleType(), 'vehicle_categories' => $this->dataRepository->getVehicleCategory(), 'vehicle_uses' => $this->dataRepository->getVehicleUse(), 'vehicle_makes' => $this->vehicleMakeRepository->getVehicleMakes()];
 }
Example #2
0
 private function getData()
 {
     return ['property_types' => $this->dataRepository->getPropertyTypes(), 'property_uses' => $this->dataRepository->getPropertyUses(), 'cities' => $this->cityRepository->getCitiesByType()];
 }
Example #3
0
 /**
  * Returns data for create Header
  *
  * @param string $rp_id
  *
  * @return array
  */
 protected function getData($rp_id)
 {
     return ['coverages' => $this->retailerProductRepository->getCoverageByProduct($rp_id), 'currencies' => $this->dataRepository->getCurrency(), 'term_types' => $this->dataRepository->getTermType(), 'credit_products' => $this->retailerProductRepository->getCreditProductByProduct($rp_id), 'movement_types' => $this->dataRepository->getMovementType(), 'policies' => $this->policyRepository->gerPolicyForIssuance($rp_id)];
 }
Example #4
0
 public function getData()
 {
     return ['payment_methods' => $this->dataRepository->getPaymentMethod(), 'periods' => $this->dataRepository->getPeriod(), 'civil_status' => $this->dataRepository->getCivilStatus(), 'document_type' => $this->dataRepository->getDocumentType(), 'gender' => $this->dataRepository->getGender(), 'cities' => $this->cityRepository->getCitiesByType(), 'activities' => $this->activityRepository->getActivities(), 'hands' => $this->dataRepository->getHand(), 'avenue_street' => $this->dataRepository->getAvenueStreet()];
 }
Example #5
0
 /**
  * Returns Data for Client register
  *
  * @param string $rp_id
  *
  * @return array
  */
 public function getData($rp_id)
 {
     $this->getInstance();
     return ['civil_status' => $this->dataRepository->getCivilStatus(), 'document_type' => $this->dataRepository->getDocumentType(), 'gender' => $this->dataRepository->getGender(), 'cities' => $this->cityRepository->getCitiesByType(), 'activities' => $this->activityRepository->getActivitiesByProduct(decode($rp_id)), 'hands' => $this->dataRepository->getHand(), 'avenue_street' => $this->dataRepository->getAvenueStreet(), 'term_types' => $this->dataRepository->getTermType(), 'currencies' => $this->dataRepository->getCurrency()];
 }