0) { while($row = mysql_fetch_array($query)) { $customer_id = $row['customer_id']; $delivery_timing = $row['delivery_timing']; $delivery_amount = $row['delivery_amount']; $coupon_id = $row['coupon_id']; $grand_total_discount = $coupon_discount = number_format($row['coupon_discount'],2); $date = $row['date']; } $qry=mysql_query("select * from customer where id = '$customer_id' "); while($res = mysql_fetch_assoc($qry)) { $areacat = $res['area_catagory']; $fullname = $res['title']." ".$res['name']; $card_number = $res['card_number']; $dfd = mysql_query("select * from area_details where id = '$areacat' "); while($sdfsd = mysql_fetch_array($dfd)) { $areaname = $sdfsd['areatitle']."(".$sdfsd['areacode'].")"; } $subareacat = $res['area_sub_catagory']; $subareaname = ""; $dfd = mysql_query("select * from sub_area_details where id = '$subareacat' "); while($sdfsd = mysql_fetch_array($dfd)) { $subareaname = $sdfsd['subareatitle']; } $address = $res['address'].'
'. $subareaname .'
'. $areaname; } ?>
thahryamal
S201,IInd floor,Time square,vidhyadhar Nagar,Jaipur
web-www.thahryamal.in  Email: info@thahryamal.in
contact-9587807111,9587817111
Inverse No.
 
Date
 
Supplier's Ref.
 
Other Refrence(s)
 
Buyer's Order No.
 
Dated
 
Dispatch Doc. No.
 
Dated
 
Dispatched through
 
Description
 
Terms of Delivery
 
 
Byer
()
 
999) { $que = mysql_query("SELECT * FROM weight_type where id = 1 "); while($rrr = mysql_fetch_array($que)) { $dsfds = $rrr['weight_name']; } $item_quantity = ($net_weight/1000)." ".$dsfds; } elseif($weight_type == 4 and $net_weight > 999) { $que = mysql_query("SELECT * FROM weight_type where id = 2 "); while($rrr = mysql_fetch_array($que)) { $dsfds = $rrr['weight_name']; } $item_quantity = ($net_weight/1000)." ".$dsfds; } elseif($weight_type == 1 or $weight_type == 2) { $que = mysql_query("SELECT * FROM weight_type where id = '$weight_type' "); while($rrr = mysql_fetch_array($que)) { $dsfds = $rrr['weight_name']; } $item_quantity = ($net_weight/1000)." ".$dsfds; } else { $que = mysql_query("SELECT * FROM weight_type where id = '$weight_type' "); while($rrr = mysql_fetch_array($que)) { $dsfds = $rrr['weight_name']; } $item_quantity = $net_weight." ".$dsfds; } if($itmode == 4) { ?> 0) { $query = mysql_query("SELECT * FROM coupon where id = '$coupon_id' "); while($row = mysql_fetch_array($query)) { $coupon_name = $row['coupon_name']; $discount = $row['discount']; $dis_type = $row['dis_type']; } if($dis_type == 1) { $fgfgfgf = " ( Rs. ".$discount." )"; $coupon_discount = $discount; } if($dis_type == 2) { $fgfgfgf = " ( ".$discount." % )"; $coupon_discount = ($discount/100)*$grand_net_price; } if($grand_net_price > 0) { $grand_net_price = $grand_net_price-$coupon_discount; } else $coupon_discount = 0; ?>
Description of Goods Quantity Rate Per Net Amount
(Not Delivered) - - - 00.00 INR
INR INR
Coupon : - - - - INR
Delivery Charges - - - INR
         
    Total Amount INR
         
Previous Balance (Receipt No. : ) - - - INR
         
         
Total     INR
Amount Chargable (In Words)
Rs. Only
E. & O.E.
Compant's VAT TIN : 80010565985
Declaration
FOR ANY COMPLAIN & FEEDBACK CALL ON
8386834073, 0141-4027643
For thahryamal


Authorised Signatory
THANKS!! HAVE A NICE DAY & VISIT AGAIN
1 ) { $commas = $commas - 1; } $words = implode( ', ' , $words ); $words = trim( str_replace( ' ,' , ',' , trim_all( ucwords( $words ) ) ) , ', ' ); if( $commas ) { $words = str_replace_last( ',' , '' , $words ); } return $words; } else if( ! ( ( int ) $num ) ) { return 'Zero'; } return ''; } function trim_all( $str , $what = NULL , $with = ' ' ) { if( $what === NULL ) { // Character Decimal Use // "\0" 0 Null Character // "\t" 9 Tab // "\n" 10 New line // "\x0B" 11 Vertical Tab // "\r" 13 New Line in Mac // " " 32 Space $what = "\\x00-\\x20"; //all white-spaces and control chars } return trim( preg_replace( "/[".$what."]+/" , $with , $str ) , $what ); } function str_replace_last( $search , $replace , $str ) { if( ( $pos = strrpos( $str , $search ) ) !== false ) { $search_length = strlen( $search ); $str = substr_replace( $str , $replace , $pos , $search_length ); } return $str; }