Ejemplo n.º 1
0
 public function activities()
 {
     return $this->repository->getActivities();
 }
Ejemplo n.º 2
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()];
 }
Ejemplo n.º 3
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()];
 }