- FROM :
- {{ $memo->from }}
- TO :
- {{ $memo->action_addressee }}
@if (!empty($memo->ref))
- REFERENCE :
- {{ $memo->ref }}
@endif
- INTERCOM :
- {{ $memo->intercom ?? '000' }}
- 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 (!empty($memo->items) && count($memo->items) > 0)
- ITEMS
-
Srl. |
Item |
@if ($memo->conduct_market_survey == 'NO')
Unit Price
({{ $memo->currency }})
|
@endif
Quantity |
@if ($memo->conduct_market_survey == 'NO')
Total
({{ $memo->currency }})
|
@endif
|
@php
$sum = 0;
@endphp
@foreach ($memo->items as $key => $item)
{{ $key + 1 }}. |
{{ $item['description'] }} |
@if ($memo->conduct_market_survey == 'NO')
{!! money($item['price'], $memo->currency) !!}
|
@endif
{{ $item['quantity'] }} |
@if ($memo->conduct_market_survey == 'NO')
{!! money($item['quantity'] * $item['price'], $memo->currency) !!}
|
@endif
@php
$sum += $item['quantity'] * $item['price'];
@endphp
@endforeach
@if ($memo->conduct_market_survey == 'NO')
|
{!! money($sum, $memo->currency) !!}
|
|
@endif
@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
-
@foreach ($memo->getMedia('invoice') as $key => $media)
-
@endforeach
@endif
@if ($memo->is_draft == 0)
- RANK/APPT
-
{{ $memo->origino_rank }}/{{ $memo->origino_appt }}
@endif
- NAME
- {{ $memo->origino_name }}
@if ($memo->is_draft == 0)
- SIGNATURE
-
@endif
@if ($memo->payment_status == 'PAID' || ($memo->category == 'NON-REQUISITION' && $memo->status == 'APPROVED'))
@if (can('Download-Memo'))
@endif
@endif
{{--
--}}