wip
This commit is contained in:
1 parent
1630f29c5a
commit
a70230b7c1
2 files changed
+2
-2
No files matched your search
@@ -69,7 +69,7 @@ public function store(Request $request)
|
||||
'pnr' => $paymentHistory->orderNumber,
|
||||
'branch_name' => $resource->branch->name,
|
||||
'price_amount' => $paymentHistory->amount,
|
||||
'return_url' => $resource->panelUrl(),
|
||||
'return_url' => $resource->panelUrl('index'),
|
||||
]);
|
||||
}
|
||||
}
|
||||
@@ -127,7 +127,7 @@ public function priceAmount(): float
|
||||
public function panelUrl(string $type = 'index'): string
|
||||
{
|
||||
return match ($type) {
|
||||
'index' => sprintf('resources/card-orders'),
|
||||
'index' => sprintf('/panel/resources/card-orders'),
|
||||
};
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user