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

@lang('layout.BranchTransferVocher')

@lang('layout.ReferenceNumber') @lang('layout.Type') @lang('layout.FromBranch') @lang('layout.ToBranch') @lang('layout.Date') @lang('layout.Description') @lang('layout.Accountant')
{{convertDate($transfer->date)}} {{$user}}

@if(!$transfer->factor_type =='type1') @else @if(getOtherMeasure() == 'false') @endif @endif @if(getOtherMeasure() == 'true') @if($transfer->factor_type == 'type1') @endif @endif @if(getOtherMeasure2() == 'true') @endif @if(searchByCodeLocation()=="true") @endif @if($transfer->other_measure_price == 'ok') @endif @if(getSaleDescription() == 'true') @endif @foreach($transferDetail as $key => $value ) @if(!$transfer->factor_type =='type1') @else @endif @if($transfer->factor_type == '') @endif @if($transfer->factor_type == 'type1') @if(getOtherMeasure() == 'true') @else @endif @if($transfer->factor_type == 'type1') @endif @else @if(getOtherMeasure() == 'true') @endif @endif @if(getOtherMeasure2() == 'true') @endif @if(searchByCodeLocation()=="true") @endif @if($transfer->other_measure_price == 'ok') @if($value['other_measure'] > 0) @else @endif @else @endif @if(getSaleDescription() == 'true') @endif @endforeach
@lang('layout.ItemName')@lang('layout.Quantity') @lang('layout.Unit')@lang('layout.Unit')@lang('layout.OMeasureValue1') @lang('layout.Unit/M') @lang('layout.OMeasureValue2') @lang('layout.Location')@lang('layout.Cost')@lang('layout.Total')@lang('layout.Description')@lang('layout.Site')
{{$value['name']}} {{$value['quantity']}} {{$value['name']}} {{$value['measure_name']}} @if($value['other_measure'] > 0) {{$value['other_measure']}} @else {{$value['quantity']}} @endif @if($value['other_measure'] > 0) @if($value['other_measure_name']) {{$value['other_measure_name']}} @endif @else {{$value['measure_name']}} @endif {{$value['other_measure']}} {{$value['other_measure2']}} {{$value['location']}} {{ myRound($value['other_measure_price'] / $value['other_measure']) }} {{myRound($value['other_measure_price'])}} {{$value['cost']}} {{$value['cost']}} {{$value['cost']}} {{$value['description_row']}} {{$value['site_name']}}

@lang('layout.Description') @lang('layout.MohrAndSignature')
{{$transfer->description}}
@if(company()['inventory_transfer_message'])
@lang('layout.Note'): {{company()['inventory_transfer_message']}}
@endif @endsection