1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-10 13:12:50 +01:00

Fix payments for clients w/o an email address

This commit is contained in:
Hillel Coren 2016-06-08 08:44:12 +03:00
parent 44d46a01ab
commit 956c672711

View File

@ -179,15 +179,16 @@
->label('') !!}
</div>
</div>
<div class="row" style="display:{{ isset($paymentTitle) ? 'block' : 'none' }}">
<div class="col-md-12">
{!! Former::text('email')
->placeholder(trans('texts.email'))
->autocomplete('email')
->label('') !!}
@if (isset($paymentTitle) || ! empty($contact->email))
<div class="row" style="display:{{ isset($paymentTitle) ? 'block' : 'none' }}">
<div class="col-md-12">
{!! Former::text('email')
->placeholder(trans('texts.email'))
->autocomplete('email')
->label('') !!}
</div>
</div>
</div>
@endif
<p>&nbsp;<br/>&nbsp;</p>
@if ($showAddress)