mirror of
https://github.com/Solo-Web-Works/BillTrak.git
synced 2026-10-31 15:40:28 +00:00
🐞 fix: Update comment handling
This commit is contained in:
1 parent
4517f1c540
commit
77dad4e675
1 file changed
+4
-3
+4
-3
@@ -10,15 +10,16 @@ class Bill {
|
||||
$db = DB::connect();
|
||||
|
||||
$stmt = $db->prepare("INSERT INTO bills
|
||||
(billDate, billName, amount, paymentId, year)
|
||||
VALUES (?, ?, ?, ?, ?)");
|
||||
(billDate, billName, amount, paymentId, year, comment)
|
||||
VALUES (?, ?, ?, ?, ?, ?)");
|
||||
|
||||
return $stmt->execute([
|
||||
$data['date'],
|
||||
$data['billName'],
|
||||
$data['amount'],
|
||||
$data['paymentId'],
|
||||
$data['year']
|
||||
$data['year'],
|
||||
$data['comment']
|
||||
]);
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user