소스 검색

take 3000 customer list

ifah
Siti Hajar Ibrahim 5 년 전
부모
커밋
0dbc47287e
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1
    1
      app/Http/Controllers/CustomerService/CustomerController.php

+ 1
- 1
app/Http/Controllers/CustomerService/CustomerController.php 파일 보기



if($type == 'null' && $building == 'null' && $dealer == 'null'){ if($type == 'null' && $building == 'null' && $dealer == 'null'){


$form = Form::with('Subscriber','PackageDetail','WorkOrder')->orderBy('created_at', 'desc')->take(2000)->get();
$form = Form::with('Subscriber','PackageDetail','WorkOrder')->orderBy('created_at', 'desc')->take(3000)->get();


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

Loading…
취소
저장