Suggest a feature
×

Welcome to TagMyCode

Please login or create account to add a snippet.
0
0
 
0
Language: PHP
Posted by: Giuliano Risaliti
Added: Jan 21, 2018 10:24 PM
Views: 16
Tags: no tags
Prova
  1. public function orderByIdCustomerTablePaginated($queryBuilder,$parameter)
  2.     {    
  3.         if(($parameter['date_start']!=''))$parameter['date_start']=$parameter['date_start'].' 00:00';
  4.         if(($parameter['date_end']!=''))$parameter['date_end']=$parameter['date_end'].' 23:59';
  5.        
  6.         $query = DB::table(config('databasetables.ORDINI'))