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:
parent
44d46a01ab
commit
956c672711
@ -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> <br/> </p>
|
||||
|
||||
@if ($showAddress)
|
||||
|
Loading…
Reference in New Issue
Block a user