@extends('layouts.app') @section('title', __('accounting::lang.depreciation')) @section('content') @include('accounting::layouts.nav')

@lang('accounting::lang.depreciation')

@lang('accounting::lang.batch_depreciation_from_assets')

@csrf
{!! Form::select('expense_account_id', $accounts, null, ['class'=>'form-control','placeholder'=>__('accounting::lang.expense_account'),'required']) !!}
{!! Form::select('accumulated_account_id', $accounts, null, ['class'=>'form-control','placeholder'=>__('accounting::lang.accumulated_account'),'required']) !!}
@csrf
{!! Form::select('expense_account_id', $accounts, null, ['class'=>'form-control','placeholder'=>__('accounting::lang.expense_account'),'required']) !!}
{!! Form::select('accumulated_account_id', $accounts, null, ['class'=>'form-control','placeholder'=>__('accounting::lang.accumulated_account'),'required']) !!}
@foreach($runs as $run) @endforeach
@lang('accounting::lang.period_label')@lang('accounting::lang.due_date')@lang('sale.amount')@lang('sale.status')@lang('messages.action')
{{ $run->period_label }} {{ $run->period_date }} @format_currency($run->depreciation_amount) {{ $run->status }} @if($run->status === 'draft')
@csrf
@endif
{{ $runs->links() }}
@endsection