@extends('accounting::layouts.app') @section('title') {{ trans_choice('accounting::lang.add', 1) }} {{ trans_choice('accounting::lang.account', 1) }} @endsection @section('css') @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::lang.account', 1) }} @endslot @endcomponent @can('product.view') @component('accounting::components.box') @slot('body') {{ csrf_field() }} {{ trans_choice('accounting::lang.account', 1) }} {{ trans_choice('accounting::lang.type', 1) }} @{{ account_type.name }} @error('account_type') {{ $message }} @enderror {{ trans_choice('accounting::general.account_subtype', 1) }} @error('account_subtype_id') {{ $message }} @enderror {{ trans_choice('accounting::general.account', 1) }} {{ trans_choice('accounting::general.detail_type', 1) }} @{{ account_detail_type.description }} @error('detail_type_id') {{ $message }} @enderror {{ trans_choice('accounting::lang.parent', 1) }} @{{ account.name }} @error('parent_id') {{ $message }} @enderror {{ trans_choice('accounting::lang.name', 1) }} @error('name') {{ $message }} @enderror {{ trans_choice('accounting::general.gl_code', 1) }} @error('gl_code') {{ $message }} @enderror {{ trans_choice('accounting::general.manual_entries_allowed', 1) }} {{ trans_choice('accounting::lang.no', 1) }} {{ trans_choice('accounting::lang.yes', 1) }} @error('allow_manual') {{ $message }} @enderror {{ trans_choice('accounting::lang.currency', 1) }} @error('currency_id') {{ $message }} @enderror {{ trans_choice('accounting::lang.active', 1) }} {{ trans_choice('accounting::lang.no', 1) }} {{ trans_choice('accounting::lang.yes', 1) }} @error('active') {{ $message }} @enderror {{ trans_choice('accounting::lang.note', 2) }} @error('notes') {{ $message }} @enderror {{ trans('accounting::general.has_opening_balance') }} {{ trans_choice('account.opening_balance', 1) }} @error('name') {{ $message }} @enderror {{ trans_choice('accounting::lang.payment', 1) }} {{ trans_choice('accounting::lang.type', 1) }} @foreach ($payment_types as $payment_type) {{ $payment_type->name }} @endforeach @error('payment_type_id') {{ $message }} @enderror {{-- {{ trans_choice('accounting::lang.transaction', 1) }} @error('receipt') {{ $message }} @enderror --}} @endslot @endcomponent @endcan @stop @section('javascript') @endsection