@extends('layouts.factor-master') @section('content') @if($report_type=="sale_alert")

@lang('menu.Sales')

@foreach($data AS $record)
Warning: Undefined variable $record in E:\Ampps\www\CAS\resources\views\system_alerts\sale_purchase_alerts_pdf.blade.php on line 38

Warning: Attempt to read property "discount_type" on null in E:\Ampps\www\CAS\resources\views\system_alerts\sale_purchase_alerts_pdf.blade.php on line 38

Warning: Undefined variable $record in E:\Ampps\www\CAS\resources\views\system_alerts\sale_purchase_alerts_pdf.blade.php on line 41

Warning: Attempt to read property "discount1" on null in E:\Ampps\www\CAS\resources\views\system_alerts\sale_purchase_alerts_pdf.blade.php on line 41
@endforeach
@lang('layout.Record')
@lang('layout.Member')
@lang('layout.Type')
@lang('layout.Currency')
@lang('layout.Rate')
@lang('layout.Amount')
@lang('layout.Date')
@lang('layout.OverdueDate')
@lang('layout.Discount')
@lang('layout.Description')
{{++$count}} {{$record->member_name}} {{__('layout.' . ucfirst($record->type))}} {{$record->currency}} {{$record->rate}} {{myRound($record->amount)}} {{convertDate($record->date)}} {{convertDate($record->overdue_date)}} {{$discount}} {{$record->description}}
@endif @if($report_type=="purchase_alert" )

@lang('layout.Purchase')

@foreach($data AS $record) @endforeach
@lang('layout.Record')
@lang('layout.Vendor')
@lang('layout.Type')
@lang('layout.Currency')
@lang('layout.Rate')
@lang('layout.Date')
@lang('layout.OverdueDate')
@lang('layout.Amount')
@lang('layout.Description')
{{++$count}} {{$record->vendor}} {{__('layout.' . ucfirst($record->type))}} {{$record->currency}} {{$record->rate}} {{convertDate($record->date)}} {{convertDate($record->overdue_date)}} {{$record->amount}} {{$record->description}}
@endif @endsection