mirror of
https://gitlab.com/CIEFWorldwideSdnBhd/exchange-2.0.git
synced 2026-08-22 05:53:58 +00:00
manual payments list
This commit is contained in:
@@ -361,3 +361,17 @@ Route::get('/wallets/active', function(){
|
||||
echo '</table>';
|
||||
});
|
||||
|
||||
Route::get('/payments/manual', function(){
|
||||
$payments = Transaction::where('type', TransactionType::PAYMENT)->where('owner_type', Booking::class)->get();
|
||||
|
||||
echo '<table>';
|
||||
foreach ($payments as $payment){
|
||||
echo '<tr>';
|
||||
echo '<td>'.$payment->documents()->first()->created_at.'</td>';
|
||||
echo '<td><a href="'.route('booking.details', $payment->owner->marking).'" target="_blank">'.$payment->owner->marking.'</a></td>';
|
||||
echo '<td>'.$payment->amount.'</td>';
|
||||
echo '</tr>';
|
||||
}
|
||||
echo '</table>';
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user