1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-16 08:02:40 +01:00
invoiceninja/resources/views/partials/custom_fields.blade.php
2018-04-04 22:08:37 +03:00

15 lines
480 B
PHP

@if (Auth::user()->hasFeature(FEATURE_INVOICE_SETTINGS))
@if ($customLabel = $account->customLabel($entityType . '1'))
@include('partials.custom_field', [
'field' => 'custom_value1',
'label' => $customLabel
])
@endif
@if ($customLabel = $account->customLabel($entityType . '2'))
@include('partials.custom_field', [
'field' => 'custom_value2',
'label' => $customLabel
])
@endif
@endif