1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-15 23:52:33 +01:00
invoiceninja/resources/views/partials/custom_fields.blade.php

15 lines
480 B
PHP
Raw Normal View History

2018-04-04 21:08:37 +02: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