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

PO-{{$purchase_order->id}} / Receipt # {{$receipt->id}} Receipt Date : {{date('d-F-Y h:i a' , strtotime($receipt->receipt_date))}}
@if(!empty($receipt->receipt_pay_date)) Pay Date : {{date('d-F-Y h:i a' , strtotime($receipt->receipt_pay_date))}} @endif

@if($receipt->status == 0)

UNPAID

@elseif($receipt->status == 1)

PAID

@elseif($receipt->status == 2)

PARTIALLY PAID

@endif

Vendor Details

Name {{ Ucfirst($vendor->name)}}
Phone 0{{ $vendor->phone_number}}
Email {{ $vendor->email }}
Cnic {{ $vendor->cnic }}
Address {{ $vendor->address }}

Company Details

Company {{ env('APP_NAME') }}
Contact {{ env('APP_CONTACT') }}
Address {{ env('APP_ADDRESS') }}