diff --git a/public_html/assets/css/leftside-modal.css b/public_html/assets/css/leftside-modal.css index 532e295..87268d8 100644 --- a/public_html/assets/css/leftside-modal.css +++ b/public_html/assets/css/leftside-modal.css @@ -214,7 +214,7 @@ button.close { align-items: center; justify-content: space-between; position: relative; - padding: 15px; + padding: 0 15px 0 15px; border-bottom: 1px solid #e5e5e5; } @@ -229,7 +229,7 @@ button.close { .modal-title { flex: none; - width: 250px !important; + width: 350px !important; text-align: left; white-space: normal; word-wrap: break-word; diff --git a/public_html/assets/css/main.css b/public_html/assets/css/main.css index d8d5f36..94dbf79 100644 --- a/public_html/assets/css/main.css +++ b/public_html/assets/css/main.css @@ -56,6 +56,11 @@ /*-------------------------------------------------------------- # General --------------------------------------------------------------*/ +#map { + margin-top: 25px; + height: 100%; +} + body { font-family: var(--font-default); color: var(--color-default); @@ -1693,11 +1698,13 @@ table.table-search-report .tb-list th { background-color:white; padding: 5px; border-radius: 5px; - width: 350px; + width: 450px; user-select: none; transform: none !important; cursor:default; position: relative; + pointer-events: auto; + z-index: 9999999999999999; } .address-row { @@ -1705,11 +1712,11 @@ table.table-search-report .tb-list th { justify-content: space-between; align-items: stretch; padding: 0; - margin: 0; + margin-bottom: 5px; } .address-title { - width: 40%; + width: 25%; padding: 5px 10px; font-size: 14px; font-weight: 500; @@ -1723,7 +1730,7 @@ table.table-search-report .tb-list th { } .address-content { - width: 60%; + width: 75%; padding: 5px 10px; font-size: 14px; color: #fff; diff --git a/public_html/assets/css/mapMAPCSS.css b/public_html/assets/css/mapMAPCSS.css index 3d85ddb..1b2685c 100644 --- a/public_html/assets/css/mapMAPCSS.css +++ b/public_html/assets/css/mapMAPCSS.css @@ -592,6 +592,9 @@ input#Liter{ border: 1px solid var(--orange-color); color: #fff; } + #sidebar-map tr td { + padding-bottom: 5px; + } #sidebar-map .container-chk { position: relative; padding-left: 31px; diff --git a/public_html/assets/internal_api.php b/public_html/assets/internal_api.php index cf08e15..c8a32de 100644 --- a/public_html/assets/internal_api.php +++ b/public_html/assets/internal_api.php @@ -1140,6 +1140,7 @@ class API extends CONF { td.d_payeename, td.d_payeesign, td.d_sludge, + td.d_rate, tc.c_sludge, tc.c_paymenttype, tc.c_name @@ -1177,6 +1178,7 @@ class API extends CONF { "d_sludge" => $rstInput['c_sludge'], "d_paymenttype" => $rstInput['c_paymenttype'], "d_name" => $rstInput['c_name'], + "d_rate" => $rstInput['d_rate'], "d_note" => $noteSTR ); } diff --git a/public_html/doc/map.php b/public_html/doc/map.php index 8777bc3..fa0ade3 100644 --- a/public_html/doc/map.php +++ b/public_html/doc/map.php @@ -122,9 +122,9 @@ - + @@ -160,9 +160,9 @@ - - - + - + - + - + + + + + + @@ -1399,6 +1404,7 @@ function popup(){ var rstInitInput = function(json) { jQuery("#map-modal-input .shortinput-store-name").text(json.result['d_name']); + jQuery("#map-modal-input .shortinput-rate").text(json.result['d_rate']); jQuery("#map-modal-input .d_driveruid").val(json.result['d_driveruid']); jQuery("#map-modal-input .d_paymenttype").val(json.result['d_paymenttype']); jQuery("#map-modal-input .d_sludge").val(json.result['d_sludge']); @@ -1771,15 +1777,15 @@ function popup(){ url: "data:image/svg+xml;charset=UTF-8," + encodeURIComponent(` - - + - ${count} + ${count} `), - scaledSize: new google.maps.Size(40, 40), - anchor: new google.maps.Point(10, 10), + scaledSize: new google.maps.Size(30, 30), + anchor: new google.maps.Point(15, 15), }, zIndex: Number(google.maps.Marker.MAX_ZINDEX) + count, @@ -2391,12 +2397,10 @@ function popup(){
@@ -399,6 +399,11 @@ function popup(){
RateRate
Oil Quantity
- - + - - - - - - - - + - - - + @@ -2452,21 +2449,20 @@ function popup(){ -
- - `; + + `; if(`${property.date}` === 'null') { - innerHtml += ``; - innerHtml += ``; + innerHtml += ``; + innerHtml += ``; }else{ - innerHtml += ``; - innerHtml += ``; + innerHtml += ``; + innerHtml += ``; } - innerHtml += ` - - + innerHtml += ` + +
@@ -2474,7 +2470,6 @@ function popup(){ content.innerHTML = innerHtml; return content; } - var rstInqMapCenter = function(json) { center = { lat: parseFloat(json.geo['lat']), lng: parseFloat(json.geo['lon']) }; @@ -2521,4 +2516,19 @@ async function forceRefresh() { } window.location.reload(); } + +$('.point-overlay').on( + 'click mousedown mouseup touchstart touchend pointerdown pointerup', + function (e) { + e.stopPropagation(); + } +); + +$('.point-overlay *').on( + 'click mousedown mouseup touchstart touchend pointerdown pointerup', + function (e) { + e.stopPropagation(); + } +); + \ No newline at end of file
Account + Account ${property.accountno}
Container ${property.maincontainer} @@ -2407,34 +2411,27 @@ function popup(){ ${property.paymentType}
Rate ${property.rate}
Phone ${property.phone}
Forecast ${property.estqty}
Last Pickup DateLast Pickup ${property.lastPickupDate}
Last Paid DateLast Paid ${property.lastPaidDate}