@if($invoiceCheck && $canUpdateInvoice)
Update Invoice
@else
@canCollectPayment($invoice)
@if(sizeOf($invoice_payment) == 0)
pay
@else
@lang("labels.approve")
@endif
@else
@can('approve_transactions')
@endcan
@can('reject_transactions')
@endcan
@endCanCollectPayment
@endif