@use('App\Services\Date') @extends('companyuser::layouts.master') @section('title', __('purchases::supplier_receipts.edit_supplier_receipt')) @section('extra-styles') @endsection @section('breadcrumb') @endsection @section('content')
@method('PUT') @csrf
@if( !isset($currentFiscalYearId))
@lang('superadmin::Dashboard.Please set your ')  @lang('settings::general_settings.accounting settings')   @lang('superadmin::Dashboard.to start adding accounting transactions')
@endif
{{-- @include('companyuser::errors.all') --}} @include('companyuser::errors.lists') @error('remaining') @enderror
{{--@if($remaining)--}}
@error('code') @enderror
(@lang('optional'))
@error('supplier_invoice_reference_number') @enderror
( @lang('optional') )
@error('description')

{{ $message }}

@enderror
{{-- --}}
@error('supplier') @enderror
current_fiscal_year_id @error('payment_date') @enderror @error('current_fiscal_year_id') @enderror
@error('cost_center_id')

{{ $message }}

@enderror
@error('payment_account') @enderror
@error('payment_amount') @enderror
@error('kind') @enderror

@lang('purchases::supplier_receipts.Supplier Details'):

@lang('purchases::supplier_receipts.Phone'):
@lang('purchases::supplier_receipts.Email'):
@lang('purchases::supplier_receipts.Outstanding Balance'):
@if( $customFields->count() )
@foreach($customFields as $key=>$field)
@if($field['type']=='checkbox') @else @endif
@endforeach
@endif
@error('terms') @enderror
@error('notes') @enderror
@include('purchases::warning-modal') @endsection @section('extra_scripts') @endsection