@extends('layouts.default') @section('title', trans('general.title.edit', ['type' => trans_choice('general.chartsofaccount', 1)])) @section('new_button') view_list{{ trans_choice('general.chartsofaccount', 1) . ' List'}} add {{ trans_choice('general.chartsofaccount', 1)}} @endsection @section('content')
{!! Form::model($chartofaccounts, [ 'method' => 'PATCH', 'files' => true, 'url' => ['accounting/chartofaccounts', $chartofaccounts->id], 'role' => 'form' ]) !!}
{{ Form::selectGroup('account_type_id', trans_choice('general.types', 1), $types, config('general.types'),['data-live-search'=>'true']) }}
{{-- {{ Form::selectGroup('detail_type', trans_choice('general.detailtype', 1), 'bars',$detailtype, config('general.detailtype'),['data-live-search'=>'true']) }} --}}
{{ Form::textGroup('name', trans('general.name'), null) }}
Account Type
{{ Form::hidden('currency_code', setting('general.default_currency') , ['id' => 'currency_code']) }}
{{ Form::textareaGroup('description', trans('general.description')) }}
{{ Form::radioGroup('enabled', trans('general.status')) }}
{!! Form::close() !!}
@endsection @push('scripts') @endpush