Bläddra i källkod

take 1000

ifah
root 5 år sedan
förälder
incheckning
01144cf1a8
1 ändrade filer med 1 tillägg och 1 borttagningar
  1. 1
    1
      app/Http/Controllers/CustomerService/CustomerController.php

+ 1
- 1
app/Http/Controllers/CustomerService/CustomerController.php Visa fil

@@ -74,7 +74,7 @@ class CustomerController extends Controller
$nested_data = array();

if($type == 'null' && $building == 'null' && $dealer == 'null'){
$form = Form::with('Subscriber','PackageDetail','WorkOrder')->orderBy('created_at', 'desc')->take(500)->get();
$form = Form::with('Subscriber','PackageDetail','WorkOrder')->orderBy('created_at', 'desc')->take(1000)->get();
}else if($type != 'null' && $building == 'null' && $dealer == 'null'){
$form = Form::with('Subscriber','PackageDetail','WorkOrder')->where('type_service',$type)->orderBy('created_at', 'desc')->get();
}else if($type != 'null' && $building != 'null' && $dealer == 'null'){

Laddar…
Avbryt
Spara