include 'db.php'; // মোট চাঁদা হিসাব $total_coll_res = $conn->query("SELECT SUM(amount) AS total FROM collections"); $total_collection = $total_coll_res->fetch_assoc()['total'] ?? 0; // মোট খরচ হিসাব $total_exp_res = $conn->query("SELECT SUM(amount) AS total FROM expenses"); $total_expense = $total_exp_res->fetch_assoc()['total'] ?? 0; // বর্তমান ব্যালেন্স $current_balance = $total_collection - $total_expense; // সাম্প্রতিক চাঁদা $recent_collections = $conn->query("SELECT * FROM collections ORDER BY collection_date DESC LIMIT 10"); // সাম্প্রতিক খরচ $recent_expenses = $conn->query("SELECT * FROM expenses ORDER BY expense_date DESC LIMIT 10"); ?>
বড়বাজার ঘাট স্ট্রীট, মাঠপাড়া, শান্তিপুর, নদীয়া
🎉 দুর্গাপূজা ২০২৬ আয়-ব্যয় হিসেব 🎉
₹
Notice: Undefined variable: total_collection in /home/develope/mathpara.developerbasu.in/index.php on line 50
0.00
₹
Notice: Undefined variable: total_expense in /home/develope/mathpara.developerbasu.in/index.php on line 54
0.00
₹
Notice: Undefined variable: current_balance in /home/develope/mathpara.developerbasu.in/index.php on line 58
0.00
| তারিখ | নাম | রসিদ নং | পরিমাণ |
|---|