fix skit2 jer tido jer lebih
This commit is contained in:
@@ -8,6 +8,18 @@ use Illuminate\Support\Facades\Auth;
|
||||
|
||||
class SemakController extends Controller
|
||||
{
|
||||
public function SemakSAG()
|
||||
{
|
||||
$auth_user = Auth::user();
|
||||
|
||||
$belum_tebus = Http::get(config('api.url') . '/api/customers/'. $auth_user['icno'] . '/gadai/' . 'belum_tebus')->json();
|
||||
|
||||
if(sizeof($belum_tebus) > 0)
|
||||
$belum_tebus = $belum_tebus[0];
|
||||
|
||||
return view('semak.semaksag', compact('belum_tebus'));
|
||||
}
|
||||
|
||||
public function SenaraiSAG()
|
||||
{
|
||||
$auth_user = Auth::user();
|
||||
|
||||
Reference in New Issue
Block a user