Commit 30fdaa26 authored by Mal's avatar Mal

New shopping cart module, not functional just yet.

A few other minor bug fixes.
parent 33fb4ec3
......@@ -66,7 +66,7 @@ class Banking extends Base {
'FROM banking WHERE user="'.$this->owner.'"';
if ($result = $mysqli->query($query)) {
if ($banking = $result->fetch_assoc()) {
$bsb = $banking['first'];
$bsb = $banking['bsb'];
$credit = $banking['credit'];
$name = $banking['name'];
$number = $banking['number'];
......
This diff is collapsed.
This diff is collapsed.
......@@ -158,9 +158,9 @@ if (!this.dobrado.stock) {
if (newItem) {
stock.push({ name: name, user: user, unit: unit, price: price,
category: category, available: available });
// Can then update the product autocomplete list.
updateProducts();
}
// Can then update the product autocomplete list.
updateProducts();
// Update the grid if available, which references stock.
if (grid) {
grid.updateRowCount();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment