You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
524 B
22 lines
524 B
<?php |
|
|
|
namespace App\Http\Controllers\API\v1\PeminjamanApi; |
|
|
|
use Illuminate\Http\Request; |
|
use App\Helpers\ResponseFormatter; |
|
use App\Http\Controllers\Controller; |
|
use App\Models\asset_status; |
|
use App\Models\BarangMasuk; |
|
|
|
class PeminjamanApiController extends Controller |
|
{ |
|
public function index() |
|
{ |
|
$peminjaman = \App\Models\asset_status::get(); |
|
|
|
return ResponseFormatter::success([ |
|
'message' => 'Data peminjaman berhasil diambil', |
|
'peminjam' => $peminjaman |
|
]); |
|
} |
|
}
|
|
|