wip
This commit is contained in:
@@ -69,7 +69,7 @@ class OnlinePaymentController extends Controller
|
||||
'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 @@ class CardOrder extends Model
|
||||
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