@extends('admin.layouts.master') @section('title') Step Three @endsection @section('content')
@include('admin.pages.memo.navtrac.form.steps')
@include('admin.pages.memo.navtrac.form.stages')
PV NUMBER :
{{ $memo->pv_number }}
FROM :
{{ $memo->from }}
TO :
{{ $memo->category == 'REQUISITION' ? 'COSO' : 'FOC' }}
@if (!empty($memo->ref))
REFERENCE :
{{ $memo->ref }}
@endif
INTERCOM :
{{ $memo->intercom }}
MOBILE :
{{ $memo->origino_phone }}
DATE :
{{ now()->format(config('gaf.gaf_date')) }}
CATEGORY :
{{ $memo->category }}

SUBJECT
{{ $memo->subject }}
 
@if ($memo->category == 'NON-REQUISITION' && $memo->sub_heading != null)
SUBHEADING
@foreach ($memo->sub_heading as $heading) {{ $heading['subject'] }}
@endforeach
 
@endif
REQUEST DETAILS
{!! $memo->request !!}
@if ($memo->is_draft == 1) Edit @else Edit @endif
@if (!empty($memo->items) && count($memo->items) > 0)
ITEMS
@if ($memo->conduct_market_survey == 'NO') @endif @if ($memo->conduct_market_survey == 'NO') @endif @php $sum = 0; @endphp @foreach ($memo->items as $key => $item) @if ($memo->conduct_market_survey == 'NO') @endif @if ($memo->conduct_market_survey == 'NO') @endif @php $sum += $item['quantity'] * $item['price']; @endphp @endforeach @if ($memo->conduct_market_survey == 'NO') @endif
Srl. ItemUnit Price ({{ $memo->currency }}) QuantityTotal ({{ $memo->currency }})  
{{ $key + 1 }}. {{ $item['description'] }}{!! money($item['price'], $memo->currency) !!} {{ $item['quantity'] }} {!! money($item['quantity'] * $item['price'], $memo->currency) !!}
  {!! money($sum, $memo->currency) !!}  
Edit
@endif @if ($memo->conduct_market_survey == 'NO')
TOTAL AMOUNT
{!! $memo->currency !!}. {!! $memo->total_amount !!}
AMOUNT IN WORDS
{!! $memo->amount_in_words !!}
@endif @if ($memo->supplier_id != null)

SUPPLIER
{{ $memo->supplier->name }}
CONTACT
{{ $memo->supplier->contact }}
@endif @if ($memo->hasMedia('invoice'))

@if ($memo->category == 'NON-REQUISITION')
DOCUMENTS
@else
INVOICE(S)
@endif
@endif
RANK/APPT
{{ $memo->origino_rank }}/{{ $memo->origino_appt }}
NAME
{{ $memo->origino_name }}
SIGNATURE

@endsection