42 lines
1.5 KiB
PHP
Raw Normal View History

2022-06-01 10:15:55 +03:00
<x-layouts.admin>
<x-slot name="title">
{{ trans('general.title.new', ['type' => trans_choice('general.companies', 1)]) }}
</x-slot>
2017-09-14 22:21:00 +03:00
2022-06-01 10:15:55 +03:00
<x-slot name="content">
<x-form.container>
<x-form id="company" route="companies.store">
<x-form.section>
<x-slot name="head">
<x-form.section.head title="{{ trans('general.general') }}" description="{{ trans('companies.form_description.general') }}" />
</x-slot>
2017-09-14 22:21:00 +03:00
2022-06-01 10:15:55 +03:00
<x-slot name="body">
<x-form.group.text name="name" label="{{ trans('general.name') }}" />
2017-09-14 22:21:00 +03:00
<x-form.group.email name="email" label="{{ trans('general.email') }}" />
2022-06-01 10:15:55 +03:00
<x-form.group.currency name="currency" />
2022-06-01 10:15:55 +03:00
<x-form.group.country />
</x-slot>
</x-form.section>
2017-09-14 22:21:00 +03:00
2022-06-01 10:15:55 +03:00
<x-form.section>
<x-slot name="foot">
<x-form.buttons cancel-route="companies.index" />
</x-slot>
</x-form.section>
</x-form>
</x-form.container>
</x-slot>
2017-09-14 22:21:00 +03:00
2022-07-01 00:04:04 +03:00
@push('scripts_end')
<script type="text/javascript">
var country_validation_required_message = "{{ trans('validation.required', ['attribute' => trans_choice('general.countries', 1)]) }}";
</script>
@endpush
2022-06-01 10:15:55 +03:00
<x-script folder="common" file="companies" />
</x-layouts.admin>