Changeset 2898736
- Timestamp:
- 04/13/2023 02:49:05 PM (3 years ago)
- Location:
- afterinc-app/trunk
- Files:
-
- 2 edited
-
Custom_app.php (modified) (2 diffs)
-
readme.txt (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
afterinc-app/trunk/Custom_app.php
r2898712 r2898736 2309 2309 if(isset($result[0]->contract_status) && $result[0]->contract_status == '200' && $result[0]->refund_amount !=''){ 2310 2310 $refundtxt = "<b>Cancelled By: <b>".$result[0]->contract_canceled_by."<br> Contract has been Cancelled Successfully ,We have initiated the Refund of "; 2311 $refundamtqty = $result[0]->refund_amount * $item['quantity']/100; 2311 //$refundamtqty = $result[0]->refund_amount * $item['quantity']/100; 2312 $refundamtqty = $result[0]->refund_amount * $item['quantity']; 2312 2313 $refundamt = number_format((float)$refundamtqty, 2, '.', ''); 2313 2314 … … 2504 2505 2505 2506 if(isset($results[0]->contract_status) && $results[0]->contract_status == '200' && $results[0]->refund_amount !=''){ 2506 $refundamtqty = $results[0]->refund_amount * $item['quantity']/100; 2507 //$refundamtqty = $results[0]->refund_amount * $item['quantity']/100; 2508 $refundamtqty = $results[0]->refund_amount * $item['quantity']; 2507 2509 $refundamt = number_format((float)$refundamtqty, 2, '.', ''); 2508 2510 echo '<p><button type="button" class="btn button-primary" data-orderId="'.esc_attr($productOrderId).'" data-lineItemID ="'.esc_attr($lineItemId).'" disabled=true style="cursor: not-allowed;">Cancelled '.esc_attr($pnameadmin).'</button></p><b>Cancelled By : '.esc_attr($results[0]->contract_canceled_by).'<b> <br>Contract has been cancelled successfully,We have initiated the <b>Refund of '.$this->get_currency_symbol().esc_attr($refundamt); -
afterinc-app/trunk/readme.txt
r2898712 r2898736 7 7 Requires PHP: 7.2 8 8 WC tested up to: 5.6.0 9 Stable tag: 3.5. 09 Stable tag: 3.5.1 10 10 License: GPLv3 11 11 License URI: https://www.afterinc.com
Note: See TracChangeset
for help on using the changeset viewer.