@extends('accounting::layouts.app') @section('title') {{ trans_choice('accounting::lang.add', 1) }} {{ trans_choice('accounting::general.journal', 1) }} {{ trans_choice('accounting::lang.entry', 1) }} @endsection @section('content') @include('accounting::layouts.nav') @component('accounting::components.section_header') @slot('title') {{ trans_choice('accounting::general.accounting', 1) }} @endslot @slot('subtitle') {{ trans_choice('accounting::lang.add', 1) }} {{ trans_choice('accounting::general.journal', 1) }} {{ trans_choice('accounting::lang.entry', 1) }} @endslot @endcomponent
@can('product.view')
@component('accounting::components.box') @slot('body')
{{ csrf_field() }}
@error('location_id') {{ $message }} @enderror
@error('currency_id') {{ $message }} @enderror
@error('date') {{ $message }} @enderror
@error('payment_type_id') {{ $message }} @enderror
{{-- Dynamic table start --}}
{{ trans('accounting::lang.debit') }} {{ trans('accounting::lang.credit') }} {{ trans('accounting::lang.amount') }} {{ trans('accounting::lang.description') }} {{ trans_choice('accounting::lang.action', 1) }}
@error('debit') {{ $message }} @enderror
@error('credit') {{ $message }} @enderror
@error('amount') {{ $message }} @enderror
@error('notes') {{ $message }} @enderror
{{ trans('sale.total') }} @{{ number_format(amount_total) }}
{{-- Dynamic table end --}}
@endslot @endcomponent
@endcan
@stop @section('javascript') @endsection