Code Context }else if($product['Product']['offer_value']=='rs'){
$price=round($product['Product']['price']-$product['Product']['offer'],1);
$final=round($finalprice,1);
$product = array(
'Product' => array(
'id' => '83299',
'name' => 'ROLIMUS 5MG TABLET',
'common_name' => 'ROLIMUS5MGTABLET',
'category' => '146',
'price' => '5250',
'product_code' => '',
'description' => '',
'introduction' => '',
'side_effect' => '',
'product_usage' => '',
'product_faq' => '',
'image' => '',
'brand' => 'CIPLA LTD',
'brand_code' => 'CIP1132',
'packaging_type' => '10 TABLETS',
'featured' => '0',
'salt' => 'N/A',
'salt_code' => 'N/A1677',
'status' => '1',
'slug' => 'rolimus_5mg_tablet',
'quantity' => '0',
'min_quantity' => '0',
'offer' => '15%',
'offer_value' => 'rs',
'min_status' => '0',
'sub_tag' => '0',
'return_tag' => '0',
'todaysdeal' => '0',
'created' => '2020-11-30',
'modified' => '2020-11-30 14:11:19',
'offer_date' => null,
'new_arrival' => '0',
'recommended' => '0',
'cart_suggestion' => '0'
)
)
$category = array(
'Category' => array(
'id' => '146',
'parent_id' => '14',
'lft' => '2',
'rght' => '3',
'name' => 'tablets',
'image' => 'tablet-1.png',
'status' => 'publish',
'description' => '',
'meta_title' => '',
'meta_keywords' => '',
'meta_description' => '',
'slug' => 'tablets',
'slider_status' => '0',
'tab_status' => '0',
'created' => '2018-10-29'
)
)
$catList = array(
(int) 0 => '146',
(int) 1 => '148',
(int) 2 => '149',
(int) 3 => '150',
(int) 4 => '151',
(int) 5 => '154',
(int) 6 => '155',
(int) 7 => '156',
(int) 8 => '14'
)
$user = false
$i = 'salt5'
$class = 'col-md-3 botom'
$new_p = false
$name = 'Rolimus 5mg Tablet'
$slug = 'rolimus_5mg_tablet'
$iddd = '83299'
$p_stock = '0'
$img = 'img/uploads/categories/tablet-1.png'
$oldp = '5250'
$price = (float) 5235
$dicsount = '15%'
$disc = ''
$final = ''
$finalproce = ''
HtmlcodeHelper::newproducts() - APP/View/Helper/HtmlcodeHelper.php, line 70
include - APP/View/Categories/brand.ctp, line 71
View::_evaluate() - CORE/Cake/View/View.php, line 961
View::_render() - CORE/Cake/View/View.php, line 923
View::render() - CORE/Cake/View/View.php, line 473
Controller::render() - CORE/Cake/Controller/Controller.php, line 959
Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 200
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 167
[main] - APP/webroot/index.php, line 138