Fix payments for clients w/o an email address
This commit is contained in:
parent
1039aec1d0
commit
7a0ca450a8
1 changed files with 9 additions and 7 deletions
|
|
@ -149,14 +149,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>
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue