Commit Graph

272 Commits

Author SHA1 Message Date
Akash Shah
33e86732f9 Started the refacotoring Process:
- Adding ORM
    - *made customer and contact representation so far*
    - make constructor to fill data and any linked tables
    - Set any corresponding types
    - any related objected are added as feilds of the parent object (customer ← customer contact)
        - use object to get related objects whenever possible
            - Ex. Callinc customer.getContacts() instead of the get contacts service.
    - Add astute service calls to ORM's
    - Made grid row data to use same objects as the typescripts retreived data
        - before I was using the promise itself for the rowData, and then keeping a seperate feild to store the actual data returned from the promise. Now, they are both using the data returned from the promise instead.
        - have to take off the `|async` part from the grid options
- AG - Grid clean up
    - Added whaterver column defiintions were missing
    - added default grid options
2020-10-11 15:47:30 -04:00
Akash Shah
31a5f27a19
Merge pull request #1 from dyiop/master
Sync Branches
2020-10-05 23:58:47 -04:00
dyiop
84a82f235d Update .gitignore
Removed node_modules and taget folders in Astute Client
2020-10-05 23:17:12 -04:00
dyiop
e9778fe875 Updated .gitignore
Removed .idea files
2020-10-05 22:56:46 -04:00
Gopi Katwala
f623a8aaec Fixed Final Invoice Number with the new logic
Function affected - generate_final_inv_number
2020-08-08 14:13:08 -04:00
Akash Shah
8ed15ce2a7 I was display ' notification twice 2019-07-17 11:30:48 -04:00
Akash Shah
987d4420ba restricted input of ' 2019-07-17 11:27:05 -04:00
Gopi Katwala
003ff7f802 Fixed getPreviuoslyBilledAmt 2019-07-17 11:11:27 -04:00
Gopi Katwala
8a49720824 Code cleanup
Added function get_remaining_qty
2019-07-17 10:01:58 -04:00
Gopi Katwala
6492092cbc * fixed the issue with submit invoice - added a new column - submitted_invoice_date_time
* Fixed deletePoDetail Method
* Fixed deleteInvoiceDetail method
2019-07-17 08:05:27 -04:00
Akash Shah
7ba346e60a qty renderer and formatter added and implemented:
bug to fix: weird fraction issue

