invoiceninja/resources/views/partials/custom_fields.blade.php

15 lines
480 B
PHP
Raw Permalink Normal View History

2018-04-04 22:08:37 +03:00
@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