0){ while($set_tot = mysqli_fetch_assoc($get_tot)){ $sub_tot+=$set_tot['tot_price']; } } $get_info = mysqli_query($conn, "SELECT * FROM shop_user where user_id = '".$set_deal['dealer_id']."'"); $set_info = mysqli_fetch_assoc($get_info ); $ref_no='DE'.str_pad($set_deal['id'], 4, "0", STR_PAD_LEFT); ?> 0) { while ($set_user = mysqli_fetch_assoc($get_user)){ array_push($disc_arr, $set_user['user_id']); } } $get_disc = mysqli_query($conn, "SELECT discount FROM shop_user where user_id='$dealer_id'"); $set_disc = mysqli_fetch_assoc($get_disc); $disc = $set_disc['discount']; $arr = array("11363"); if(in_array($dealer_id, $disc_arr)){ ?>
No Stock
Cancel
Add Med
Cash Bill
GST Bill
1/3 Bill




Contact:
Order Id :
Date : REQUEST AMOUNT :

Anbu Phaarmaa

> >
# Product Content Rate Request Amount Edit
TOTAL:
% DISCOUNT:
NET TOTAL:

Energy Foods

> >
# Product Content Rate Request Amount Edit
TOTAL:
% DISCOUNT:
NET TOTAL:
PRINT
No Stock
Cancel
Add Med
Cash Bill
GST Bill
1/3 Bill




Contact:
Order Id :
Date : REQUEST AMOUNT :

Anbu Phaarmaa

> >
# Product Content Rate Request Amount Edit
TOTAL:

Energy Foods

> >
# Product Content Rate Request Amount Edit
TOTAL:
PRINT
No Stock
Cancel
Add Med
Cash Bill
GST Bill
1/3 Bill




Contact:
Order Id :
Date : REQUEST AMOUNT :

Anbu Phaarmaa

> >
# Product Content Rate Request Amount Edit
TOTAL:

Energy Foods

> >
# Product Content Rate Request Amount Edit
TOTAL:
PRINT