0) { ?>
$row_book_details['book_id'], 'id' => $row_book_details['id'], 'name' => $row_book_details['name'], 'price' => $row_book_details['price'] ) ); if (!empty($vat)) { $price_temp = round($row_book_details['price'] + ($row_book_details['price']*$vat)/100, 2); } ?>
العميل
# الخدمات السعر
المجموع
= '$date_time' AND `activation_id` = 2 "); $discount_p = 0; $discount_style = ''; $discount_status = array(); if (mysqli_num_rows($get_from_to_offers_sql) > 0) { while ($row_from_to_offers = mysqli_fetch_assoc($get_from_to_offers_sql)) { $from_to_offers_id = $row_from_to_offers['id']; for ($i=0; $i < count($services_ids); $i++) { $services_id_temp = $services_ids[$i]['id']; $get_from_to_offers_has_services_sql = mysqli_query($db, "SELECT * FROM `from_to_offers_has_services` WHERE `from_to_offers_id` = $from_to_offers_id AND `services_id` = $services_id_temp "); if (mysqli_num_rows($get_from_to_offers_has_services_sql) > 0) { switch ($row_from_to_offers['type_discount_id']) { case 2: $discount_p = $row_from_to_offers['discount']; $discount_style = $row_from_to_offers['discount'] . 'ريال'; break; case 3: $discount_p = ($row_from_to_offers['discount']/100) * $services_ids[$i]['price']; $discount_style = $row_from_to_offers['discount'] . '%'; break; } array_push($discount_status, array( 's_id' => $services_id_temp, 'name' => $row_from_to_offers['name'], 'discount_style' => $discount_style, 'discount' => $discount_p, 's_name' => $services_ids[$i]['name'] ) ); } } } } $count_temp_2 = 1; $discount_temp = 0; $total_discount_w_vat = 0; $total_discount = 0; if (count($discount_status) == 0) { ?>
الخصومات
# الخدمة الخصم سبب الخصم مبلغ الخصم
لا يتوفر اي خصم للعميل
المجموع

المبلغ المستحق ريال

0) { ?> $row_tretment_has_service['id'], 'name' => $row_tretment_has_service['name'], 'how_many' => $row_tretment_has_service['how_many'] ) ); ?>
رصيد الخدمات
الخدمة العدد
غير متوفر
رصيد اموال
0 ريال
رصيد نقاط
0 نقطة
خدمات مجانية
الخدمة العدد
# #
غير متوفر
1) { for ($u=0; $u < $canUse[$i]['how_many']; $u++) { ?>
يمكن الاستفادة
لا يوجد
لا يمكن الاستفادة
لا يوجد

2

3

4


كاش


شبكة



سداد