<?php

// use App\Http\Controllers\Auth\AuthController;
// use Illuminate\Http\Request;
// use Illuminate\Support\Facades\Route;
// use App\Http\Controllers\PumpController;
// use App\Http\Controllers\TankController;
// use App\Http\Controllers\ClintController;
// use App\Http\Controllers\CouponController;
// use App\Http\Controllers\SupplyController;
// use App\Http\Controllers\SpentCouponController;
// use App\Http\Controllers\DistributionController;

/*
|--------------------------------------------------------------------------
| API Routes
|--------------------------------------------------------------------------
|
| Here is where you can register API routes for your application. These
| routes are loaded by the RouteServiceProvider within a group which
| is assigned the "api" middleware group. Enjoy building your API!
|
*/

// Route::middleware('auth:sanctum')->get('/user', function (Request $request) {
//     return $request->user();
// });


// this route for test

// ##Tank
// Route::get('/Tanklist',[TankController::class,'index'])->name('Tanklist');
// Route::post('/storeTank',[TankController::class,'store'])->name('storeTank');
// Route::get('/editTank/{tankId}',[TankController::class,'edit'])->name('editTank');
// Route::post('/updateTank/{tankId}',[TankController::class,'update'])->name('updatePump');
// Route::get('/toggleTank/{tankId}',[TankController::class,'toggle'])->name('toggleTank');

// ##Pump
// Route::get('/pump/list',[PumpController::class,'index'])->name('Pumplist ');
// Route::post('/storePump',[PumpController::class,'store'])->name('storePump ');
// Route::get('/editPump/{pumpId}',[PumpController::class,'edit'])->name('editPump ');
// Route::post('/updatePump/{pumpId}',[PumpController::class,'update'])->name('updatePump ');
// Route::get('/togglePump/{pumpId}',[PumpController::class,'toggle'])->name('togglePump ');

// ##Coupon
// Route::get('/Couponlist',[CouponController::class,'index'])->name('Couponlist');
// Route::post('/storeCoupon',[CouponController::class,'store'])->name('storeCoupon');
// Route::get('/showCoupon',[CouponController::class,'show'])->name('show');
// Route::get('/editCoupon/{couponId}',[CouponController::class,'edit'])->name('editCoupon');
// Route::post('/updateCoupon/{couponId}',[CouponController::class,'update'])->name('updateCoupon');
// Route::get('/toggleCoupon/{couponId}',[CouponController::class,'toggle'])->name('toggleCoupon');
// Route::get('/getReadyCoupon/print',[CouponController::class,'getReadyCoupon'])->name('printReadyCoupon');
// ##Supply
// Route::get('/SupplyList',[SupplyController::class,'index'])->name('SupplyList');
// Route::post('/storeSupply',[SupplyController::class,'store'])->name('storeSupply');
// Route::get('/editSupply/{supplyId}',[SupplyController::class,'edit'])->name('editSupply');
// Route::post('/updateSupply/{supplyId}',[SupplyController::class,'update'])->name('updateSupply');
// Route::get('/toggleSupply/{supplyId}',[SupplyController::class,'toggle'])->name('toggleSupply');
