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

@lang('layout.ContructReport')

@if($info && $info !=[])
@lang('layout.Phone') @lang('layout.Address') @lang('layout.Currency') @lang('layout.PriceLevelOne') @lang('layout.PriceLevelTow') @lang('layout.PriceLevelTree')
@lang('layout.GraphNumber') @lang('layout.Quality') @lang('layout.CarpetSize') @lang('layout.TextMap') @lang('layout.BorderMap') @lang('layout.TypeManufactory') @lang('layout.Width') @lang('layout.Length') @lang('layout.Metraz')
{{ $info->graph_number}} {{ $info->quality}} {{ $info->size}} {{ $info->text_map}} {{ $info->border_map}} {{ $info->work_type}} {{ $info->width}} {{ $info->length}} {{ $info->metraz}}
@lang('layout.Date') @lang('layout.StartDate') @lang('layout.EndDate') @lang('layout.Duration') @lang('layout.Description') @lang('layout.Memo')
{{ convertDate($info->Date)}} {{ convertDate($info->start_date)}} {{ convertDate($info->end_date)}} {{ $info->duration}} {{ $info->description}} {{ $info->memo}}
@endif @if($build_item)

@lang('layout.BuildDetails')

@if(getOtherMeasure()=="true") @endif @foreach($build_item AS $record1)
Warning: Undefined variable $record1 in E:\Ampps\www\CAS\resources\views\carpet_contracts\contract_profitandlost.blade.php on line 158

Warning: Attempt to read property "Quantity" on null in E:\Ampps\www\CAS\resources\views\carpet_contracts\contract_profitandlost.blade.php on line 158

Warning: Undefined variable $record1 in E:\Ampps\www\CAS\resources\views\carpet_contracts\contract_profitandlost.blade.php on line 159

Warning: Attempt to read property "other_measure" on null in E:\Ampps\www\CAS\resources\views\carpet_contracts\contract_profitandlost.blade.php on line 159
@if(getOtherMeasure()=="true") @endif @endforeach
#
@lang('layout.BuildNumber') @lang('layout.Employee') @lang('layout.Phone') @lang('layout.Date') @lang('layout.ItemName') @lang('layout.Code') @lang('layout.Quantity') @lang('layout.Measure') @lang('layout.Rate') {{getHomeCurrency()["code"]}} @lang('layout.Expense') @lang('layout.UnitCost') @lang('layout.Width') @lang('layout.Length') @lang('layout.Metraz')@lang('layout.Description')
{{++$count}} {{$record1->Build_Number}} {{$record1->employee}} {{$record1->phone}} {{convertDate($record1->Date)}} {{$record1->Name}} {{$record1->code}} {{simpleRound($record1->Quantity)}} {{$record1->Measure}} {{myRound($record1->Cost)}} {{myRound($record1->expense_cost)}} {{myRound($record1->Cost + $record1->expense_cost)}} {{$record1->widths}} {{$record1->lengths}}{{$record1->other_measure}} {{$record1->other_measure_name}}{{$record1->description}}
@endif @if($contract_item)

@lang('layout.ItemDetails')

@if(getOtherMeasure()=='true')@endif @if(getOtherMeasure2()=='true')@endif @foreach($contract_item AS $record) @if(getOtherMeasure()=='true') @endif @if(getOtherMeasure2()=='true') @endif @endforeach
#
@lang('layout.ItemName') @lang('layout.SiteName') @lang('layout.Quantity') @lang('layout.Measure')@lang('layout.OMeasureValue1')@lang('layout.OMeasureValue2')
{{++$count}} {{$record->item_name}} {{$record->site_name}} {{$record->quantity}} {{$record->item_measure}}{{$record->other_measure1}}{{$record->other_measure2}}
@endif @if(count($return_item) > 0)

@lang('layout.RefundQuantity')

@foreach($return_item AS $record2) @endforeach
#
@lang('layout.ItemName') @lang('layout.BuildNumber') @lang('layout.Date') @lang('layout.Quantity') @lang('layout.Measure') @lang('layout.Cost') {{getHomeCurrency()["code"]}}
{{++$count}} {{$record2->name}} {{$record2->b_number}} {{convertDate($record2->date)}} {{$record2->qty}} {{$record2->Measure}} {{myRound($record2->cost)}}
@endif @if(count($inventoryOnHand) > 0)

@lang('layout.InStock')

@foreach($inventoryOnHand AS $record2) @endforeach
#
@lang('layout.ItemName') @lang('layout.SiteName') @lang('layout.Quantity') @lang('layout.Measure')
{{++$count}} {{$record2->item_name}} {{$record2->site_name}} {{myRound($record2->OnHand)}} {{$record2->measure}}
@endif @if(count($payroll) > 0)

@lang('layout.Payroll')

@foreach($payroll AS $record4) @endforeach
@lang('layout.Number') @lang('layout.NetPayable') @lang('layout.Currency') @lang('layout.Rate') @lang('layout.FromDate') @lang('layout.ToDate') @lang('layout.Description')
{{$record4->id}} {{myRound($record4->net_payable)}} {{$record4->currency}} {{myRound($record4->rate)}}
{{convertDate($record4->from_date)}}
{{convertDate($record4->to_date)}}
{{$record4->description}}
@endif @if(count($payments) > 0)

@lang('layout.Payment')

@foreach($payments AS $record3) @endforeach
@lang('layout.Number') @lang('layout.Date') @lang('layout.Amount') @lang('layout.Currency') @lang('layout.Rate') @lang('layout.Description')
{{$record3->number}} {{convertDate($record3->Date)}} {{myRound($record3->Amount)}} {{$record3->Currency}} {{myRound($record3->Rate)}} {{$record3->description}}
@endif @endsection