/
home
/
sjslayjy
/
public_html
/
scm
/
resources
/
views
/
dashboard
/
invoice
/
Upload File
HOME
@extends('dashboard.layouts.app') @section('title', 'View Invoice') @section('content') <div class="main-content"> <div class="main-content-inner"> <div class="breadcrumbs ace-save-state" id="breadcrumbs"> <ul class="breadcrumb"> <li> <i class="ace-icon fa fa-home home-icon"></i> <a href="#">Home</a> </li> <li><a href="{{ url('user/invoices') }}">Invoices</a></li> <li class="active">View Invoice</li> </ul> </div> <div class="page-content"> <div class="row"> <div class="col-md-12"> <h3 class="header smaller lighter blue">Invoice Details : <span class="dark">{{ $invoice->unique_no }}</span></h3> <table class="table table-bordered table-striped"> <tbody> <tr> <th>Document Type</th> <td>{{ $invoice->doc_type }}</td> <th>Invoice Type</th> <td>{{ $invoice->invoice_type }}</td> <th>Place Of Delivery/Services</th> <td>{{ $invoice->delivery_place }}</td> </tr> <tr> <th>Invoice Number</th> <td>{{ $invoice->invoice_number }}</td> <th>Invoice Date</th> <td>{{ \Carbon\Carbon::parse($invoice->invoice_date)->format('d/m/Y') }}</td> <th>Vendor Type</th> <td>{{ $invoice->vendor_type }}</td> </tr> <tr> <th>Vendor Code</th> <td>{{ $invoice->vendor_code }}</td> <th>Vendor Name</th> <td>{{ $invoice->vendor_name }}</td> <th>Vendor Billing Address</th> <td>{{ $invoice->vendor_bill_address }}</td> </tr> <tr> <th>Vendor PAN Number</th> <td>{{ $invoice->pan_no }}</td> <th>Vendor GST Number</th> <td>{{ $invoice->gst_no }}</td> <th>Vendor MSME Type</th> <td>{{ $invoice->msme_type }}</td> </tr> <tr> <td colspan="6" style="background-color: #f9f9f9; height: 40px; padding: 20px 0;"> </td> </tr> <tr> <th>PO/WO Number</th> <td>{{ $invoice->po_number }}</td> <th>PR Number</th> <td>{{ $invoice->reference_no }}</td> </tr> <tr> <th>PO/WO Date</th> <td>{{ $invoice->po_date }}</td> <th>PR Date</th> <td>{{ $invoice->pr_date }}</td> </tr> <tr> <th>Vertical</th> <td>{{ $invoice->verticle }}</td> <th>Customer</th> <td>{{ $invoice->customer }}</td> <th>Circle</th> <td>{{ $invoice->circle }}</td> </tr> <tr> <td colspan="6" style="background-color: #f9f9f9; height: 40px; padding: 20px 0;"> </td> </tr> <tr> <th>Bill To GST</th> <td>{{ $invoice->bill_to_gst }}</td> <th>Ship To GST</th> <td>{{ $invoice->ship_to_gst }}</td> <th>Gate Entry Number</th> <td>{{ $invoice->gate_entry_number }}</td> </tr> <tr> <th>Bill To Address</th> <td>{{ $invoice->bill_to_address }}</td> <th>Ship To Address</th> <td>{{ $invoice->ship_to_address }}</td> <th>Gate Entry Date/Date Of Delivery</th> <td>{{ \Carbon\Carbon::parse($invoice->gate_entry_date)->format('d/m/Y') }}</td> </tr> <tr> <td colspan="6" style="background-color: #f9f9f9; height: 40px; padding: 20px 0;"> </td> </tr> <tr> <th>Basic Amount</th> <td>{{ $invoice->basic_amount }}</td> <th>Freight Charges</th> <td>{{ $invoice->freight_charges }}</td> <th>Total Basic Amount</th> <td>{{ $invoice->total_basic_amount }}</td> </tr> <tr> <th>GST on Basic Amount</th> <td>{{ $invoice->gst_basic_amount }}</td> <th>GST on Freight Charges</th> <td>{{ $invoice->gst_on_freight_charges }}</td> <th>Total GST Amount</th> <td>{{ $invoice->total_gst_amount }}</td> </tr> <tr> <th>Total Invoice Amount</th> <td>{{ $invoice->total_invoice_amount }}</td> </tr> <tr> <td colspan="6" style="background-color: #f9f9f9; height: 40px; padding: 20px 0;"> </td> </tr> <tr> <th>Invoice Current Status</th> <td>{{ $invoice->current_status }}</td> <th>Submitted To</th> <td>{{ $invoice->name }}</td> <th>Date of Submission</th> <td>{{ \Carbon\Carbon::parse($invoice->date_of_submission)->format('d/m/Y') }}</td> </tr> <tr> <th>Invoice File</th> <td> @if($invoice->invoice_file) <a href="{{ asset('Invoices_Document/'.$invoice->invoice_file) }}" target="_blank">Download/View</a> @else N/A @endif </td> <th>Invoice Punched By</th> <td>{{ $user_name ?? 'Unknown' }}</td> <th>Invoice Punched At</th> <td>{{ $invoice->created_at->format('d/m/Y') }}</td> </tr> </tbody> </table> <a href="{{ url('/user/invoice-punch') }}" class="btn btn-md btn-primary">Back to All Invoice List</a> </div> </div> </div> </div> </div> @endsection