예제 #1
0
 /**
  * import customer points 
  * @return view
  */
 public function points()
 {
     // UpdatedOrder::truncate();
     // ErrorOrder::truncate();
     JavaScript::put(['url' => '/orders/update', 'os_total' => ImportedCustomer::count(), 'imported_total' => UpdatedCustomer::count(), 'resource' => array_values(array_diff(ImportedCustomer::lists('os_id')->toArray(), UpdatedCustomer::lists('os_id')->toArray()))]);
     return view('importer.index', ['resource' => 'Customer Updates']);
 }