Fix order URL
All checks were successful
Create Docker Image / Build Docker Image (x86_64) (push) Successful in 35s
Create Docker Image / Final Docker Image Manifest (push) Successful in 9s

This commit is contained in:
Deon George 2024-07-25 14:09:24 +10:00
parent 743374cb17
commit 9277d42196
3 changed files with 4 additions and 17 deletions

View File

@ -13,18 +13,6 @@ use App\Models\{Account,Product,Service,User};
class OrderController extends Controller
{
// @todo To check
public function __construct()
{
$this->middleware('auth');
}
// @todo To check
public function index()
{
return view('theme.backend.adminlte.order.home');
}
// @todo To check
public function product_order(Product $o)
{

View File

@ -263,11 +263,10 @@ DO NOT request making changes to an active service here, it will not be processe
@endsection
@section('page-scripts')
<!-- @todo change to blade service provider -->
@themejs('plugin/jqBootstrapValidation/jqBootstrapValidation.js','jq-validation','jquery')
@themejs('//code.jquery.com/ui/1.12.1/jquery-ui.js','jquery-ui-js','jqery')
<script type="text/javascript" src="plugin/jqBootstrapValidation/jqBootstrapValidation.js"></script>
<script type="text/javascript" src="//code.jquery.com/ui/1.12.1/jquery-ui.js"></script>
<script>
<script type="text/javascript">
$(function () { $("input,select,textarea").not("[type=submit]").jqBootstrapValidation(); } );
$(document).ready(function () {

View File

@ -213,7 +213,7 @@ Route::group(['prefix'=>'u'],function() {
});
// Frontend
Route::get('order',[OrderController::class,'index']);
Route::view('order','theme.frontend.metronic.order.home');
Route::post('order',[OrderController::class,'submit']);
Route::get('product_order/{o}',[OrderController::class,'product_order']);