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

@lang('layout.PurchaseOrderReport')

@if($from_date) @endif @if($to_date) @endif
@lang('layout.FromDate'): {{convertDate($from_date)}} @lang('layout.ToDate'): {{convertDate($to_date)}}

@if(getSerialNumberTimes() >= 1 && getSerialNumberTimes() <= 9) @endif @if(getSerialNumberTimes() >= 2 && getSerialNumberTimes() <= 9) @endif @if(getSerialNumberTimes() >= 3 && getSerialNumberTimes() <= 9) @endif @foreach($data AS $record) @if(getSerialNumberTimes() >= 1 && getSerialNumberTimes() <= 9) @endif @if(getSerialNumberTimes() >= 2 && getSerialNumberTimes() <= 9) @endif @if(getSerialNumberTimes() >= 3 && getSerialNumberTimes() <= 9) @endif @endforeach
@lang('layout.Record') @lang('layout.Item')@lang('layout.SerialNum')1 @lang('layout.SerialNumber2') @lang('layout.SerialNumber3') @lang('layout.Unit') @lang('layout.Quantity') @lang('layout.PurchasedQuantity') @lang('layout.Remain') @lang('layout.OnHand')
{{++$count}} {{$record->item}}{{$record->number1}}{{$record->number2}}{{$record->number3}}{{$record->unitmeasure}} {{myRound($record->quantity)}} {{myRound($record->quantity_in)}} {{myRound($record->quantity-$record->quantity_in)}} {{myRound($record->onHand)}}
@foreach(getCompanyInfo('sign','reports') AS $info) @endforeach
{{$info['name']}}
@endsection