providers page
This commit is contained in:
@@ -14,6 +14,29 @@ class Provider extends SecureBaseController
|
||||
return $this->renderProviderSecurePage('dash', $data);
|
||||
}
|
||||
|
||||
public function ProviderProduct($productID){
|
||||
$this->product_model = new \App\Models\Product_model();
|
||||
$data['product'] = $this->product_model->getProducts($productID); // $product_array;
|
||||
//var_dump($data);
|
||||
//exit;
|
||||
/*
|
||||
array (size=1)
|
||||
'product' =>
|
||||
array (size=1)
|
||||
0 =>
|
||||
array (size=9)
|
||||
'id' => string '1' (length=1)
|
||||
'uid' => string 'e92282b4-3ee1-4026-92ac-12cfd214b43a' (length=36)
|
||||
'product_id' => string 'A000001' (length=7)
|
||||
'name' => string 'Personal Website' (length=16)
|
||||
'description' => string 'Your personal professional web presence' (length=39)
|
||||
'status' => string '1' (length=1)
|
||||
'added' => string '2024-10-26 14:53:16.650035' (length=26)
|
||||
'updated' => string '2024-10-26 14:53:16.650035' (length=26)
|
||||
'banner' => string 'banner.jpg' (length=10)
|
||||
*/
|
||||
return $this->providerSecurePage('product', $data);
|
||||
}
|
||||
|
||||
public function alerts() {
|
||||
$data = array();
|
||||
@@ -65,8 +88,5 @@ class Provider extends SecureBaseController
|
||||
$this->renderProviderSecurePage('dash', $data);
|
||||
}
|
||||
|
||||
public function ProviderProduct($productID){
|
||||
$data = array();
|
||||
return $this->providerSecurePage('product', $data);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user