⚝
One Hat Cyber Team
⚝
Your IP:
216.73.216.91
Server IP:
157.245.101.34
Server:
Linux skvinfotech-website 5.4.0-131-generic #147-Ubuntu SMP Fri Oct 14 17:07:22 UTC 2022 x86_64
Server Software:
Apache/2.4.41 (Ubuntu)
PHP Version:
7.4.33
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
var
/
www
/
html
/
resources
/
views
/
backend
/
orders
/
View File Name :
acceptedorders_list.blade.php
@extends('backend.layouts.backend') @section('css_before') <!-- Page JS Plugins CSS --> <link rel="stylesheet" href="{{ asset('js/plugins/datatables/dataTables.bootstrap4.css') }}"> <link rel="stylesheet" href="{{ asset('js/plugins/datatables/buttons-bs4/buttons.bootstrap4.min.css') }}"> @endsection @section('js_after') <!-- Page JS Plugins --> <script src="{{ asset('js/plugins/datatables/jquery.dataTables.min.js') }}"></script> <script src="{{ asset('js/plugins/datatables/dataTables.bootstrap4.min.js') }}"></script> <script src="{{ asset('js/plugins/datatables/buttons/dataTables.buttons.min.js') }}"></script> <script src="{{ asset('js/plugins/datatables/buttons/buttons.print.min.js') }}"></script> <script src="{{ asset('js/plugins/datatables/buttons/buttons.html5.min.js') }}"></script> <script src="{{ asset('js/plugins/datatables/buttons/buttons.flash.min.js') }}"></script> <script src="{{ asset('js/plugins/datatables/buttons/buttons.colVis.min.js') }}"></script> <!-- Page JS Code --> <script src="{{ asset('js/pages/tables_datatables.js') }}"></script> @endsection @section('content') <!-- Hero --> <div class="bg-body-light"> <div class="content content-full"> <div class="d-flex flex-column flex-sm-row justify-content-sm-between align-items-sm-center"> <h1 class="flex-sm-fill h3 my-2">Accepted Request List</h1> <nav class="flex-sm-00-auto ml-sm-3" aria-label="breadcrumb"> <ol class="breadcrumb breadcrumb-alt"> <li class="breadcrumb-item"> <a class="link-fx" href="{{ route('dashboard') }}">Dashboard</a> </li> <li class="breadcrumb-item" aria-current="page">Order Requests</li> </ol> </nav> </div> </div> </div> <div class="content"> <!-- Dynamic Table Full --> <div class="block block-rounded"> <div class="p-3"> <div class="row"> <div class="col-sm-12 col-md-12 text-right"> {{-- <div class="block-header add-btn"> <a href="{{ route('products.create') }}"><i class="fas fa-plus"></i> Product</a> </div> --}} </div> </div> </div> <div class="block-content block-content-full"> <!-- DataTables init on table by adding .js-dataTable-full class, functionality is initialized in js/pages/be_tables_datatables.min.js which was auto compiled from _js/pages/be_tables_datatables.js --> <table class="table table-bordered table-striped table-vcenter js-dataTable-full"> <thead> <tr> <th style="width: 5%;" class="text-center" style="width: 80px;">S.No</th> <th style="width: 15%;">Order ID</th> <th style="width: 20%;">User</th> <th style="width: 8%;">Total Quantity</th> <th style="width: 15%;">Type</th> <th style="width: 15%;">Date</th> <th style="width: 20%;">Action</th> </tr> </thead> <tbody> @foreach ($orders as $order) <tr> <td>{{$loop->index+1}}</td> <td>{{strtoupper($order->ordername_id)}}</td> <td>{{strtoupper($order->user->name)}}</td> <td>{{$order->total_quantity}}</td> <td>{{$order->order_type}}</td> <td>{{date('d-m-Y', strtotime($order->created_at))}}</td> <td> <a href="{{ route('orders.rejectorder',[$order->id]) }}" class="btn btn-danger btn-sm">Reject</a> <a href="{{ route('orders.detail',[$order->id]) }}"> <button type="button" class="btn btn-primary btn-sm" data-toggle="click-ripple"> <i class="far fa-eye"></i> </button> </a> </td> </tr> @endforeach </tbody> </table> </div> </div> <!-- END Dynamic Table Full --> </div> @endsection @push('script') <script> function submitForm(btn) { // disable the button btn.disabled = true; // submit the form btn.form.submit(); } </script> @endpush