refund design

This commit is contained in:
CHIEFSOFT\ameye
2024-07-28 14:07:13 -04:00
parent 279dfbbd23
commit 3a7255706e
2 changed files with 7 additions and 5 deletions
+4 -2
View File
@@ -196,7 +196,7 @@ if (coupon_id > 0 ){
// $actual_link = (empty($_SERVER['HTTPS']) ? 'http' : 'https') . "://$_SERVER[REQUEST_URI]";
$config = $this->PrepPagination(20, 3,$actual_link );
$config = $this->PrepPagination(15, 3,$actual_link );
$actual_link = (empty($_SERVER['HTTPS']) ? 'http' : 'https') . "://$_SERVER[REQUEST_URI]";
@@ -215,7 +215,9 @@ if (coupon_id > 0 ){
$page = is_numeric($page) ? $page : 0;
$mysql = "SELECT p.amount*0.01 AS Reward ,p.currency, j.title, mo.offer_code, m1.email AS Owner, m2.email AS worker, mo.job_id,mo.expire
$mysql = "SELECT p.amount*0.01 AS Reward ,p.currency, j.title, mo.offer_code, m1.email AS Owner, m2.email AS worker,mo.expire::date ,
'<input type=button id=\"dacc\" onclick=\"return refundWallet()\" name=\"refund_wallet\" class=\"btn btn-danger btn-xs\" value=\"RF Wallet\">' AS RefundWallet,
'<input type=button id=\"dacc\" onclick=\"return refundWallet()\" name=\"refund_wallet\" class=\"btn btn-info btn-xs\" value=\"RF Wrench\">' AS RefundWrench
FROM members_payments p
LEFT JOIN members_jobs_offer mo ON mo.payment_id = p.id
LEFT JOIN members_jobs j ON j.id = mo.job_id