Added functoinality to delete detail buttonn (both SO and Inv)
2019-07-17 02:29:17 -04:00
Gopi Katwala
a9da4d333a fixed the issue with Remaining Qty 2019-07-17 02:06:51 -04:00
Gopi Katwala
7935a39bc4 fixed the issue with draft Remaining Qty 2019-07-16 23:34:14 -04:00
Akash Shah
6f54177cad i cant even keep track anymore 2019-07-16 23:12:22 -04:00
Gopi Katwala
12748b8035 Added draft Remaining Qty 2019-07-16 22:46:04 -04:00
Gopi Katwala
3d38651747 * Created deleteInvoiceDetail and deletePODetail Angular service methods.
* Web Service - Took out Invoice Detail remaining qty check from WS code. It will be handled in Front end now.
2019-07-16 21:03:31 -04:00
Gopi Katwala
818bf35e9f remaining qty only considers submitted invoices now. 2019-07-16 20:23:27 -04:00
Gopi Katwala
66fe4c6bd0 Updated table user, changed username and password to be blob instead of string 2019-07-16 18:27:46 -04:00
Gopi Katwala
14c60bde23 updated update_remaining_qty function 2019-07-16 18:15:39 -04:00
Gopi Katwala
fa69e98053 Fixed error message 2019-07-16 16:35:23 -04:00
Gopi Katwala
bcc9a5425c * SQL - Fixed get_outstanding_balance method, fixed create_customer_contact function to have phone/fax as string
* Fixed Customer contact phone/fax to be String in Web Service code
2019-07-16 16:33:27 -04:00
Gopi Katwala
b897d2cc1b * Fixed Invoice Payment checks. Must be >= 0, can't be more than outstanding balance 2019-07-16 15:07:00 -04:00
Gopi Katwala
5b4e1f32bd * Fixed Typos in error texts
* add payment amount check added
2019-07-16 14:41:36 -04:00
Gopi Katwala
06e48099fd * Encrypted credentials 2019-07-16 14:15:10 -04:00
Gopi Katwala
c402bb00f2 * Added delete methods for invoicedetail and podetail
* Added check for invoice payment - should not exceed outstanding invoice balance
2019-07-16 13:00:50 -04:00
Akash Shah
22d345cfc1 added first input validation (phone),
added delete buttons at each detail section
2019-07-16 11:13:27 -04:00
Akash Shah
90ce18f698 minor bug fixes 2019-07-14 23:05:12 -04:00
Akash Shah
3a1c9a45e7 minor bug fixes 2019-07-14 22:35:57 -04:00
Gopi Katwala
e0d2a2317d new SQL function is_so_fulfilled 2019-07-14 21:53:57 -04:00
Gopi Katwala
8266c8e85e Replaced alert messages with toasts 2019-07-14 01:07:11 -04:00
Akash Shah
6b6e5fd791 Updated Dependencies, and Added Notifications 2019-07-13 21:16:39 -04:00
Gopi Katwala
78c21ee143 * Fixed Responses to catch error messages
* Fixed a function called delete_customer
2019-07-12 22:27:41 -04:00
Gopi Katwala
329b8b3fed Chanaged Screen title to Customer Contacts 2019-07-11 20:07:16 -04:00
Gopi Katwala
abbd34427c Fixed defects 2019-07-11 20:00:11 -04:00
Gopi Katwala
6b3d1e3567 Fixed a typo in heading 2019-07-05 12:00:33 -04:00
Gopi Katwala
5a96b5c332 Fixed a typo in heading 2019-07-04 22:18:40 -04:00
Gopi Katwala
ce74ce45e2 Fixed a DB function, renamed a stored proc
Fixed a typo
2019-07-04 22:07:30 -04:00
Akash Shah
ae681d0a8d somethings 2019-06-20 17:51:21 -04:00
Akash Shah
91e41b501e Lots of changes:
- Added separate grid for details in each section
 - Enabled inline editing for items

TODO:
 - Fix alert messages
 - Make editing follow buisness rules
2019-06-20 10:48:10 -04:00
Gopi Katwala
ac46e2eb75 Fixed triggers for invoice_detail 2019-06-20 00:11:30 -04:00
Gopi Katwala
b02ad814d0 Added triggers for invoice_detail 2019-06-19 23:41:42 -04:00
Gopi Katwala
716a69ba82 fixed a bug 2019-06-19 21:57:09 -04:00
Akash Shah
3ba902bfe4 changed alot of things 2019-06-19 21:18:23 -04:00
Akash Shah
c5081f6e38 added handling login error to the get customers method 2019-06-10 00:46:09 -04:00
Gopi Katwala
4db470f7fc Merge remote-tracking branch 'origin/master' 2019-06-08 23:53:22 -04:00
Gopi Katwala
530735f85b fixed a bug 2019-06-08 23:52:02 -04:00
Akash Shah
99d6ac7510 Merge remote-tracking branch 'origin/master' 2019-06-08 23:43:12 -04:00
Akash Shah
350b854b8d Loads of changes in this one:
- customer and sales order are updated with new workflow for details
 - invoice has yet to be updated to the new workflow
 - added a settings tab and put service types and logout on there
 - updated homepage and nav-bar accordingly
2019-06-08 23:42:44 -04:00
Gopi Katwala
bcebd483f5 Updated Service Type resource to accept the Request object rather than path paramenters 2019-06-08 23:39:18 -04:00
Gopi Katwala
56fb6591b5 Updated Service Type resource to accept the Request object rather than path paramenters 2019-06-08 22:36:57 -04:00