Пример #1
0
 public static function filterAndPaginateCustomer($name)
 {
     return Partner::getCustomer($name);
 }
Пример #2
0
 /**
  * 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'));
 }