2){ $client_phone = substr($row['client_phone'],0,3)."-".substr($row['client_phone'],3,3)."-".substr($row['client_phone'],6,4); } $client_website = $row['client_website']; $client_net_terms = $row['client_net_terms']; if($client_net_terms == 0){ $client_net_terms = $config_default_net_terms; } $sql_history = mysqli_query($mysqli,"SELECT * FROM history WHERE quote_id = $quote_id ORDER BY history_id DESC"); //Set Badge color based off of quote status if($quote_status == "Sent"){ $quote_badge_color = "warning text-white"; }elseif($quote_status == "Viewed"){ $quote_badge_color = "primary"; }elseif($quote_status == "Approved"){ $quote_badge_color = "success"; }elseif($quote_status == "Cancelled"){ $quote_badge_color = "danger"; }else{ $quote_badge_color = "secondary"; } ?>

Quote

  • P:
  • P:
  • E:
Quote Date
Product Description Qty Price Tax Total
$ $ $
0){ ?> 0){ ?>
Subtotal $
Discount $
Tax $
Total $

History
Date Status Description