{!! Form::hidden('company_id') ->id('company_id') ->value(user('admin.web')->current_comp) !!} {!! Form::text('code') ->required() -> label(trans('category::depreciation_group.label.code')) -> placeholder(trans('category::depreciation_group.placeholder.code')) -> addGroupClass('form-group-sm')!!} {!! Form::text('name') ->required() -> label(trans('category::depreciation_group.label.name')) -> placeholder(trans('category::depreciation_group.placeholder.name')) -> addGroupClass('form-group-sm')!!} {!! Form::select('status') -> options(trans('category::depreciation_group.options.status')) -> label(trans('category::depreciation_group.label.status')) -> placeholder(trans('category::depreciation_group.placeholder.status')) -> addGroupClass('form-group-sm')!!}
{!! Form::text('debit_account') -> label(trans('category::depreciation_group.label.debit_account')) -> placeholder(trans('category::depreciation_group.placeholder.debit_account')) -> addGroupClass('form-group-sm')!!} {!! Form::text('credit_account') -> label(trans('category::depreciation_group.label.credit_account')) -> placeholder(trans('category::depreciation_group.placeholder.credit_account')) -> addGroupClass('form-group-sm')!!} {!! Form::number('depreciation') -> label(trans('category::depreciation_group.label.depreciation')) -> placeholder(trans('category::depreciation_group.placeholder.depreciation')) ->min(0) ->max(100) -> addGroupClass('form-group-sm')!!}
{!! Form::select('depreciation_type') -> options(trans('category::depreciation_group.options.depreciation_type'),@$depreciation->depreciation_type?:'Written down') -> label(trans('category::depreciation_group.label.depreciation_type')) -> placeholder(trans('category::depreciation_group.placeholder.depreciation_type')) -> addGroupClass('form-group-sm')!!} {!! Form::textarea ('description') -> label(trans('category::depreciation_group.label.description')) -> placeholder(trans('category::depreciation_group.placeholder.description')) -> addGroupClass('form-group-sm') -> rows('3')!!}
{{--
--}}