{!! html()->form('PUT', route('currency.update', base64_encode($currency->id)))->id('currencyForm')->open() !!}
{!! html()->label('Currency Name *', 'currency_name')->toHtml() !!} {!! html()->text('currency_name')->class('form-control')->value($currency->currency_name)->placeholder('Enter Currency Name') !!}
{!! html()->label('Dropdown Name *', 'currency_dropdown_name')->toHtml() !!} {!! html()->text('currency_dropdown_name')->class('form-control')->value($currency->currency_dropdown_name)->placeholder('Enter Dropdown Name') !!}
{!! html()->label('Is Default ', 'is_default')->toHtml() !!} {!! html()->select('is_default')->class('form-control')->options([1 => 'Yes', 0 => 'No'])->value($currency->is_default) !!}
{!! html()->label('Created By')->toHtml() !!} {!! html()->text('created_by')->class('form-control')->value($currency->creator->full_name ?? '-')->attribute('readonly', true) !!}
{!! html()->label('Created At')->toHtml() !!} {!! html()->text('created_at')->class('form-control')->value($currency->created_at->format(config('constants.date_format')))->attribute('readonly', true) !!}
{!! html()->label('Last Modified By')->toHtml() !!} {!! html()->text('modified_by')->class('form-control')->value($currency->modifier->full_name ?? '-')->attribute('readonly', true) !!}
{!! html()->label('Last Modified At')->toHtml() !!} {!! html()->text('updated_at')->class('form-control')->value($currency->updated_at->format(config('constants.date_format')))->attribute('readonly', true) !!}
{!! html()->form()->close() !!}