@extends('layouts.adminapp') @section('title') {{ __('lng.SalaryVoucher') }} - {{ __('lng.Print') }} @endsection @section('active_report', 'active') @section('open_report', 'open') @section('open_voucher', 'open') @section('active_voucher', 'active') @section('salary_voucher', 'active') @section('content')

{{ __('lng.Print') }}

@include('PrintHeader.header')

{{ __('lng.SalaryVoucherReport') }}
{{ __('lng.FromDate') }}: {{ date('d-m-Y', strtotime($From)) }}, {{ __('lng.ToDate') }}: {{ date('d-m-Y', strtotime($To)) }},
@php $si=$Total=0; @endphp @foreach ($Salaries as $Salary) @php $DTs = date("F-d-Y",strtotime($Salary->date));@endphp @php $Total+=$Salary->amount; @endphp @endforeach
{{ __('lng.SiNo') }} {{ __('lng.Name') }} {{ __('lng.Invoice') }} {{ __('lng.Date') }} {{ __('lng.Ledger') }} {{ __('lng.Head') }} {{ __('lng.Amount') }}
{{ ++$si }} {{ $Salary->employee->name }} {{ $Salary->invoicenumber }} {{ $DTs }} {{ $Salary->ledger->title }} {{ $Salary->head->title }} @currency($Salary->amount ?? '0')
{{ __('lng.Total') }} @currency($Total)
{{ __('lng.Back') }}
@endsection