@extends('layouts.app') @section('title') Purchase Order Receipt @stop @section('breadcrumb') @stop @section('css') @stop @section('content')

Receipts / PR-{{$pr_id}}

@foreach($vendors as $list ) @foreach($list->receipts as $receipt) @if($receipt->status != 3 && $receipt->receipt_type == 1) @endif @endforeach @endforeach
Po# Vendor Receipt ID# Total Amount Pay Amount Remaining Amount Status Action
@permission('list-purchase-order') PO-{{ucfirst($receipt->purchase_order_id)}} @else PO-{{ucfirst($receipt->purchase_order_id)}} @endpermission @permission('view-vendor') {{ucfirst($list->name)}} @else {{ucfirst($list->name)}} @endpermission {{$receipt->id}} {{number_format($receipt->total_amount , 2)}} {{number_format($receipt->total_pay_amount, 2)}} {{number_format($receipt->remaining_amount, 2)}} @if($receipt->status == 0)
UNPAID
@elseif($receipt->status == 1)
PAID
@elseif($receipt->status == 2)
PARTIALLY PAID
@endif
@permission('list-po-receipt') View @endpermission
@Stop