@extends('layouts.app') @section('title', 'NTTN Invoice Details') @section('content')
| Invoice ID: | #{{ $nttnInvoice->id }} |
|---|---|
| Sales Invoice: | {{ $nttnInvoice->salesInvoice->invoice_no ?? 'N/A' }} |
| Company Name: | {{ $nttnInvoice->company_name ?? '-' }} |
| Total Cost Amount: | ৳ {{ number_format($nttnInvoice->total_cost_amount, 2) }} |
| Status: | @if($nttnInvoice->status == 'approved') Approved @elseif($nttnInvoice->status == 'rejected') Rejected @else Pending @endif |
| Created By: | {{ $nttnInvoice->createdBy->name ?? 'N/A' }} |
| Created At: | {{ $nttnInvoice->created_at->format('d M Y, h:i A') }} |
| Updated By: | {{ $nttnInvoice->updatedBy->name }} |
| Updated At: | {{ $nttnInvoice->updated_at->format('d M Y, h:i A') }} |
| Invoice No: | {{ $nttnInvoice->salesInvoice->invoice_no }} |
|---|---|
| Customer Invoice: | {{ $nttnInvoice->salesInvoice->customer_invoice }} |
| Customer: | @if($nttnInvoice->salesInvoice->customer) {{ $nttnInvoice->salesInvoice->customer->name }} @else {{ $nttnInvoice->salesInvoice->customer_name ?? 'N/A' }} @endif |
| Invoice Date: | {{ $nttnInvoice->salesInvoice->invoice_date->format('d M, Y') }} |
| Invoice Amount: | ৳ {{ number_format($nttnInvoice->salesInvoice->invoice_amount, 2) }} |
Sales invoice not found.
@endif| # | Item Name | Description | Cost Item Amount | Quantity | After Cost Amount |
|---|---|---|---|---|---|
| {{ $index + 1 }} | {{ $item->item_name }} | {{ $item->description ?? '-' }} | ৳ {{ number_format($item->cost_item_amount, 2) }} | {{ number_format($item->quantity, 2) }} | ৳ {{ number_format($item->after_cost_amount, 2) }} |
| Total: | ৳ {{ number_format($nttnInvoice->total_cost_amount, 2) }} | ||||