new update

This commit is contained in:
Amirah22
2022-06-13 16:42:56 +08:00
parent 725ad5fab4
commit 02634405f4
10 changed files with 371 additions and 8 deletions
+7
View File
@@ -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();