PATH:
home
/
centosnipponia
/
public_html
/
eccity
/
resources
/
views
@extends('adminlte::page') @section('title', 'All Motorcycles') @section('plugins.Datatables', true) @section('content_header') <h1>All Motorcycles Sold</h1> @stop @php //var_dump($heads_motos); $heads_motos = [ 'Model', 'color', 'VIN', 'PO', ['label' => 'Actions', 'no-export' => true], ]; $config = [ 'order' => [[1, 'asc']], 'columns' => [null, null, null, ['orderable' => false]], ]; @endphp @section('content') @php $config['dom'] = '<"row" <"col-sm-7" B> <"col-sm-5 d-flex justify-content-end" i> > <"row" <"col-12" tr> > <"row" <"col-sm-12 d-flex justify-content-start" f> >'; $config['paging'] = false; $config["lengthMenu"] = [ 10, 50, 100, 500]; @endphp <div class="row"> <div class="col-md-2 mb-5"> </div> <div class="col-md-6 mb-5"> <h1>Motorcycles Sold</h1> <x-adminlte-datatable id="table_invoices" :heads="$heads_motos" striped hoverable with-buttons> @foreach(App\Models\Motos::whereNotNull('sold')->where('sold','=',1)->where('invoiced','=',1)->get() as $moto) <tr><td>{{ $moto->model }}</td><td>{{ $moto->color }}</td><td>{{ $moto->VIN }}</td><td>{{ $moto->PO }}</td><td><a href=@php echo url("/moto_edit_form?motoid={$moto->id}"); @endphp><button class="btn btn-xs btn-default text-primary mx-1 shadow" title="Edit"> <i class="fa fa-lg fa-fw fa-pen"></i> </button></a> <button class="btn btn-xs btn-default text-teal mx-1 shadow" title="Details" data-toggle="modal" data-target="#exampleModal"><i class="fa fa-lg fa-fw fa-eye"></i></button> </td></tr> @endforeach </x-adminlte-datatable> </div> </div> @include('offcanvas.moto_view') @stop @section('css') <link rel="stylesheet" href="/css/admin_custom.css"> @stop @section('js') <script> console.log('Hi!'); </script> @stop
[+]
..
[+]
auth
[-] moto_edit_form.blade.php
[edit]
[-] user_create_form.blade.php
[edit]
[+]
layouts
[-] home.blade.php
[edit]
[-] user_edit_form.blade.php
[edit]
[-] sold_moto_chart.blade.php
[edit]
[-] moto_list.blade.php
[edit]
[-] to_be_invoiced.blade.php
[edit]
[-] sold_moto_list.blade.php
[edit]
[-] sparts_sale_form.blade.php
[edit]
[-] sparts_create_form.blade.php
[edit]
[-] user_list.blade.php
[edit]
[-] splist.blade.php
[edit]
[-] welcome.blade.php
[edit]
[+]
offcanvas
[-] .htaccess.disabled
[edit]