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

@lang('layout.PurchaseDetails')

@if($info && $info !=[]) @endif
@lang('layout.ContractNumber'): {{$info->contract_no}} @lang('layout.MemberName'): {{$info->name}} @lang('layout.ContractName'): {{$info->company_name}} @lang('layout.Amount'): {{$info->amount}} @lang('layout.Differ'): {{ $info->pos_neg_amount}} @if($info->pos_neg_type == 'positive') + @endif @if($info->pos_neg_type == 'negative') - @endif @lang('layout.Description'): {{$info->description}}
{{-- --}} @foreach($data AS $record)
Warning: Undefined variable $record in E:\Ampps\www\CAS\resources\views\contracts\contract_purchased_items.blade.php on line 106

Warning: Attempt to read property "total_base" on null in E:\Ampps\www\CAS\resources\views\contracts\contract_purchased_items.blade.php on line 106

Warning: Undefined variable $record in E:\Ampps\www\CAS\resources\views\contracts\contract_purchased_items.blade.php on line 107

Warning: Attempt to read property "base_contract_differ" on null in E:\Ampps\www\CAS\resources\views\contracts\contract_purchased_items.blade.php on line 107

Warning: Undefined variable $record in E:\Ampps\www\CAS\resources\views\contracts\contract_purchased_items.blade.php on line 107

Warning: Attempt to read property "qut_in" on null in E:\Ampps\www\CAS\resources\views\contracts\contract_purchased_items.blade.php on line 107
{{-- --}} @endforeach
#
@lang('layout.Number')
@lang('layout.Date')
@lang('layout.BourseDate')
@lang('layout.Description')
@lang('layout.ItemName')
@lang('layout.SiteName')
@lang('layout.Measure')
@lang('layout.Quantity')
@lang('layout.Currency')
@lang('layout.Contract') @lang('layout.Rate')
@lang('layout.Cost')
@lang('layout.Contract') @lang('layout.Differ')
@lang('layout.Differ')
@lang('layout.TotalPurchaseCost')
@lang('layout.Total')
{{++$count}} {{$record->number}} {{convertDate($record->Date)}} {{convertDate($record->bourse_date)}} {{$record->description}} {{$record->Item}} {{$record->siteName}} {{$record->Measure}} {{$record->qut_in}} {{$record->currency}} {{myRound($record->contract_cost)}} {{myRound($record->cost - $record->contract_differ)}} {{myRound($record->contract_differ)}} {{myRound($record->cost)}}{{myRound($record->cost - $record->contract_cost)}}{{myRound($record->total)}}
@lang('layout.Total') @lang('layout.Cost')
{{myRound($total_cost)}} {{getHomeCurrency()["code"]}}
@lang('layout.Total') @lang('layout.Differ')
{{myRound($differ)}} {{getHomeCurrency()["code"]}}
@endsection