add customer note
This commit is contained in:
@@ -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
|
||||
);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user