Changeset 1959608
- Timestamp:
- 10/20/2018 06:48:26 AM (7 years ago)
- Location:
- rms-interaction/trunk
- Files:
-
- 3 edited
-
app/ctrs/OrderCtr.php (modified) (1 diff)
-
assets/js/rms-order-form.js (modified) (1 diff)
-
rms.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
rms-interaction/trunk/app/ctrs/OrderCtr.php
r1957987 r1959608 32 32 foreach ($meta_label as $key => $value) { 33 33 $meta_data[$meta_label[$key]] = $meta_value[$key] ; 34 } 35 if(($meta_data==null)&&($meta_label!=null)) 36 { 37 $meta_data[$meta_label] = $meta_value ; 34 38 } 35 39 $meta_data=json_encode($meta_data); -
rms-interaction/trunk/assets/js/rms-order-form.js
r1957638 r1959608 143 143 144 144 $(function(){ 145 146 $('#price').on("change", function(evt) {147 148 var product_price = $("#price");149 var sale_price = $("#saleprice");150 151 if ((parseInt(product_price.val()) > 0) && ( parseInt(product_price.val()) < parseInt(sale_price.val()))) {152 153 evt.preventDefault();154 $(this).val("");155 alert("Giá bán sản phẩm phải nhỏ hơn hoặc bằng giá sản phẩm");156 $("#price").focus();157 }158 });159 160 $('#saleprice').on("change", function(evt) {161 162 var product_price = $("#price");163 var sale_price = $("#saleprice");164 165 if ((parseInt(product_price.val()) > 0) && ( parseInt(product_price.val()) < parseInt(sale_price.val()))) {166 167 evt.preventDefault();168 $(this).val("");169 alert("Giá bán sản phẩm phải nhỏ hơn hoặc bằng giá sản phẩm");170 171 $("#saleprice").focus();172 }173 });174 145 175 146 var MaxInputs = 100; -
rms-interaction/trunk/rms.php
r1959133 r1959608 4 4 Plugin URI: https://rms.com.vn 5 5 Description: 6 Version: 1.6.2. 36 Version: 1.6.2.4 7 7 Author: Referral Marketing Solution (RMS) 8 8 */
Note: See TracChangeset
for help on using the changeset viewer.