diff --git a/wbsubscription.php b/wbsubscription.php new file mode 100644 index 0000000..58bce54 --- /dev/null +++ b/wbsubscription.php @@ -0,0 +1,192 @@ +query("select * from Wbusers a, profiles b where a.MemNo = '{$_SESSION[('memno')]}' and a.MemNo = b.MemNo;")->fetch_assoc(); + $yr = $conn->query("SELECT * from FinYear where Active = 1")->fetch_assoc(); + +?> + + + + + + + + Profile + + + + + + +
+query("INSERT INTO Onlinepay (MemNo, Amount, UTR, DOP, MemberRemarks, Tdate) VALUES ('$auth', '$amount', '$utr', '$dop', '$remarks', '$dt')"); + echo "Success!! Payment information submitted"; + //echo $auth; + //echo $amount; + //echo $utr; + //echo $dop; + } + else { echo "Password does not match."; + } +} +?> + +
+ +
+ +
+

Subscription

+ + + + + + + query("SELECT Dues.MemNo, Name, Year, Mths_in_Yr, OpBal, Membership, Farewell,OpBal+Membership+Farewell Total, Payment FROM profiles, Dues LEFT JOIN Payments ON Dues.MemNo = Payments.MemNo where Dues.Year= $BaseYr and Dues.MemNo=profiles.MemNo and profiles.MemNo = '{$_SESSION[('memno')]}'")->fetch_assoc(); + + $due = $conn->query("SELECT Dues.MemNo, Name, Dues.Year, Mths_in_Yr, OpBal, Membership, Farewell,OpBal+Membership+Farewell Total, Payment FROM profiles, Dues LEFT JOIN TotPayments ON (Dues.MemNo = TotPayments.MemNo and TotPayments.Year= $BaseYr ) where Dues.Year= $BaseYr and Dues.MemNo=profiles.MemNo and profiles.MemNo = '{$_SESSION[('memno')]}'")->fetch_assoc(); ?> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

Member

Prev Dues

Scan for payment

Subscription

+ + +

Farewell

Total

Payment

After payment please fill the form below for reconciliation and issue of payment receipt.

Balance Payable

+
+
+
+
+
+ + +

+ +

+ + +

+ +

+

+ +

+ + + + +
+ +
+
+ +
+ + + + + \ No newline at end of file