done second

This commit is contained in:
hafifierahman
2021-09-14 22:52:14 +08:00
parent 557ec8cb3b
commit 8e585b8cc2
16 changed files with 532 additions and 156 deletions
+5
View File
@@ -28,6 +28,11 @@ class SemakController extends Controller
public function SenaraiSAG(Request $request)
{
$validated = $request->validate([
'sltcawangan' => 'required'
]);
$auth_user = Auth::user();
$belum_tebus = Http::get(config('api.url') . '/api/customers/'. $auth_user['icno'] . '/gadai/' . 'belum_tebus/' . $request->sltcawangan)->json();