new update
This commit is contained in:
@@ -55,9 +55,15 @@ class NotisController extends Controller
|
||||
|
||||
public function senarainotis($lelong_id){
|
||||
|
||||
$user = Auth::user();
|
||||
|
||||
$caw = Cawangan::where('caw_code','=',$user->kodcaw)
|
||||
->first();
|
||||
|
||||
$lelong_id = $lelong_id;
|
||||
|
||||
$senarai = LelongBid::join('gadai','lelongbid.norujukan','=','gadai.norujukan')
|
||||
->where('gadai.kodcaw','=',$user->kodcaw)
|
||||
->where('lelongbid.lelong_id', $lelong_id)
|
||||
->get()->toArray();
|
||||
|
||||
@@ -121,6 +127,7 @@ class NotisController extends Controller
|
||||
|
||||
$payment = LelongBid::join('gadai','lelongbid.norujukan','=','gadai.norujukan')
|
||||
->join('customer','gadai.nokp','=','customer.kpbaru')
|
||||
->where('gadai.kodcaw','=',$user->kodcaw)
|
||||
->where('lelongbid.lelong_id', $lelong_id)
|
||||
->get()->toArray();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user