-
-
Will Call
-
Scheduled
-
Request
+
+
+ if ($_SESSION['ss_LEVEL'] < 7) { ?>
+
+ } ?>
+
+
+ Will Call
+ Scheduled
+ Request
+
diff --git a/public_html/doc/map.php b/public_html/doc/map.php
index ca71b97..3e7a136 100644
--- a/public_html/doc/map.php
+++ b/public_html/doc/map.php
@@ -404,9 +404,15 @@ function popup(){
- | Sludge |
+ Sludge (%) |
-
+
+
+
+
+
+
+
|
@@ -598,6 +604,10 @@ function popup(){
+
+ | Restaurant Name |
+ Name |
+
| Payment Type |
Cheque |
@@ -1639,6 +1649,8 @@ function popup(){
lastPickupDate: json.result[i]['last_pickup_date'],
lastPaidDate: json.result[i]['last_paid_date'],
duid: json.result[i]['duid'],
+ druid: json.result[i]['druid'],
+ rnote: json.result[i]['rnote'],
if ($_SESSION['ss_LEVEL'] == 9) { ?>
orderFlag: json.result[i]['orderFlag']
@@ -1970,7 +1982,7 @@ function popup(){
}
function showShortInfo(id){
-
+
let loadingTxt = 'Loading...';
jQuery("#customerShortInfo .shortinfo-payment-type").text(loadingTxt);
jQuery("#customerShortInfo #c_comment_ri,#customerShortInfo #c_location").val(loadingTxt).attr("disabled","disabled");
@@ -1986,6 +1998,7 @@ function popup(){
var rstInqShortInfo = function(json) {
jQuery("#customerShortInfo .c_uid").val(json.result['id']);
+ jQuery("#customerShortInfo .shortinfo-store-name").text(json.result['name']);
jQuery("#customerShortInfo .shortinfo-payment-type").text(json.result['payment_type']);
jQuery("#customerShortInfo .shortinfo-payment-string").text(json.result['paymentstring']);
jQuery("#customerShortInfo #c_comment_ri").val(json.result['comment']).attr("disabled",false);
@@ -2126,7 +2139,7 @@ function popup(){
${property.rate}
|
-
+
| Phone |
@@ -2134,14 +2147,6 @@ function popup(){
${property.phone}
-
-
- | Address |
-
- ${property.address}
-
- |
-
| Forecast |
@@ -2161,21 +2166,33 @@ function popup(){
|
+
+
-
- `;
+
+ `;
if(`${property.date}` === 'null') {
- innerHtml += ``;
- innerHtml += ``;
+ innerHtml += ``;
+ innerHtml += ``;
}else{
- innerHtml += ``;
- innerHtml += ``;
+ innerHtml += ``;
+ innerHtml += ``;
}
- innerHtml += `
-
-
+ innerHtml += `
+
+
@@ -2199,4 +2216,27 @@ function popup(){
jQuery(".loading-overlay").css("display","none");
}
+
+
+
\ No newline at end of file
diff --git a/public_html/include/arrayinfo.php b/public_html/include/arrayinfo.php
index c7d100b..4102412 100644
--- a/public_html/include/arrayinfo.php
+++ b/public_html/include/arrayinfo.php
@@ -1,5 +1,6 @@
-
+$yearNow = date('Y');
+$yearLast = $yearNow - 1;
// Array
$arrStatus = array ('I' => 'Inactive', 'A' => 'Active', 'H' => 'Hold', 'D' => 'Delete', 'F' => 'Finish' );
$arrPaymenttype = array ('CA' => 'Cash', 'CHQ' => 'Cheque', 'DIRECT' => 'Direct Deposit', 'DONATION' => 'Donation', 'EFT' => 'EFT',
@@ -78,4 +79,22 @@ $receiptArray = array(
"d_visitdateSTR"=>"Date", "d_nameSTR"=>"Restaurant Name", "d_accountnoSTR"=>"Account No", "d_addressSTR"=>"Address",
"d_driverSTR"=>"Driver", "d_quantity"=>"Oil Quantity", "d_payamount"=>"Paid"
);
+
+$forecastArray = array(
+ "list_numberSTR"=>"No"
+ , "c_nameSTR"=>"Restaurant Name"
+ , "c_accountno"=>"Account"
+ , "c_maincontainer"=>"Container"
+ , "c_containerSTR"=>"Detail"
+ , "c_paymenttype"=>"Payment"
+ , "c_rate"=>"Rate"
+ , "c_addressSTR"=>"Address"
+ , "c_city"=>"City"
+ , "getLastYearQ"=>$yearLast
+ , "getThisYearQ"=>$yearNow
+ , "c_fullcycleSTR"=>"Cycle"
+ , "c_mainvolume"=>"Main Vol."
+ , "c_lastpickupdateSTR"=>"Last PU"
+ , "c_fullquantitySTR"=>"Liter"
+ );
?>
\ No newline at end of file