public static function filterAndPaginateCustomer($name) { return Partner::getCustomer($name); }
/** * Display a listing of the resource. * * @return Response */ public function index() { $customers = Partner::getCustomer(''); $paymentMethod = \DB::table('paymentMethods')->orderBy('name', 'ASC')->lists('name', 'id'); return view('POS.index', compact('customers', 'paymentMethod')); }