diff --git a/app/Http/Controllers/API/v1/TipePetiApi/TipePetiApiController.php b/app/Http/Controllers/API/v1/TipePetiApi/TipePetiApiController.php index 6884957..c42fd63 100644 --- a/app/Http/Controllers/API/v1/TipePetiApi/TipePetiApiController.php +++ b/app/Http/Controllers/API/v1/TipePetiApi/TipePetiApiController.php @@ -14,7 +14,7 @@ class TipePetiApiController extends Controller return ResponseFormatter::success([ 'status' => true, - 'message' => 'Data warehouse berhasil diambil', + 'message' => 'Data Tipe Peti berhasil diambil', 'tipe_peti' => $tipePeti ]); } diff --git a/config/app.php b/config/app.php index 9a47129..659ee64 100644 --- a/config/app.php +++ b/config/app.php @@ -83,7 +83,7 @@ return [ | */ - 'locale' => 'en', + 'locale' => 'id', /* |-------------------------------------------------------------------------- @@ -96,7 +96,7 @@ return [ | */ - 'fallback_locale' => 'en', + 'fallback_locale' => 'id', /* |-------------------------------------------------------------------------- @@ -109,7 +109,7 @@ return [ | */ - 'faker_locale' => 'en_US', + 'faker_locale' => 'id_ID', /* |-------------------------------------------------------------------------- diff --git a/routes/api.php b/routes/api.php index 3b4f57c..6005f77 100644 --- a/routes/api.php +++ b/routes/api.php @@ -47,6 +47,9 @@ Route::prefix('v1')->group(function () { Route::get('/m-type-peti', [App\Http\Controllers\API\v1\TipePetiApi\TipePetiApiController::class, 'index'])->name('type-peti'); Route::get('/m-kondisi-peti', [App\Http\Controllers\API\v1\KondisiPetiApi\KondisiPetiApiController::class, 'index'])->name('kondisi-peti'); + + Route::get('/m-transfer-peti', [App\Http\Controllers\API\v1\TransferApi\TransferApiController::class, 'index'])->name('transfer-peti'); + Route::post('/m-transfer-peti/store', [App\Http\Controllers\API\v1\TransferApi\TransferApiController::class, 'store'])->name('transfer-peti.store'); }); Route::middleware('auth:sanctum')->get('/user', function (Request $request) {