Commit 31fedf40 authored by SadeghPM's avatar SadeghPM

Bug fix

parent 3e755adf
......@@ -4,7 +4,7 @@
<div class="row mb-5">
@foreach(config('mehr4-payment.gateways') as $gateway)
<div class="col col-md-3">
<a href="{{$invoice->payByBankUrl($gateway::getName())}}" class="{{$gateway::getType()}}-payment" id="{{$gateway::getName()}}-bank">
<a href="{{!empty($invoice)?$invoice->payByBankUrl($gateway::getName()):'#'}}" class="{{$gateway::getType()}}-payment" id="{{$gateway::getName()}}-bank">
<img src="{{$gateway::getLogo()}}" width="82">
</a>
</div>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment