HEX
Server: Apache/2.4.46 (Ubuntu)
System: Linux localhost 5.11.0-49-generic #55-Ubuntu SMP Wed Jan 12 17:36:34 UTC 2022 x86_64
User: root (0)
PHP: 7.4.16
Disabled: pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare,
Upload Files
File: /var/www/html/fieldsblaze-heroku/resources/views/admin/order-invoice-mobile.blade.php
@extends('admin.include.master-order-invoice')

@section('content')
<!-- Content Wrapper. Contains page content -->
<div class="content-wrapper">
  <div class="content">
    <div class="container-fluid">
      <div class="row">
        <div class="col-12">
          <!-- Main content -->
          <div class="invoice p-3 mb-3">
            <!-- title row -->
            <div id='orderinvoice'>
              <div class="row">
                <div class="col-6">
                  <img class="img-fluid" src="{{ asset($CompanyProfile->CompanyProfileImage) }}" alt=""
                    style="max-width: 240px">

                </div>
                <div class="col-6">
                  <h3 class="text-right"><span class="text-info">{{ $CompanyProfile->CompanyName }}</span></h3>
                  <h5 class="text-right">GST#: {{ $CompanyProfile->CompanyGST }}<br />CIN#: {{
                    $CompanyProfile->CompanyCIN }}</h5>
                </div>
                <!-- /.col -->
              </div>
              <div class="row">
                <div class="col-12">
                  <h4 class="text-center">
                    <hr />
                    <span class="text-info"><strong>Order Summary</strong></span>
                        <hr />
                        <span style="display: none" id="DownloadOrderInvoice">{{ $Invoice->OrderNo }}</span>
                  </h4>
                </div>
                <!-- /.col -->
              </div>
              <!-- info row -->
              <div class="row invoice-info">
                <div class="col-sm-7">
                  <address>
                    <strong>{{ $CompanyProfile->CompanyName }}</strong><br>
                    {{ $CompanyProfile->StreetAddress }}, {{ $CompanyProfile->City }}<br>
                    {{ $CompanyProfile->State }}, {{ $CompanyProfile->Country }} - {{ $CompanyProfile->PostalCode }}<br>
                    Phone: {{ $CompanyProfile->PhoneNo }}<br>
                    Email: {{ $CompanyProfile->EmailId }}
                  </address>
                </div>
                <!-- /.col -->

                <div class="col-sm-5">
                  <b>Invoice: #</b>{{ str_pad($Invoice->id, 7, '0', STR_PAD_LEFT) }} <br>
                  <b>Order No:</b> {{ $Invoice->OrderNo }}<br>
                  <b>Invoice Date:</b> {{ date('d-M-y h:i:s a', strtotime($OrderInvoiceDate->Updated_at)) }}<br>
                  <b>Due Date:</b> @if ($DueDate>0)
                  {{ date('d-M-y', strtotime($DueDate)) }}
                  @else
                  {{ $Invoice->PaymentDue }}
                  @endif<br>
                  <b>Payment Terms:</b> {{ $Invoice->PaymentTerms }} ({{ $Invoice->PaymentDue }})<br>
                </div>
                <!-- /.col -->
              </div>
              <!-- /.row -->
              <hr />
              <div class="row invoice-info">
                <div class="col-sm-5">
                  Bill To:
                  <address>
                    <strong>{{ $Invoice->CustomerName }}</strong><br>
                    {{ $Invoice->BillingStreetAddress }}<br />
                    {{ $Invoice->BillingCity }}<br>
                    {{ $Invoice->BillingState }} - {{ $Invoice->BillingPostalCode }}<br />
                    GST#: {{ $Invoice->CustomerGST }}
                  </address>
                </div>
                <!-- /.col -->
                <div class="col-sm-2">

                </div>
                <!-- /.col -->
                <div class="col-sm-5">
                  Ship To:
                  <address>
                    <strong>{{ $Invoice->CustomerName }}</strong><br>
                    {{ $Invoice->ShippingStreetAddress }}, {{ $Invoice->ShippingCity }}<br>
                    {{ $Invoice->ShippingState }} - {{ $Invoice->ShippingPostalCode }}<br />
                    GST#: {{ $Invoice->CustomerGST }}
                  </address>
                </div>
                <!-- /.col -->

              </div>
              <!-- /.row -->

              <!-- Table row -->
              <div class="row">
                <div class="col-12 table-responsive">
                  <table class="table table-striped table-sm">
                    <thead>
                      <tr>
                        <th>SN</th>
                        <th>Product</th>
                        <th>Qty</th>
                        <th>List Price</th>
                        <th>Sale Price</th>
                        <th>Discount</th>
                        <th>Subtotal</th>
                        <th>GST</th>
                        <th>Gr. Total</th>
                      </tr>
                    </thead>
                    <tbody>
                      @foreach ($ListOrderItem as $item)
                      <tr>
                        <td>{{ $loop->iteration }}</td>
                        <td>{{ $item->ProductName }}</td>
                        <td>{{ $item->Quantity }}</td>
                        <td>{{ $item->ListPrice }}</td>
                        <td>{{ $item->SalePrice }}</td>
                        @if ($item->DiscountType == 'flat')
                        <td>&#8377;{{ $item->Discount }} Flat</td>
                        @else
                        <td>{{ $item->Discount }}%</td>
                        @endif
                        <td>{{ $item->TotalPrice }}</td>
                        <td>{{ $item->GstSlab }}%</td>
                        <td>{{ $item->AmountWithGST }}</td>
                      </tr>
                      @endforeach
                    </tbody>
                  </table>
                </div>
                <!-- /.col -->
                <div class="col-4">
                  <p class="lead">Bank Details:</p>
                  <p class="text-muted well well-sm shadow-none" style="margin-top: 10px;">
                    <span class="text-info">Bank Name:</span> {{ $BankDetails->BankName }}<br />
                    <span class="text-info">Account No:</span> {{ $BankDetails->BankAccountNo }}<br />
                    <span class="text-info">IFSC Code:</span> {{ $BankDetails->IFSC_Code }}<br />
                    <span class="text-info">Swift Code:</span> {{ $BankDetails->SwiftCode }}<br />
                    <span class="text-info">Account Type:</span> {{ $BankDetails->AccountType }}<br />
                    <span class="text-info">Branch Address:</span> {{ $BankDetails->BranchAddress }}<br />
                  </p>
                </div>
                <div class="col-2">
                  <p class="lead">QR Code:</p>
                  <img class="img-fluid" src="{{ asset($CompanyProfile->CompanyUPIImage) }}" alt="">
                </div>
                <div class="col-6">
                  <div class="table-responsive">
                    <table class="table">
                      <tr>
                        <th style="width:50%">Subtotal:</th>
                        <td>&#8377;{{$SubTotal}}</td>
                      </tr>
                      <tr>
                        <th>Tax </th>
                        <td>&#8377;{{$TaxAmount}}</td>
                      </tr>
                      <tr>
                        <th>Grand Total:</th>
                        <td><strong>&#8377;{{ $GrandTotal }}</strong></td>
                      </tr>
                      <tr>
                        <th>Amount in Words:</th>
                        <td>@if ($GrandTotalInWords)
                          Rupees {{ $GrandTotalInWords }} Only
                          @endif</td>
                      </tr>
                    </table>
                  </div>
                </div>
              </div>
              <!-- /.row -->

              <div class="row">
                <!-- accepted payments column -->
                <div class="col-6">
                  <hr />
                  <p class="lead">Terms &amp; Conditions:</p>
                  <p class="text-muted well well-sm shadow-none" style="margin-top: 10px;">
                    Etsy doostang zoodles disqus groupon greplin oooj voxy zoodles, weebly ning heekya handango imeem
                    plugg dopplr jibjab, movity jajah plickers sifteo edmodo ifttt zimbra.
                  </p>

                </div>
                <!-- /.col -->
                <div class="col-6 text-right">
                  <hr />
                  <img class="img-fluid" src="{{ asset($CompanyProfile->CompanySealImage) }}" alt=""
                    style="max-width: 150px">
                </div>
                <!-- /.col -->
              </div>
              <!-- /.row -->
            </div><br />

            <!-- this row will not appear when printing -->
            {{-- <div class="row no-print">
              <div class="col-12">
                <a class="btn btn-success float-right" href="{{ url('all-collection') }}"><i
                    class="far fa-credit-card"></i> Submit
                  Payment
                </a>
                <button type="button" class="btn btn-primary float-right" style="margin-right: 5px;" id="donloadbtn">
                  <i class="fas fa-download"></i> Generate PDF
                </button>
              </div>
            </div> --}}
          </div>
          <div id="print-btn"></div>
          <!-- /.invoice -->
        </div><!-- /.col -->
      </div><!-- /.row -->
    </div><!-- /.container-fluid -->
  </div>
  <!-- /.content -->
</div>
<!-- /.content-wrapper -->

@endsection