Show pay now based on invoice balance
This commit is contained in:
parent
a014bf313c
commit
c4d20b252f
1 changed files with 2 additions and 2 deletions
|
|
@ -26,7 +26,7 @@
|
|||
@if (!$isConverted)
|
||||
{{ Button::success_link(URL::to('approve/' . $invitation->invitation_key), trans('texts.approve'), array('class' => 'btn-lg')) }}
|
||||
@endif
|
||||
@elseif ($invoice->client->account->isGatewayConfigured() && !$invoice->isPaid() && !$invoice->is_recurring)
|
||||
@elseif ($invoice->client->account->isGatewayConfigured() && $invoice->balance > 0 && !$invoice->is_recurring)
|
||||
{{ Button::normal(trans('texts.download_pdf'), array('onclick' => 'onDownloadClick()', 'class' => 'btn-lg')) }}
|
||||
@if ($hasToken)
|
||||
{{ DropdownButton::success_lg(trans('texts.pay_now'), [
|
||||
|
|
@ -81,4 +81,4 @@
|
|||
|
||||
</div>
|
||||
|
||||
@stop
|
||||
@stop
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue