mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-12 14:12:44 +01:00
Show VAT for ninja account clients
This commit is contained in:
parent
fc2a264bfb
commit
b6527eef1b
@ -998,7 +998,7 @@ class ClientPortalController extends BaseController
|
||||
$rules['first_name'] = 'required';
|
||||
$rules['last_name'] = 'required';
|
||||
}
|
||||
if ($account->vat_number) {
|
||||
if ($account->vat_number || $account->isNinjaAccount()) {
|
||||
$rules['vat_number'] = 'required';
|
||||
}
|
||||
|
||||
|
@ -69,7 +69,7 @@
|
||||
->placeholder(trans('texts.email'))
|
||||
->label('') !!}
|
||||
</div>
|
||||
@if ($account->vat_number)
|
||||
@if ($account->vat_number || $account->isNinjaAccount())
|
||||
<div class="col-md-6">
|
||||
{!! Former::text('vat_number')
|
||||
->placeholder(trans('texts.vat_number'))
|
||||
|
Loading…
Reference in New Issue
Block a user