예제 #1
0
 /**
  * Display a listing of the resource.
  *
  * @author WN, MS
  * @return \Illuminate\View\View
  */
 public function index()
 {
     $locations = Location::query();
     $this->limitToInstallationOnMerchant($locations);
     return $this->standardIndexAction($locations, 'locations.index', 'locations', ['active' => $this->fetchBooleanFilterValues($locations, 'active', 'Inactive', 'Active'), 'installation_id' => $this->fetchAssociateFilterValues($locations, 'installation')]);
 }