diff --git a/guest_view_invoice.php b/guest_view_invoice.php index a8bb852b..6ad9c595 100644 --- a/guest_view_invoice.php +++ b/guest_view_invoice.php @@ -35,6 +35,11 @@ if(isset($_GET['invoice_id'], $_GET['url_key'])){ if(strlen($client_phone)>2){ $client_phone = substr($row['client_phone'],0,3)."-".substr($row['client_phone'],3,3)."-".substr($row['client_phone'],6,4); } + $client_extension = $row['client_extension']; + $client_mobile = $row['client_mobile']; + if(strlen($client_mobile)>2){ + $client_mobile = substr($row['client_mobile'],0,3)."-".substr($row['client_mobile'],3,3)."-".substr($row['client_mobile'],6,4); + } $client_website = $row['client_website']; $client_net_terms = $row['client_net_terms']; if($client_net_terms == 0){ @@ -145,7 +150,7 @@ if(isset($_GET['invoice_id'], $_GET['url_key'])){
  • -
  • P:
  • +
  • @@ -156,8 +161,9 @@ if(isset($_GET['invoice_id'], $_GET['url_key'])){
  • -
  • P:
  • -
  • E:
  • +
  • +
  • +
  • diff --git a/guest_view_quote.php b/guest_view_quote.php index c37db2e5..2cc5a4ef 100644 --- a/guest_view_quote.php +++ b/guest_view_quote.php @@ -35,6 +35,11 @@ if(isset($_GET['quote_id'], $_GET['url_key'])){ if(strlen($client_phone)>2){ $client_phone = substr($row['client_phone'],0,3)."-".substr($row['client_phone'],3,3)."-".substr($row['client_phone'],6,4); } + $client_extension = $row['client_extension']; + $client_mobile = $row['client_mobile']; + if(strlen($client_mobile)>2){ + $client_mobile = substr($row['client_mobile'],0,3)."-".substr($row['client_mobile'],3,3)."-".substr($row['client_mobile'],6,4); + } $client_website = $row['client_website']; $client_net_terms = $row['client_net_terms']; if($client_net_terms == 0){ @@ -120,7 +125,7 @@ if(isset($_GET['quote_id'], $_GET['url_key'])){
  • -
  • P:
  • +
  • @@ -132,8 +137,9 @@ if(isset($_GET['quote_id'], $_GET['url_key'])){
  • -
  • P:
  • -
  • E:
  • +
  • +
  • +