dashboard: merchant revenue rank links include 7d created_at range
This commit is contained in:
@@ -149,7 +149,11 @@
|
||||
$mid = (int) ($row['merchant_id'] ?? 0);
|
||||
$mname = (string) (($merchantIdToName[$mid] ?? '') ?: ('#' . $mid));
|
||||
$merchantOrdersUrl = \App\Support\BackUrl::withBack(
|
||||
'/admin/platform-orders?' . \Illuminate\Support\Arr::query(['merchant_id' => $mid]),
|
||||
'/admin/platform-orders?' . \Illuminate\Support\Arr::query([
|
||||
'merchant_id' => $mid,
|
||||
'created_from' => now()->subDays(6)->format('Y-m-d'),
|
||||
'created_to' => now()->format('Y-m-d'),
|
||||
]),
|
||||
$selfWithoutBack
|
||||
);
|
||||
@endphp
|
||||
|
||||
Reference in New Issue
Block a user