@section('style') @endsection
@csrf @method('put')

@lang('warehouses/branches/create.edit_warehouses')

status ? 'checked' : '' }}>
is_temp ? 'checked' : '' }}>
purchases_under_tax ? 'checked' : '' }}>
sales_under_tax ? 'checked' : '' }}>
@foreach ($branch_connection_codes as $branch_connection_code) @php $leafAccounts = $branch_connection_code->account->getLeafSubAccounts(); @endphp @endforeach
@lang('warehouses/branches/create.section_name') @lang('warehouses/branches/create.account')
{{ $branch_connection_code->label }}
@forelse ($taxes as $tax) @empty @endforelse
@lang('warehouses/branches/create.tax') @lang('warehouses/branches/create.purchases') @lang('warehouses/branches/create.purchase_returns') @lang('warehouses/branches/create.sales') @lang('warehouses/branches/create.sales_returns')
{{ $tax->value }} @php $selected_account = $branch->taxes_connections->filter(fn($item) => $item->tax_id == $tax->id)->first(); @endphp @php $selected_account = $branch->taxes_connections->filter(fn($item) => $item->tax_id == $tax->id)->first(); @endphp @php $selected_account = $branch->taxes_connections->filter(fn($item) => $item->tax_id == $tax->id)->first(); @endphp @php $selected_account = $branch->taxes_connections->filter(fn($item) => $item->tax_id == $tax->id)->first(); @endphp
@lang('warehouses/branches/create.no_taxes_yet')
@foreach ($items as $item) @endforeach
@lang('warehouses/branches/create.item_name_arabic') @lang('warehouses/branches/create.item_name_english') @lang('warehouses/branches/create.family') @lang('warehouses/branches/create.general_classification')
contains($item->id) ? 'checked' : '' }}> {{ $item->ar_name }} {{ $item->en_name }} {{ $item->category->name }} {{ $item->general_classification->ar_name ?? '--' }}
{{-- Add branch type modal --}}