@extends('layouts.app_zatca') @section('title', __('business.business_locations')) @section('content')

{{$location->name}}

{!! Form::open(['url' => route('location.zatca_settings_update', [$location->id]), 'method' => 'post']) !!}
{!! Form::text('tax_number_1', @$location->business->tax_number_1, ['class' => 'form-control']); !!} {!! Form::label('tax_number_1', __('messages.zatca_settings.tax_number') . ':') !!}
{!! Form::text('tax_crn', @$location->crn, ['class' => 'form-control']); !!} {!! Form::label('tax_crn', __('messages.zatca_settings.tax_crn') . ':') !!}
{!! Form::text('tax_street_name', @$location->street_name, ['class' => 'form-control']); !!} {!! Form::label('tax_street_name', __('messages.zatca_settings.tax_street_name') . ':') !!}
{!! Form::text('tax_building_number', @$location->building_number, ['class' => 'form-control']); !!} {!! Form::label('tax_building_number', __('messages.zatca_settings.tax_building_number') . ':') !!}
{!! Form::text('tax_plot_identification', @$location->plot_identification, ['class' => 'form-control']); !!} {!! Form::label('tax_plot_identification', __('messages.zatca_settings.tax_plot_identification') . ':') !!}
{!! Form::text('tax_region', @$location->state, ['class' => 'form-control']); !!} {!! Form::label('tax_region', __('messages.zatca_settings.tax_region') . ':') !!}
{!! Form::text('tax_city', @$location->city, ['class' => 'form-control']); !!} {!! Form::label('tax_city', __('messages.zatca_settings.tax_city') . ':') !!}
{!! Form::text('tax_postal_number', @$location->zip_code, ['class' => 'form-control']); !!} {!! Form::label('tax_postal_number', __('messages.zatca_settings.tax_postal_number') . ':') !!}
{!! Form::text('tax_business_category', @$location->business_category, ['class' => 'form-control']); !!} {!! Form::label('tax_business_category', __('messages.zatca_settings.tax_business_category') . ':') !!}
{!! Form::text('tax_organization_unit_name', @$location->organization_unit_name, ['class' => 'form-control']); !!} {!! Form::label('tax_organization_unit_name', __('messages.zatca_settings.tax_organization_unit_name') . ':') !!}
{!! Form::text('tax_registered_address', @$location->registered_address, ['class' => 'form-control']); !!} {!! Form::label('tax_registered_address', __('messages.zatca_settings.tax_registered_address') . ':') !!}
{!! Form::text('tax_otp', @$location->otp, ['class' => 'form-control']); !!} {!! Form::label('tax_otp', __('messages.zatca_settings.tax_otp') . ':') !!}
{!! Form::text('tax_email_address', @$location->email, ['class' => 'form-control']); !!} {!! Form::label('tax_email_address', __('messages.zatca_settings.tax_email_address') . ':') !!}
@php $invoice_types = [ '0100' => __('messages.zatca_settings.tax_invoice_types.0100'), '1000' => __('messages.zatca_settings.tax_invoice_types.1000'), '1100' => __('messages.zatca_settings.tax_invoice_types.1100'), ]; $stages = [ 'developer-portal' => __('messages.zatca_settings.stage_types.developer-portal'), 'simulation' => __('messages.zatca_settings.stage_types.simulation'), 'core' => __('messages.zatca_settings.stage_types.core'), ]; @endphp
{!! Form::select('tax_invoice_type', $invoice_types, @$location->invoice_type, ['class' => 'form-control select2','style' => 'width:100%','placeholder' => __('messages.zatca_settings.tax_invoice_type')]); !!} {!! Form::label('tax_invoice_type', __('messages.zatca_settings.tax_invoice_type') . ':') !!}
{!! Form::select('tax_stage', $stages , @$location->stage, ['class' => 'form-control select2','style' => 'width:100%','placeholder' => __('messages.zatca_settings.tax_stage')]); !!} {!! Form::label('tax_stage', __('messages.zatca_settings.tax_stage') . ':') !!}
{!! Form::close() !!}
@endsection @section('javascript') @stop