Viewing file: invoice.blade.php (5.09 KB) -rw-r--r-- Select action/file-type: (+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
@extends('master.front') @section('title') {{__('Selling Orders')}} @endsection
@section('styleplugins') <style> .section-order-info .text-muted{ color: rgb(255 255 255 / 88%) !important; font-weight: 500 !important; } .usr-info .text-muted{ color: rgb(255 255 255 / 88%) !important; font-weight: 500 !important; } </style> @endsection
@section('content')
<div class="container mt-5 mb-5"> <div class="row"> <div class="col-12"> <!-- Page Title--> <div class="page-title"> <div class="container"> <div class="row"> <div class="col-lg-12"> <ul class="breadcrumbs"> <li><a href="{{route('front.index')}}">{{__('Home')}}</a></li> <li class="separator"></li> <li>{{__('Selling Orders')}}</li> </ul> </div> </div> </div> </div> <!-- Page Content--> <div class="container-fluid padding-bottom-3x mb-1"> <div class="row"> @include('includes.user_sitebar') <div class="col-lg-9 col-12 new_user_profile mt-3"> <div class="card"> <div class="card-body"> <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 usr-info"> <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> </div>
</div> </div> </div> </div> </div> </div>
@endsection
@section('js')
<script> $(document).on('click', '.resellOrder', function (e){ e.preventDefault(); const order_id=$(this).attr('data-id');
$('.order_id').val(order_id)
$('#resellModal').modal('show');
}) </script>
@endsection
|