@extends('layouts.factor-master') @section('content')

@lang('layout.CustomsReport')

@if($from_date || $to_date) @if($from_date) @endif @if($to_date) @endif
@lang('layout.FromDate'): @if(\Setting::get('jalali_and_gerogarian_date') == 'true') {{convertDate($from_date, null, null, ((\Setting::get('date_type') == 'jalali')?'gregorian':'jalali'))}}     @lang('layout.MarchingAt') @endif {{convertDate($from_date)}} @lang('layout.ToDate'): @if(\Setting::get('jalali_and_gerogarian_date') == 'true') {{convertDate($to_date, null, null, ((\Setting::get('date_type') == 'jalali')?'gregorian':'jalali'))}}     @lang('layout.MarchingAt') @endif {{convertDate($to_date)}}

@endif @foreach($data AS $record)
Warning: Undefined variable $record in E:\Ampps\www\CAS\resources\views\customs\general_report_pdf.blade.php on line 46

Warning: Trying to access array offset on value of type null in E:\Ampps\www\CAS\resources\views\customs\general_report_pdf.blade.php on line 46
@endforeach
@lang('layout.Number') @lang('layout.Date') @lang('layout.AccdNumber') @lang('layout.Item') @lang('layout.Quantity') @lang('layout.ItemValue') @lang('menu.CustomsField') @lang('layout.AccdTotal')
{{$record['number']}} {{convertDate($record['date'])}} {{$record['accd_number']}} {{$record['item_name']}} {{myRound($record['qty'])}} {{$record['measure_name']}} {{myRound($record['item_value'])}} @foreach($customs_field AS $row) @endforeach @foreach($customs_field AS $row) @endforeach
{{$row['name']}}
{{myRound($row['cust_qty'])}}
{{myRound($record['total_accd'])}}

@foreach($customs_totals AS $total) @endforeach
@lang('layout.Total')
{{$total->name}} {{myRound($total->qty)}}
@foreach(getCompanyInfo('sign','reports') AS $info) @endforeach
{{$info['name']}}
@endsection