@extends('layouts.report') @section('content')

@lang('layout.Payment')

@lang('layout.ExportDate'): {{App::isLocale('fa')?jDate::forge(date('Y-m-d'))->format('date'):date('Y-m-d')}} @lang('layout.ExportBy'): {{Auth::user()->name}}
@foreach($data AS $record) {{-- --}} @endforeach
@lang('layout.Payment')
@lang('layout.Record')
@lang('layout.Name')
@lang('layout.Type')
@lang('layout.Amount')
@lang('layout.Currency')
@lang('layout.Rate')
@lang('layout.Account')
@lang('layout.Date')
@lang('layout.Description')
{{++$count}} {{$record->Name}} {{$record->Payment_type}} {{round($record->Amount,2)}} {{$record->currency}} {{$record->Rate}} {{$record->Account}}{{$record->Date}} @if (App::isLocale('fa')) {{($record->Date && $record->Date !='')?jDate::forge($record->Date)->format('date'):''}} @else {{$record->Date}} @endif {{$record->Description}}
@endsection