D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
home
/
forge
/
drhagerpharmacy.com
/
Modules
/
TaxModule
/
routes
/
api
/
v1
/
Filename :
api.php
back
Copy
<?php use Illuminate\Support\Facades\Route; use Modules\TaxModule\app\Http\Controllers\Api\V1\TaxController; /* |-------------------------------------------------------------------------- | 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::group(['prefix' => 'v1', 'as' => 'v1.'], function () { Route::group(['prefix' => 'vat-tax', 'as' => 'vat-tax.'], function () { Route::get('get-taxVat-list', [TaxController::class, 'getTaxVatList']); Route::post('get-calculated-tax', [TaxController::class, 'getCalculateTax']); }); });