@extends('layouts.app') @section('title', __('app.print')) @section('content')
@include('layouts.session')
@can(['expense.edit']) {{ __('app.edit') }} @endcan

{{ app('company')['name'] }}

{{ app('company')['address'] }}
{{ __('expense.expense_category') }}:

{{ $expense->category->name }}

@if($expense->subcategory)
{{ __('expense.subcategory.subcategory') }}:

{{ $expense->subcategory->name }}

@endif

{{ __('expense.number') }} #{{ $expense->expense_code }}

{{ __('app.date') }}: {{ $expense->formatted_expense_date }}
@php $i=1; @endphp @foreach($expenseItems as $items) @endforeach
# {{ __('item.item') }} {{ __('app.qty') }} {{ __('app.price_per_unit') }} {{ __('app.total') }}
{{ $i++ }}

{{ $items->itemDetails->name }}

{{ $items->note }}
{{ $formatNumber->formatQuantity($items->quantity) }} {{ $formatNumber->formatWithPrecision($items->unit_price) }} {{ $formatNumber->formatWithPrecision($items->total) }}
{{ __('app.round_off') }} {{ $formatNumber->formatWithPrecision($expense->round_off) }}
{{ __('app.grand_total') }} {{ $formatNumber->formatWithPrecision($expense->grand_total) }}
{{ __('payment.paid_amount') }} {{$formatNumber->formatWithPrecision($expense->paid_amount)}}
{{ __('app.thank_you') }}!
{{ __('app.computer_generated_receipt') }}
@endsection @section('js') @include("plugin.export") @endsection