jana notis, notis pdf, excel

This commit is contained in:
Amirah22
2022-03-02 15:08:40 +08:00
parent ac6f1d8ca4
commit cd55888d05
10 changed files with 12410 additions and 112 deletions
+8 -5
View File
@@ -56,9 +56,9 @@ class SerahanController extends Controller
return view('serahan.laporanserahan',compact('lelongbid','lelongid'));
}
public function pembayaran($id){
public function pembayaran($lelong_id){
$lelong_id = $id;
$lelong_id = $lelong_id;
$payment = LelongBidder::join('lelongbid', 'lelongbidder.lelongbid_id', '=', 'lelongbid.id')
->where('lelongbidder.status_bidder', 1)
@@ -129,7 +129,8 @@ class SerahanController extends Controller
public function resitpembayaran($user_id, $lelong_id)
{
$user = Auth::user();
$caw = Cawangan::where('caw_code','=',$user->kodcaw)->first()->toArray();
@@ -141,8 +142,10 @@ class SerahanController extends Controller
->first();
$invois = Payment::join('resit','payment.resit_id','=','resit.id')
->where('payment.id',$lelong_id)
->first();
->where('resit.id',$lelong_id)
->first();
// dd($invois);
$SAGWin = LelongBidder::join('lelongbid', 'lelongbidder.lelongbid_id', '=', 'lelongbid.id')
->where('user_id',$user_id)