add customer note

This commit is contained in:
2026-07-11 20:59:34 -04:00
parent 73783ff272
commit d04153360f
4 changed files with 14 additions and 1 deletions
+2 -1
View File
@@ -36,7 +36,7 @@ router.post('/:id/edit', (req, res) => {
.prepare(
`UPDATE customers SET
name = ?, phone = ?, alt_phone = ?, email = ?,
address_line1 = ?, address_line2 = ?, city = ?, state = ?, zip = ?
address_line1 = ?, address_line2 = ?, city = ?, state = ?, zip = ?, internal_note = ?
WHERE id = ?`
)
.run(
@@ -49,6 +49,7 @@ router.post('/:id/edit', (req, res) => {
b.city || null,
b.state || null,
b.zip || null,
b.internal_note || null,
req.params.id
);