diff --git a/admin/controllers/auto/Cars.php b/admin/controllers/auto/Cars.php index 70755a34..7f1f05ae 100644 --- a/admin/controllers/auto/Cars.php +++ b/admin/controllers/auto/Cars.php @@ -101,6 +101,7 @@ class Cars extends HD_Controller{ 'title' => $title, 'status' => $v['status'], 'price_car' => $v['price_car'] > 0 ? $v['price_car'] : '0.00', + 'price_book' => $v['price_book'] > 0 ? $v['price_book'] : '0.00', 'price_insure' => $v['price_insure'] > 0 ? $v['price_insure'] : '0.00', 'price_fine' => $v['price_fine'] > 0 ? $v['price_fine'] : '0.00', 'price_finance' => $v['price_finance'] > 0 ? $v['price_finance'] : '0.00', @@ -149,6 +150,7 @@ class Cars extends HD_Controller{ 'sery_name' => $row_sery['name'], 'attr' => $attr, 'price_car' => $row['price_car'] > 0 ? $row['price_car'] : '', + 'price_book' => $row['price_book'] > 0 ? $row['price_book'] : '', 'price_insure' => $row['price_insure'] > 0 ? $row['price_insure'] : '', 'price_fine' => $row['price_fine'] > 0 ? $row['price_fine'] : '', 'price_finance' => $row['price_finance'] > 0 ? $row['price_finance'] : '', @@ -254,6 +256,7 @@ class Cars extends HD_Controller{ $upd = array( 'price_car' => floatval($info['price_car']), + 'price_book' => floatval($info['price_book']), 'price_insure' => floatval($info['price_insure']), 'price_fine' => floatval($info['price_fine']), 'price_finance' => floatval($info['price_finance']), diff --git a/admin/views/auto/cars/lists.php b/admin/views/auto/cars/lists.php index 18be9543..d109d659 100644 --- a/admin/views/auto/cars/lists.php +++ b/admin/views/auto/cars/lists.php @@ -45,13 +45,14 @@ ID -