Fix for tests

This commit is contained in:
Hillel Coren 2018-02-17 22:46:48 +02:00
parent d3454d1fea
commit fca6fba8d3

View File

@ -162,7 +162,7 @@
} }
$(function() { $(function() {
@if ($totalCredit) @if (! empty($totalCredit))
$('#payment_type_id option:contains("{{ trans('texts.apply_credit') }}")').text("{{ trans('texts.apply_credit') }} | {{ $totalCredit}}"); $('#payment_type_id option:contains("{{ trans('texts.apply_credit') }}")').text("{{ trans('texts.apply_credit') }} | {{ $totalCredit}}");
@endif @endif