Lance Edgar
|
9299cd445f
|
Add "origin" models for office_op schema
|
2020-08-10 15:57:32 -05:00 |
|
Lance Edgar
|
ef1a25f0dc
|
Make sure MemberInfo.customers is sorted by person number
also improve the str() method a bit
|
2020-07-30 11:11:17 -05:00 |
|
Lance Edgar
|
4c7b208e6e
|
Add Suspension and ReasonCodes to model
|
2020-07-22 20:25:20 -05:00 |
|
Lance Edgar
|
365d679d76
|
Add split_street() method for MemberInfo
|
2020-07-21 15:07:28 -05:00 |
|
Lance Edgar
|
13b8380527
|
Declare foreign key for CustData.member_type
|
2020-07-15 22:15:11 -05:00 |
|
Lance Edgar
|
257ed82d6d
|
Bring __version__ into root namespace
can't remember why that wouldn't already be there..? maybe just forgot
|
2020-07-15 21:42:28 -05:00 |
|
Lance Edgar
|
68ab8ff55d
|
Add CustomerAccount.customer_type reference, to MemberType
not 100% sure about the best naming here, hopefully this is good
|
2020-07-13 11:03:32 -05:00 |
|
Lance Edgar
|
07291b3fa7
|
Add MemberNote and MemberInfo.notes to data model
|
2020-07-13 11:02:59 -05:00 |
|
Lance Edgar
|
beb73dc668
|
Add Product.last_sold to schema
hopefully that's a good idea..
|
2020-04-17 00:24:53 -05:00 |
|
Lance Edgar
|
4b971c289e
|
Add LikeCode and ProductLikeCode models
|
2020-04-10 14:09:38 -05:00 |
|
Lance Edgar
|
87fd5367a1
|
Add table_exists() util function
|
2020-03-31 14:09:51 -05:00 |
|
Lance Edgar
|
d818100da3
|
Fix id field for TaxRateComponent
|
2020-03-31 14:09:39 -05:00 |
|
Lance Edgar
|
14a182c675
|
Disable TaxRate.sales_code attribute, for now
since some older DBs don't have it
|
2020-03-30 13:44:22 -05:00 |
|
Lance Edgar
|
64e4b18cf0
|
Add FloorSection and ProductPhysicalLocation models
|
2020-03-30 13:18:10 -05:00 |
|
Lance Edgar
|
acc85ba8de
|
Add ProductUser model
|
2020-03-30 13:18:08 -05:00 |
|
Lance Edgar
|
6ecfbf4e1a
|
Add ScaleItem model
|
2020-03-30 12:00:52 -05:00 |
|
Lance Edgar
|
5f3ad79a95
|
Add VendorDepartment and VendorItem models
|
2020-03-30 11:39:57 -05:00 |
|
Lance Edgar
|
9b429eb293
|
Revert "Try out the "synonym" approach for all Vendor model fields"
This reverts commit deea31597c .
we'll keep the synonym in place for `vendorID` but the rest of these just
caused problems, e.g. with tailbone grids
|
2020-03-30 11:29:21 -05:00 |
|
Lance Edgar
|
3a440d20bc
|
Add enum for product price method
|
2020-03-30 00:05:26 -05:00 |
|
Lance Edgar
|
07c24b63dc
|
Fix how we interpret Product.id_enforced values
will be an age, not a flag
|
2020-03-29 23:36:37 -05:00 |
|
Lance Edgar
|
e0058c003d
|
Add Product.subdepartment relationship
|
2020-03-29 23:36:29 -05:00 |
|
Lance Edgar
|
9466b16b64
|
Add DB models for TaxRate, TaxRateComponent
|
2020-03-27 20:50:00 -05:00 |
|
Lance Edgar
|
573595497e
|
Add get_members() API method
|
2020-03-18 11:28:19 -05:00 |
|
Lance Edgar
|
d8e93c9d2e
|
Add set_member() API method
also rename `get_customer()` to `get_member`
|
2020-03-17 16:04:22 -05:00 |
|
Lance Edgar
|
9e850496e7
|
Add new Customer and CustomerAccount models
|
2020-03-16 16:54:42 -05:00 |
|
Lance Edgar
|
92f522cf65
|
Rename "old" Customer model, to CustData
need to make room for "new" Customer model
|
2020-03-16 16:54:40 -05:00 |
|
Lance Edgar
|
5509089741
|
Add get_customer() API method
|
2020-03-15 19:29:01 -05:00 |
|
Lance Edgar
|
2d0cfa30ca
|
Add "set" API methods for Department, Subdepartment, Product
|
2020-03-15 15:52:28 -05:00 |
|
Lance Edgar
|
b76e82975a
|
Add GET methods to API, for departments, subdepartments, products
|
2020-03-15 14:27:22 -05:00 |
|
Lance Edgar
|
deea31597c
|
Try out the "synonym" approach for all Vendor model fields
this seems promising, but let's see if anything breaks first
|
2020-03-06 13:47:32 -06:00 |
|
Lance Edgar
|
a12c9de415
|
Tweak how we handle return value from API 'set' method for Vendors
also add note about using `set_vendor()` for creating new ones.
and misc. other cleanup
|
2020-03-04 18:54:34 -06:00 |
|
Lance Edgar
|
7fc5ae9b4e
|
Add basic CORE webservices API client, for Vendor data
lots more to come yet, once the basic patterns are proven
|
2020-03-03 21:35:39 -06:00 |
|
Lance Edgar
|
a0efa1a967
|
Add model for datasync changes queue table
just in case it's there, for use w/ datasync watcher
|
2020-03-01 20:49:26 -06:00 |
|
Lance Edgar
|
7fbcc844c4
|
Move "transaction" DB for CORE Office to office_trans subpackage
|
2020-02-27 21:46:31 -06:00 |
|
Lance Edgar
|
e44e5967b1
|
Move "operational" DB for CORE Office to office_op subpackage
|
2020-02-27 21:42:07 -06:00 |
|
Lance Edgar
|
eb1b6524e6
|
Add utility function, get_last_card_number()
|
2019-10-28 21:40:20 -05:00 |
|
Lance Edgar
|
c29c18ec5c
|
Add enum for "member contact preference"
|
2019-10-28 18:10:50 -05:00 |
|
Lance Edgar
|
9ae1a04cad
|
Add MemberDate and MemberContact models to schema
|
2019-10-28 18:10:47 -05:00 |
|
Lance Edgar
|
a15b6eace2
|
Cleanup attribute names for MemberInfo model
|
2019-10-25 15:33:42 -05:00 |
|
Lance Edgar
|
dbfeb91868
|
Cleanup attribute names for Customer model
|
2019-10-24 16:31:18 -05:00 |
|
Lance Edgar
|
e49a849ba4
|
Cleanup attribute names for Employee model
|
2019-08-14 21:02:35 -05:00 |
|
Lance Edgar
|
6b517b0f27
|
Cleanup attribute names for Product model
|
2019-08-14 20:47:44 -05:00 |
|
Lance Edgar
|
e011981ff4
|
Fix output for str(Employee)
|
2019-08-06 18:53:14 -05:00 |
|
Lance Edgar
|
c045aabadc
|
Add data model for Parameter
|
2019-07-29 19:23:05 -05:00 |
|
Lance Edgar
|
4e131b09b5
|
Cleanup attribute names for Subdepartment model
|
2019-07-25 16:14:05 -05:00 |
|
Lance Edgar
|
e046ecf254
|
Fix bug for Department.tax attribute
|
2019-07-24 22:05:45 -05:00 |
|
Lance Edgar
|
9f19646f08
|
Cleanup attribute names for Department model
|
2019-07-23 19:44:11 -05:00 |
|
Lance Edgar
|
4cbdcc6870
|
Ignore the HouseCoupon.virtual_only field, for now
not everyone supports that yet, apparently
|
2019-07-23 19:32:48 -05:00 |
|
Lance Edgar
|
d2e764f388
|
Rename attributes for MemberType data model
also, comment-out the "sales code" column for now, since it doesn't exist in
all production databases. (not sure how best to handle that yet)
|
2019-07-23 10:55:42 -05:00 |
|
Lance Edgar
|
08a062f654
|
Add data model for ProductFlag
|
2019-07-18 09:44:00 -05:00 |
|