mirror of
https://gitlab.com/CIEFWorldwideSdnBhd/exchange-2.0.git
synced 2026-08-31 18:34:10 +00:00
Merge branch 'vapor/production' of https://gitlab.com/CIEFWorldwideSdnBhd/exchange-2.0 into vapor/development
This commit is contained in:
@@ -13,7 +13,7 @@ class UnfinishedPaymentOrders extends Controller
|
||||
public function execute(Request $request)
|
||||
{
|
||||
$page = (int) $request->input('page', 1);
|
||||
$perPage = 5000;
|
||||
$perPage = 2500;
|
||||
$offset = ($page - 1) * $perPage;
|
||||
$cutOffDate = $request->cut_off_date ? Carbon::parse($request->cut_off_date) : null;
|
||||
|
||||
@@ -126,9 +126,9 @@ function runNextBatch() {
|
||||
const row = document.createElement('tr');
|
||||
row.innerHTML = `
|
||||
<td><a href="\${bookingUrlTemplate.replace('__ORDER_REF__', item.order_ref)}" target="_blank">\${item.order_ref}</a></td>
|
||||
<td>RM \${item.booking_amount}</td>
|
||||
<td>RM \${item.paid_amount}</td>
|
||||
<td>RM \${item.outstanding_amount}</td>
|
||||
<td>\${item.booking_amount}</td>
|
||||
<td>\${item.paid_amount}</td>
|
||||
<td>\${item.outstanding_amount}</td>
|
||||
<td><a href="\${customerUrlTemplate.replace('__ORDER_REF__', item.customer)}" target="_blank">\${item.customer ?? '-'}</a></td>
|
||||
<td>\${item.created_at}</td>
|
||||
`;
|
||||
|
||||
Reference in New Issue
Block a user