1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-13 22:54:25 +01:00

Show labels of custom fields in registration form

This commit is contained in:
David Bomba 2022-09-28 10:54:07 +10:00
parent 56fe8c08da
commit 9542bcc92e

View File

@ -27,7 +27,11 @@
<label
for="{{ $field['key'] }}"
class="input-label">
@if(in_array($field['key'], ['custom_value1','custom_value2','custom_value3','custom_value4']))
{{ (new App\Utils\Helpers())->makeCustomField($register_company->custom_fields, str_replace("custom_value","client", $field['key']))}}
@else
{{ ctrans("texts.{$field['key']}") }}
@endif
</label>
@if($field['required'])