Lance Edgar
b64f6c7884
Use newer config strategy for all views
...
to make inheritance easier
2022-11-23 12:20:58 -06:00
Lance Edgar
f7a019ed83
Make past item lookup optional for custorders
2022-09-06 16:44:26 -05:00
Lance Edgar
2950827c63
Add basic per-item discount support for custorders
2022-09-06 16:31:59 -05:00
Lance Edgar
839c4e0c28
Add get_next_url_after_submit_new_order()
for customer orders
...
after new custorder batch is executed, where do we send user?
2022-08-14 17:33:12 -05:00
Lance Edgar
a20eb468df
Redirect to custom index URL when user cancels new custorder entry
2022-08-14 15:53:43 -05:00
Lance Edgar
17810d9cae
Misc. improvements for desktop receiving views
...
- don't expose "cases" if config says not to
- don't expose "expired" if config says not to
- use `numeric-input` for quantity fields
- add `product_key_field` to global-ish template context
2022-07-26 16:30:04 -05:00
Lance Edgar
1bb41b21af
Honor case vs. unit restrictions for new custorder
...
and expose them in config view
2022-03-29 18:19:14 -05:00
Lance Edgar
4e25e87bfb
Log error when failing to submit new custorder batch
2022-03-29 17:43:42 -05:00
Lance Edgar
25ecade1e6
Add "batch" to model title for new customer order batch
...
just to make things a bit more clear..
2022-03-10 10:18:43 -06:00
Lance Edgar
6af5157b4e
Update some method calls to avoid deprecation warnings
2022-01-08 19:48:14 -06:00
Lance Edgar
82dfce6f81
Add basic "resolve" support for person, product from new custorder
2021-12-23 20:24:43 -06:00
Lance Edgar
494b1384c4
Bugfix
2021-12-22 16:45:56 -06:00
Lance Edgar
c0db03bc28
Add basic "pending product" support for new custorder batch
2021-12-22 16:34:17 -06:00
Lance Edgar
3a10a4bcb7
Improve error handling when executing a custorder batch
2021-11-11 13:37:10 -06:00
Lance Edgar
3990854d42
Fix product URL for a new custorder scenario
2021-11-06 20:31:55 -05:00
Lance Edgar
5d875bc731
Let user "add past product" when making new custorder
2021-11-06 20:00:54 -05:00
Lance Edgar
ddb05afe6b
Auto-select Quantity tab when editing item for new custorder
...
also be a little smarter on error when user selects an item
2021-11-06 17:56:35 -05:00
Lance Edgar
43bbc2a29e
Show some more product attributes in custorder item selection popup
2021-11-06 17:37:05 -05:00
Lance Edgar
1bdb845032
Honor the "product price may be questionable" flag for new custorder
...
i.e. don't expose the per-item flag unless *that* flag is set
2021-11-03 20:20:22 -05:00
Lance Edgar
4d33e3dcbe
Move some custorder logic to handler; allow force-swap of product selection
2021-11-03 19:19:20 -05:00
Lance Edgar
8d16a5f110
Clean up the product selection UI for new custorder
...
still needs some work but this is much better, more like the customer
selection now w/ "multi-faceted" autocomplete
2021-10-20 07:26:05 -05:00
Lance Edgar
8b044dbb22
Add basic "price needs confirmation" support for custorder
2021-10-18 18:28:28 -05:00
Lance Edgar
93b752f436
Invoke handler when adding new item to custorder batch
2021-10-17 18:07:57 -04:00
Lance Edgar
ab33b49218
Improve "refresh contact", show new fields in green for custorder
...
only showing new "customer" fields in green so far
2021-10-17 17:28:28 -04:00
Lance Edgar
53fc1508f3
Give custorder batch handler a couple ways to affect adding new items
2021-10-14 17:49:12 -04:00
Lance Edgar
66bc775e14
Improve display, handling for "add contact info to customer record"
...
for new custorders page. in particular, show this flag in main screen
2021-10-10 20:43:27 -04:00
Lance Edgar
284078ff71
Delete pending customer if deleting custorder batch
...
also invoke handler to update pending customer info for batch, so the
handler can add validation, e.g. unique email address check
2021-10-07 13:08:48 -04:00
Lance Edgar
5e339bb7ea
Improve contact name handling for new custorder
2021-10-07 12:33:52 -04:00
Lance Edgar
c611eb3787
Clear out contact for custorder if user clicks "customer is unknown"
...
also show pending customer reference when viewing proper custorder
2021-10-06 18:43:52 -04:00
Lance Edgar
d933dd2723
Add support for "new customer" when creating new custorder
2021-10-06 18:22:29 -04:00
Lance Edgar
9b40096bb7
Add "contact update request" workflow for new custorder batch
...
if user checks "please add phone to customer record" etc. then this
preference is stored in the batch params, and when batch is executed
that will "happen" (which may just mean someone gets email about it)
2021-10-06 14:49:13 -04:00
Lance Edgar
2fa7857daf
Add "allow contact info choice" support for new custorder batch
2021-10-06 12:43:38 -04:00
Lance Edgar
0237d8c31a
Add "restrict contact info" feature for new custorder batch
...
also add support for choosing from existing emails
2021-10-06 12:32:13 -04:00
Lance Edgar
d4aef9ceac
Fix contact phones data when new contact is assigned
2021-10-04 12:29:27 -04:00
Lance Edgar
1884edb334
Improve phone editing for new custorder
...
let user choose from existing phones, or add a new one. not yet
implemented, they can check a box to add new phone to customer proper
in addition to setting it for the order
2021-10-04 12:25:41 -04:00
Lance Edgar
711e526822
Show "contact notes" when creating new custorder
2021-10-03 19:26:25 -04:00
Lance Edgar
ad6562558d
Improve phone/email handling when making new custorder
...
still needs more improvement, but this is a start
2021-09-27 18:04:07 -04:00
Lance Edgar
ab517d1199
Allow changing status, adding notes for customer order items
2021-09-27 13:25:02 -04:00
Lance Edgar
a52b5ec380
Overhaul new custorder so contact may be either Person or Customer
...
also make the handler responsible for (un)assigning contact
2021-09-27 09:22:06 -04:00
Lance Edgar
8095f2c9ea
Display the Store field for Customer Orders
2021-09-25 18:55:53 -04:00
Lance Edgar
3b6b1aa5b6
Invoke handler for customer autocomplete when making new custorder
2021-09-24 18:28:39 -04:00
Lance Edgar
d0a7a241b4
Misc. improvements for customer order views
2021-09-21 13:49:51 -05:00
Lance Edgar
25c1ae3c41
Add way to customize product autocomplete for new custorder
2021-09-09 19:15:08 -05:00
Lance Edgar
c2ea1be83f
Improve UI, customization hooks for new custorder batch
...
still not done yet, but a savepoint
2021-08-29 16:38:30 -05:00
Lance Edgar
e4e0d81f6e
Fix enum display for customer order status
2021-03-11 08:47:27 -06:00
Lance Edgar
719e7c8441
Normalize naming of all traditional master views
...
such names should never use plural forms. for now what plural forms were
previously in use, should still work. ideally can remove those at some point
2021-01-28 16:32:25 -06:00
Lance Edgar
d1d64ec96c
Fix some UOM bugs for new customer order
2021-01-27 08:50:20 -06:00
Lance Edgar
480d878db8
Initial support for adding items to, executing customer order batch
2021-01-26 20:10:05 -06:00
Lance Edgar
808e737202
Add basic/unfinished "new customer order" page/feature
...
so far creates the order batch, and can set some customer info
2020-08-02 20:59:16 -05:00
Lance Edgar
493785591c
Add basic web views for "new customer order" batches
2020-08-02 15:27:10 -05:00