Exemple #1
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()];
 }
Exemple #2
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()];
 }