|
|
@@ -44,7 +44,7 @@ class CompoundController extends Controller |
|
|
|
|
|
|
|
if(count($user->StaffDetail->department_ids) > 1){
|
|
|
|
$overall = ReportOverallCompound::where('department','all')->where('modul','all')->where('status','all')->first();
|
|
|
|
// $n = ReportOverallCompound::where('department','all')->where('modul','02')->where('status','Belum Bayar')->first();
|
|
|
|
$n = ReportOverallCompound::where('department','all')->where('modul','02')->where('status','Belum Bayar')->first();
|
|
|
|
$b = ReportOverallCompound::where('department','all')->where('modul','03')->where('status','Belum Bayar')->first();
|
|
|
|
$pk = ReportOverallCompound::where('department','all')->where('modul','04')->where('status','Belum Bayar')->first();
|
|
|
|
$na = ReportOverallCompound::where('department','all')->where('modul','05')->where('status','Belum Bayar')->first();
|
|
|
@@ -52,7 +52,7 @@ class CompoundController extends Controller |
|
|
|
$by = ReportOverallCompound::where('department','all')->where('status','Berbayar')->first();
|
|
|
|
}else {
|
|
|
|
$overall = ReportOverallCompound::where('department',$user->StaffDetail->department_ids[0])->where('modul','all')->where('status','all')->first();
|
|
|
|
// $n = ReportOverallCompound::where('department',$user->StaffDetail->department_ids[0])->where('modul','02')->where('status','Belum Bayar')->first();
|
|
|
|
$n = ReportOverallCompound::where('department',$user->StaffDetail->department_ids[0])->where('modul','02')->where('status','Belum Bayar')->first();
|
|
|
|
$b = ReportOverallCompound::where('department',$user->StaffDetail->department_ids[0])->where('modul','03')->where('status','Belum Bayar')->first();
|
|
|
|
$pk = ReportOverallCompound::where('department',$user->StaffDetail->department_ids[0])->where('modul','04')->where('status','Belum Bayar')->first();
|
|
|
|
$na = ReportOverallCompound::where('department',$user->StaffDetail->department_ids[0])->where('modul','05')->where('status','Belum Bayar')->first();
|
|
|
@@ -61,7 +61,7 @@ class CompoundController extends Controller |
|
|
|
}
|
|
|
|
|
|
|
|
$semua = $overall->total;
|
|
|
|
// $pre_notice = $n->total;
|
|
|
|
$pre_notice = $n->total;
|
|
|
|
$baru = $b->total;
|
|
|
|
$invest = $pk->total;
|
|
|
|
$notice = $na->total;
|
|
|
@@ -75,7 +75,7 @@ class CompoundController extends Controller |
|
|
|
$now = Carbon::now()->format('Y-m-d');
|
|
|
|
$modul = 'All';
|
|
|
|
|
|
|
|
return view('main-dashboard.compound.compound_index', compact('user','site','staff','deedlaw','now','modul','semua','baru','invest','notice','inven','collap','comp'));
|
|
|
|
return view('main-dashboard.compound.compound_index', compact('user','site','staff','deedlaw','now','modul','semua','pre_notice','baru','invest','notice','inven','collap','comp'));
|
|
|
|
}
|
|
|
|
|
|
|
|
public function pre_notice_index(){
|
|
|
@@ -84,7 +84,7 @@ class CompoundController extends Controller |
|
|
|
|
|
|
|
if(count($user->StaffDetail->department_ids) > 1){
|
|
|
|
$overall = ReportOverallCompound::where('department','all')->where('modul','all')->where('status','all')->first();
|
|
|
|
// $n = ReportOverallCompound::where('department','all')->where('modul','02')->where('status','Belum Bayar')->first();
|
|
|
|
$n = ReportOverallCompound::where('department','all')->where('modul','02')->where('status','Belum Bayar')->first();
|
|
|
|
$b = ReportOverallCompound::where('department','all')->where('modul','03')->where('status','Belum Bayar')->first();
|
|
|
|
$pk = ReportOverallCompound::where('department','all')->where('modul','04')->where('status','Belum Bayar')->first();
|
|
|
|
$na = ReportOverallCompound::where('department','all')->where('modul','05')->where('status','Belum Bayar')->first();
|
|
|
@@ -92,7 +92,7 @@ class CompoundController extends Controller |
|
|
|
$by = ReportOverallCompound::where('department','all')->where('status','Berbayar')->first();
|
|
|
|
}else {
|
|
|
|
$overall = ReportOverallCompound::where('department',$user->StaffDetail->department_ids[0])->where('modul','all')->where('status','all')->first();
|
|
|
|
// $n = ReportOverallCompound::where('department',$user->StaffDetail->department_ids[0])->where('modul','02')->where('status','Belum Bayar')->first();
|
|
|
|
$n = ReportOverallCompound::where('department',$user->StaffDetail->department_ids[0])->where('modul','02')->where('status','Belum Bayar')->first();
|
|
|
|
$b = ReportOverallCompound::where('department',$user->StaffDetail->department_ids[0])->where('modul','03')->where('status','Belum Bayar')->first();
|
|
|
|
$pk = ReportOverallCompound::where('department',$user->StaffDetail->department_ids[0])->where('modul','04')->where('status','Belum Bayar')->first();
|
|
|
|
$na = ReportOverallCompound::where('department',$user->StaffDetail->department_ids[0])->where('modul','05')->where('status','Belum Bayar')->first();
|
|
|
@@ -101,7 +101,7 @@ class CompoundController extends Controller |
|
|
|
}
|
|
|
|
|
|
|
|
$semua = $overall->total;
|
|
|
|
// $pre_notice = $n->total;
|
|
|
|
$pre_notice = $n->total;
|
|
|
|
$baru = $b->total;
|
|
|
|
$invest = $pk->total;
|
|
|
|
$notice = $na->total;
|
|
|
@@ -115,7 +115,7 @@ class CompoundController extends Controller |
|
|
|
$now = Carbon::now()->format('Y-m-d');
|
|
|
|
$modul = '03';
|
|
|
|
|
|
|
|
return view('main-dashboard.compound.new_index', compact('user','site','staff','deedlaw','now','modul','semua','baru','invest','notice','inven','collap','comp'));
|
|
|
|
return view('main-dashboard.compound.prenotice_index', compact('user','site','staff','deedlaw','now','modul','semua','pre_notice','baru','invest','notice','inven','collap','comp'));
|
|
|
|
}
|
|
|
|
|
|
|
|
public function new_index(){
|
|
|
@@ -124,7 +124,7 @@ class CompoundController extends Controller |
|
|
|
|
|
|
|
if(count($user->StaffDetail->department_ids) > 1){
|
|
|
|
$overall = ReportOverallCompound::where('department','all')->where('modul','all')->where('status','all')->first();
|
|
|
|
// $n = ReportOverallCompound::where('department','all')->where('modul','02')->where('status','Belum Bayar')->first();
|
|
|
|
$n = ReportOverallCompound::where('department','all')->where('modul','02')->where('status','Belum Bayar')->first();
|
|
|
|
$b = ReportOverallCompound::where('department','all')->where('modul','03')->where('status','Belum Bayar')->first();
|
|
|
|
$pk = ReportOverallCompound::where('department','all')->where('modul','04')->where('status','Belum Bayar')->first();
|
|
|
|
$na = ReportOverallCompound::where('department','all')->where('modul','05')->where('status','Belum Bayar')->first();
|
|
|
@@ -132,7 +132,7 @@ class CompoundController extends Controller |
|
|
|
$by = ReportOverallCompound::where('department','all')->where('status','Berbayar')->first();
|
|
|
|
}else {
|
|
|
|
$overall = ReportOverallCompound::where('department',$user->StaffDetail->department_ids[0])->where('modul','all')->where('status','all')->first();
|
|
|
|
// $n = ReportOverallCompound::where('department',$user->StaffDetail->department_ids[0])->where('modul','02')->where('status','Belum Bayar')->first();
|
|
|
|
$n = ReportOverallCompound::where('department',$user->StaffDetail->department_ids[0])->where('modul','02')->where('status','Belum Bayar')->first();
|
|
|
|
$b = ReportOverallCompound::where('department',$user->StaffDetail->department_ids[0])->where('modul','03')->where('status','Belum Bayar')->first();
|
|
|
|
$pk = ReportOverallCompound::where('department',$user->StaffDetail->department_ids[0])->where('modul','04')->where('status','Belum Bayar')->first();
|
|
|
|
$na = ReportOverallCompound::where('department',$user->StaffDetail->department_ids[0])->where('modul','05')->where('status','Belum Bayar')->first();
|
|
|
@@ -141,7 +141,7 @@ class CompoundController extends Controller |
|
|
|
}
|
|
|
|
|
|
|
|
$semua = $overall->total;
|
|
|
|
// $pre_notice = $n->total;
|
|
|
|
$pre_notice = $n->total;
|
|
|
|
$baru = $b->total;
|
|
|
|
$invest = $pk->total;
|
|
|
|
$notice = $na->total;
|
|
|
@@ -155,7 +155,7 @@ class CompoundController extends Controller |
|
|
|
$now = Carbon::now()->format('Y-m-d');
|
|
|
|
$modul = '03';
|
|
|
|
|
|
|
|
return view('main-dashboard.compound.new_index', compact('user','site','staff','deedlaw','now','modul','semua','baru','invest','notice','inven','collap','comp'));
|
|
|
|
return view('main-dashboard.compound.new_index', compact('user','site','staff','deedlaw','now','modul','semua','pre_notice','baru','invest','notice','inven','collap','comp'));
|
|
|
|
}
|
|
|
|
|
|
|
|
public function investigation_index(){
|
|
|
@@ -164,7 +164,7 @@ class CompoundController extends Controller |
|
|
|
|
|
|
|
if(count($user->StaffDetail->department_ids) > 1){
|
|
|
|
$overall = ReportOverallCompound::where('department','all')->where('modul','all')->where('status','all')->first();
|
|
|
|
// $n = ReportOverallCompound::where('department','all')->where('modul','02')->where('status','Belum Bayar')->first();
|
|
|
|
$n = ReportOverallCompound::where('department','all')->where('modul','02')->where('status','Belum Bayar')->first();
|
|
|
|
$b = ReportOverallCompound::where('department','all')->where('modul','03')->where('status','Belum Bayar')->first();
|
|
|
|
$pk = ReportOverallCompound::where('department','all')->where('modul','04')->where('status','Belum Bayar')->first();
|
|
|
|
$na = ReportOverallCompound::where('department','all')->where('modul','05')->where('status','Belum Bayar')->first();
|
|
|
@@ -172,7 +172,7 @@ class CompoundController extends Controller |
|
|
|
$by = ReportOverallCompound::where('department','all')->where('status','Berbayar')->first();
|
|
|
|
}else {
|
|
|
|
$overall = ReportOverallCompound::where('department',$user->StaffDetail->department_ids[0])->where('modul','all')->where('status','all')->first();
|
|
|
|
// $n = ReportOverallCompound::where('department',$user->StaffDetail->department_ids[0])->where('modul','02')->where('status','Belum Bayar')->first();
|
|
|
|
$n = ReportOverallCompound::where('department',$user->StaffDetail->department_ids[0])->where('modul','02')->where('status','Belum Bayar')->first();
|
|
|
|
$b = ReportOverallCompound::where('department',$user->StaffDetail->department_ids[0])->where('modul','03')->where('status','Belum Bayar')->first();
|
|
|
|
$pk = ReportOverallCompound::where('department',$user->StaffDetail->department_ids[0])->where('modul','04')->where('status','Belum Bayar')->first();
|
|
|
|
$na = ReportOverallCompound::where('department',$user->StaffDetail->department_ids[0])->where('modul','05')->where('status','Belum Bayar')->first();
|
|
|
@@ -181,7 +181,7 @@ class CompoundController extends Controller |
|
|
|
}
|
|
|
|
|
|
|
|
$semua = $overall->total;
|
|
|
|
// $pre_notice = $n->total;
|
|
|
|
$pre_notice = $n->total;
|
|
|
|
$baru = $b->total;
|
|
|
|
$invest = $pk->total;
|
|
|
|
$notice = $na->total;
|
|
|
@@ -195,7 +195,7 @@ class CompoundController extends Controller |
|
|
|
$now = Carbon::now()->format('Y-m-d');
|
|
|
|
$modul = '04';
|
|
|
|
|
|
|
|
return view('main-dashboard.compound.investigation_index', compact('user','site','staff','deedlaw','now','modul','semua','baru','invest','notice','inven','collap','comp'));
|
|
|
|
return view('main-dashboard.compound.investigation_index', compact('user','site','staff','deedlaw','now','modul','semua','pre_notice','baru','invest','notice','inven','collap','comp'));
|
|
|
|
}
|
|
|
|
|
|
|
|
public function notice_index(){
|
|
|
@@ -204,7 +204,7 @@ class CompoundController extends Controller |
|
|
|
|
|
|
|
if(count($user->StaffDetail->department_ids) > 1){
|
|
|
|
$overall = ReportOverallCompound::where('department','all')->where('modul','all')->where('status','all')->first();
|
|
|
|
// $n = ReportOverallCompound::where('department','all')->where('modul','02')->where('status','Belum Bayar')->first();
|
|
|
|
$n = ReportOverallCompound::where('department','all')->where('modul','02')->where('status','Belum Bayar')->first();
|
|
|
|
$b = ReportOverallCompound::where('department','all')->where('modul','03')->where('status','Belum Bayar')->first();
|
|
|
|
$pk = ReportOverallCompound::where('department','all')->where('modul','04')->where('status','Belum Bayar')->first();
|
|
|
|
$na = ReportOverallCompound::where('department','all')->where('modul','05')->where('status','Belum Bayar')->first();
|
|
|
@@ -212,7 +212,7 @@ class CompoundController extends Controller |
|
|
|
$by = ReportOverallCompound::where('department','all')->where('status','Berbayar')->first();
|
|
|
|
}else {
|
|
|
|
$overall = ReportOverallCompound::where('department',$user->StaffDetail->department_ids[0])->where('modul','all')->where('status','all')->first();
|
|
|
|
// $n = ReportOverallCompound::where('department',$user->StaffDetail->department_ids[0])->where('modul','02')->where('status','Belum Bayar')->first();
|
|
|
|
$n = ReportOverallCompound::where('department',$user->StaffDetail->department_ids[0])->where('modul','02')->where('status','Belum Bayar')->first();
|
|
|
|
$b = ReportOverallCompound::where('department',$user->StaffDetail->department_ids[0])->where('modul','03')->where('status','Belum Bayar')->first();
|
|
|
|
$pk = ReportOverallCompound::where('department',$user->StaffDetail->department_ids[0])->where('modul','04')->where('status','Belum Bayar')->first();
|
|
|
|
$na = ReportOverallCompound::where('department',$user->StaffDetail->department_ids[0])->where('modul','05')->where('status','Belum Bayar')->first();
|
|
|
@@ -221,7 +221,7 @@ class CompoundController extends Controller |
|
|
|
}
|
|
|
|
|
|
|
|
$semua = $overall->total;
|
|
|
|
// $pre_notice = $n->total;
|
|
|
|
$pre_notice = $n->total;
|
|
|
|
$baru = $b->total;
|
|
|
|
$invest = $pk->total;
|
|
|
|
$notice = $na->total;
|
|
|
@@ -235,7 +235,7 @@ class CompoundController extends Controller |
|
|
|
$now = Carbon::now()->format('Y-m-d');
|
|
|
|
$modul = '05';
|
|
|
|
|
|
|
|
return view('main-dashboard.compound.notice_index', compact('user','site','staff','deedlaw','now','modul','semua','baru','invest','notice','inven','collap','comp'));
|
|
|
|
return view('main-dashboard.compound.notice_index', compact('user','site','staff','deedlaw','now','modul','semua','pre_notice','baru','invest','notice','inven','collap','comp'));
|
|
|
|
}
|
|
|
|
|
|
|
|
public function confiscated_index(){
|
|
|
@@ -244,7 +244,7 @@ class CompoundController extends Controller |
|
|
|
|
|
|
|
if(count($user->StaffDetail->department_ids) > 1){
|
|
|
|
$overall = ReportOverallCompound::where('department','all')->where('modul','all')->where('status','all')->first();
|
|
|
|
// $n = ReportOverallCompound::where('department','all')->where('modul','02')->where('status','Belum Bayar')->first();
|
|
|
|
$n = ReportOverallCompound::where('department','all')->where('modul','02')->where('status','Belum Bayar')->first();
|
|
|
|
$b = ReportOverallCompound::where('department','all')->where('modul','03')->where('status','Belum Bayar')->first();
|
|
|
|
$pk = ReportOverallCompound::where('department','all')->where('modul','04')->where('status','Belum Bayar')->first();
|
|
|
|
$na = ReportOverallCompound::where('department','all')->where('modul','05')->where('status','Belum Bayar')->first();
|
|
|
@@ -252,7 +252,7 @@ class CompoundController extends Controller |
|
|
|
$by = ReportOverallCompound::where('department','all')->where('status','Berbayar')->first();
|
|
|
|
}else {
|
|
|
|
$overall = ReportOverallCompound::where('department',$user->StaffDetail->department_ids[0])->where('modul','all')->where('status','all')->first();
|
|
|
|
// $n = ReportOverallCompound::where('department',$user->StaffDetail->department_ids[0])->where('modul','02')->where('status','Belum Bayar')->first();
|
|
|
|
$n = ReportOverallCompound::where('department',$user->StaffDetail->department_ids[0])->where('modul','02')->where('status','Belum Bayar')->first();
|
|
|
|
$b = ReportOverallCompound::where('department',$user->StaffDetail->department_ids[0])->where('modul','03')->where('status','Belum Bayar')->first();
|
|
|
|
$pk = ReportOverallCompound::where('department',$user->StaffDetail->department_ids[0])->where('modul','04')->where('status','Belum Bayar')->first();
|
|
|
|
$na = ReportOverallCompound::where('department',$user->StaffDetail->department_ids[0])->where('modul','05')->where('status','Belum Bayar')->first();
|
|
|
@@ -261,7 +261,7 @@ class CompoundController extends Controller |
|
|
|
}
|
|
|
|
|
|
|
|
$semua = $overall->total;
|
|
|
|
// $pre_notice = $n->total;
|
|
|
|
$pre_notice = $n->total;
|
|
|
|
$baru = $b->total;
|
|
|
|
$invest = $pk->total;
|
|
|
|
$notice = $na->total;
|
|
|
@@ -275,7 +275,7 @@ class CompoundController extends Controller |
|
|
|
$now = Carbon::now()->format('Y-m-d');
|
|
|
|
$modul = '06-07';
|
|
|
|
|
|
|
|
return view('main-dashboard.compound.confiscated_index', compact('user','site','staff','deedlaw','now','modul','semua','baru','invest','notice','inven','collap','comp'));
|
|
|
|
return view('main-dashboard.compound.confiscated_index', compact('user','site','staff','deedlaw','now','modul','semua','pre_notice','baru','invest','notice','inven','collap','comp'));
|
|
|
|
}
|
|
|
|
|
|
|
|
public function collapsed_index(){
|
|
|
@@ -284,7 +284,7 @@ class CompoundController extends Controller |
|
|
|
|
|
|
|
if(count($user->StaffDetail->department_ids) > 1){
|
|
|
|
$overall = ReportOverallCompound::where('department','all')->where('modul','all')->where('status','all')->first();
|
|
|
|
// $n = ReportOverallCompound::where('department','all')->where('modul','02')->where('status','Belum Bayar')->first();
|
|
|
|
$n = ReportOverallCompound::where('department','all')->where('modul','02')->where('status','Belum Bayar')->first();
|
|
|
|
$b = ReportOverallCompound::where('department','all')->where('modul','03')->where('status','Belum Bayar')->first();
|
|
|
|
$pk = ReportOverallCompound::where('department','all')->where('modul','04')->where('status','Belum Bayar')->first();
|
|
|
|
$na = ReportOverallCompound::where('department','all')->where('modul','05')->where('status','Belum Bayar')->first();
|
|
|
@@ -292,7 +292,7 @@ class CompoundController extends Controller |
|
|
|
$by = ReportOverallCompound::where('department','all')->where('status','Berbayar')->first();
|
|
|
|
}else {
|
|
|
|
$overall = ReportOverallCompound::where('department',$user->StaffDetail->department_ids[0])->where('modul','all')->where('status','all')->first();
|
|
|
|
// $n = ReportOverallCompound::where('department',$user->StaffDetail->department_ids[0])->where('modul','02')->where('status','Belum Bayar')->first();
|
|
|
|
$n = ReportOverallCompound::where('department',$user->StaffDetail->department_ids[0])->where('modul','02')->where('status','Belum Bayar')->first();
|
|
|
|
$b = ReportOverallCompound::where('department',$user->StaffDetail->department_ids[0])->where('modul','03')->where('status','Belum Bayar')->first();
|
|
|
|
$pk = ReportOverallCompound::where('department',$user->StaffDetail->department_ids[0])->where('modul','04')->where('status','Belum Bayar')->first();
|
|
|
|
$na = ReportOverallCompound::where('department',$user->StaffDetail->department_ids[0])->where('modul','05')->where('status','Belum Bayar')->first();
|
|
|
@@ -301,7 +301,7 @@ class CompoundController extends Controller |
|
|
|
}
|
|
|
|
|
|
|
|
$semua = $overall->total;
|
|
|
|
// $pre_notice = $n->total;
|
|
|
|
$pre_notice = $n->total;
|
|
|
|
$baru = $b->total;
|
|
|
|
$invest = $pk->total;
|
|
|
|
$notice = $na->total;
|
|
|
@@ -313,7 +313,7 @@ class CompoundController extends Controller |
|
|
|
$staff = StaffDetail::where('roles_access','PenguatKuasa')->whereIn('department_ids',$user->StaffDetail->department_ids)->get();
|
|
|
|
$faulty = Deedlaw::with('Faulty')->whereIn('department_ids',$user->StaffDetail->department_ids)->get();
|
|
|
|
|
|
|
|
return view('main-dashboard.compound.collapsed_index', compact('user','site','staff','faulty','baru','invest','notice','inven','collap','comp'));
|
|
|
|
return view('main-dashboard.compound.collapsed_index', compact('user','site','staff','faulty','pre_notice','baru','invest','notice','inven','collap','comp'));
|
|
|
|
}
|
|
|
|
|
|
|
|
public function completed_index(){
|
|
|
@@ -322,7 +322,7 @@ class CompoundController extends Controller |
|
|
|
|
|
|
|
if(count($user->StaffDetail->department_ids) > 1){
|
|
|
|
$overall = ReportOverallCompound::where('department','all')->where('modul','all')->where('status','all')->first();
|
|
|
|
// $n = ReportOverallCompound::where('department','all')->where('modul','02')->where('status','Belum Bayar')->first();
|
|
|
|
$n = ReportOverallCompound::where('department','all')->where('modul','02')->where('status','Belum Bayar')->first();
|
|
|
|
$b = ReportOverallCompound::where('department','all')->where('modul','03')->where('status','Belum Bayar')->first();
|
|
|
|
$pk = ReportOverallCompound::where('department','all')->where('modul','04')->where('status','Belum Bayar')->first();
|
|
|
|
$na = ReportOverallCompound::where('department','all')->where('modul','05')->where('status','Belum Bayar')->first();
|
|
|
@@ -330,7 +330,7 @@ class CompoundController extends Controller |
|
|
|
$by = ReportOverallCompound::where('department','all')->where('status','Berbayar')->first();
|
|
|
|
}else {
|
|
|
|
$overall = ReportOverallCompound::where('department',$user->StaffDetail->department_ids[0])->where('modul','all')->where('status','all')->first();
|
|
|
|
// $n = ReportOverallCompound::where('department',$user->StaffDetail->department_ids[0])->where('modul','02')->where('status','Belum Bayar')->first();
|
|
|
|
$n = ReportOverallCompound::where('department',$user->StaffDetail->department_ids[0])->where('modul','02')->where('status','Belum Bayar')->first();
|
|
|
|
$b = ReportOverallCompound::where('department',$user->StaffDetail->department_ids[0])->where('modul','03')->where('status','Belum Bayar')->first();
|
|
|
|
$pk = ReportOverallCompound::where('department',$user->StaffDetail->department_ids[0])->where('modul','04')->where('status','Belum Bayar')->first();
|
|
|
|
$na = ReportOverallCompound::where('department',$user->StaffDetail->department_ids[0])->where('modul','05')->where('status','Belum Bayar')->first();
|
|
|
@@ -339,7 +339,7 @@ class CompoundController extends Controller |
|
|
|
}
|
|
|
|
|
|
|
|
$semua = $overall->total;
|
|
|
|
// $pre_notice = $n->total;
|
|
|
|
$pre_notice = $n->total;
|
|
|
|
$baru = $b->total;
|
|
|
|
$invest = $pk->total;
|
|
|
|
$notice = $na->total;
|
|
|
@@ -353,7 +353,7 @@ class CompoundController extends Controller |
|
|
|
$now = Carbon::now()->format('Y-m-d');
|
|
|
|
$modul = 'All';
|
|
|
|
|
|
|
|
return view('main-dashboard.compound.completed_index', compact('user','site','staff','deedlaw','now','modul','semua','baru','invest','notice','inven','collap','comp'));
|
|
|
|
return view('main-dashboard.compound.completed_index', compact('user','site','staff','deedlaw','now','modul','semua', 'pre_notice','baru','invest','notice','inven','collap','comp'));
|
|
|
|
}
|
|
|
|
|
|
|
|
|