420 lines
8.6 KiB
Markdown
420 lines
8.6 KiB
Markdown
# Changelog
|
|
|
|
All notable changes to this project will be documented in this file.
|
|
|
|
## [unreleased]
|
|
|
|
### 🚀 Features
|
|
|
|
- Add endpoint for getting only its main data
|
|
- Update request data table
|
|
- Prevent from change after completed
|
|
- Add stats by status
|
|
- Employment office (#5)
|
|
- Add normal search for employment office
|
|
- Add get by id
|
|
- Add complex query
|
|
- Add support for search in request data
|
|
- Add code gen to request data
|
|
- Add timestamp field to request lits
|
|
- Update constraints
|
|
- Add attributes fields
|
|
|
|
### 🐛 Bug Fixes
|
|
|
|
- Casing
|
|
- Wrong condition
|
|
- Wrong search result
|
|
- Empty query result in empty array
|
|
- Wrong code gen (gen one instead of bulk)
|
|
|
|
### 🚜 Refactor
|
|
|
|
- Change endpoint name
|
|
- Use helper
|
|
- Add overloading for util function
|
|
- Adjust code
|
|
|
|
### ⚙️ Miscellaneous Tasks
|
|
|
|
- Migrations
|
|
- Migration
|
|
- Add package manager field in package.json
|
|
|
|
## [0.7.1] - 2024-11-13
|
|
|
|
### 🐛 Bug Fixes
|
|
|
|
- Also accept null
|
|
- Wrong shared condition
|
|
|
|
### ⚙️ Miscellaneous Tasks
|
|
|
|
- Update deps
|
|
- Enable relation join optimize
|
|
|
|
## [0.7.0] - 2024-11-13
|
|
|
|
### 🚀 Features
|
|
|
|
- Add post endpoint for complex criteria
|
|
- Add passport fields
|
|
- Add visa fields
|
|
- Add employee work fields
|
|
- Add employee other fields
|
|
- Add attributes to workflow template
|
|
- Add work field
|
|
- Sort role name
|
|
- Accept more criteria
|
|
|
|
### 🐛 Bug Fixes
|
|
|
|
- Typo
|
|
- Attributes not stored in database
|
|
- Wrong employee code on change branch
|
|
- Wrong order
|
|
- Change role from account to accountant
|
|
- Wrong varialbe used
|
|
|
|
### 🚜 Refactor
|
|
|
|
- 💥**breaking**💥 Remove in country notice
|
|
- Reduce code duplication
|
|
- Accept null as value
|
|
|
|
### ⚙️ Miscellaneous Tasks
|
|
|
|
- Update gen changelog script
|
|
- Migration
|
|
|
|
## [0.6.2] - 2024-11-08
|
|
|
|
### 🚀 Features
|
|
|
|
- Search also cover code
|
|
|
|
## [0.6.1] - 2024-11-08
|
|
|
|
### 🚀 Features
|
|
|
|
- Add upload file & image for institution
|
|
- Add selected image field
|
|
|
|
### 🐛 Bug Fixes
|
|
|
|
- Fallback undefined
|
|
|
|
### ⚙️ Miscellaneous Tasks
|
|
|
|
- Migration
|
|
|
|
## [0.6.0] - 2024-11-08
|
|
|
|
### 🚀 Features
|
|
|
|
- Add parameter to accept shared product
|
|
- Add workflow step detail field
|
|
- User now responsible for multiple area
|
|
- Search employee also cover passport no
|
|
- Ordering
|
|
- Add institution table
|
|
- Add endpoint institution
|
|
- Add institution support for code gen and grouping
|
|
- Add document list to product data
|
|
- Update quotation status on expired
|
|
- Add field for storing institution
|
|
- Add institution
|
|
- Add filter parameter
|
|
- Add name english for institution
|
|
- Include relation in institution
|
|
- Include document relation
|
|
|
|
### 🐛 Bug Fixes
|
|
|
|
- Char case
|
|
- Wrong code
|
|
- Wrong update
|
|
- Stats now group by status
|
|
- Detail workflow not save
|
|
- Time got ignored
|
|
|
|
### 🚜 Refactor
|
|
|
|
- Also allow null as payload value
|
|
- Map responsible area to string array
|
|
- Delete institution
|
|
- Add code gen for receipt and invoice
|
|
- Remove date from code gen
|
|
- Only scope update quotation status to issued
|
|
- Urgent comes first as parameter
|
|
- Update log
|
|
|
|
### ⚙️ Miscellaneous Tasks
|
|
|
|
- Update deps
|
|
- Migration
|
|
- Clean up
|
|
|
|
## [0.5.0] - 2024-11-01
|
|
|
|
### 🚀 Features
|
|
|
|
- Upload multiple payment file
|
|
- Search now cover workName
|
|
- Add installments data
|
|
- Add head method
|
|
- *(minio)* Add get presigned function
|
|
- Add head method for file endpoint
|
|
- *(file)* Add head endpoint
|
|
- *(util)* Add retry function
|
|
- *(service)* Add installments to payload
|
|
- Add head to more endpoint
|
|
- Use retry function
|
|
- Search customer now cover customer name
|
|
- Search code of user
|
|
- Add more payment status
|
|
- Make flow endpoint same response structure
|
|
- Search quotation now cover customer name and code
|
|
- Workflow permission
|
|
- Add util function to include or not include condition
|
|
- Add installment no to quotation data
|
|
- Search customer now cover more field
|
|
- Add attributes to each product in service
|
|
- Add more quotation status
|
|
- Add more status
|
|
- Add toggle on and off status
|
|
- Add status filter query string
|
|
- Add status filter
|
|
- Add relation for agent
|
|
- Update now detect already exists step
|
|
- Add option to share product inside one group
|
|
- Add support for getting relation
|
|
- Add more pay condition
|
|
- Add notification database structure
|
|
- Add endpoint skeleton
|
|
- Custom installments (#4)
|
|
- Add quotation attachment
|
|
- Add security to attachment of quotation
|
|
- Add security to endpoint
|
|
|
|
### 🐛 Bug Fixes
|
|
|
|
- File location
|
|
- *(employee)* Missing permission check
|
|
- *(keycloak)* Now return all roles
|
|
- Payment sort
|
|
- Wrong sort
|
|
- Error when no branch is found
|
|
- Dup on update
|
|
- Wrong variable used
|
|
- Error dup
|
|
- Wrong decoration
|
|
- Error on update
|
|
- Wrong code
|
|
- Respect relation
|
|
- Payload
|
|
- Product was delete on not send list product
|
|
- Typo
|
|
- Wrong operation
|
|
- Auth related error
|
|
- Workflow query not work on filter (#3)
|
|
- Only sum from payment success status
|
|
- Status change not work as expected
|
|
- Null not get accepted as valid
|
|
|
|
### 🚜 Refactor
|
|
|
|
- Rename endpoints
|
|
- *(keycloak)* Now only expose role management endpoint
|
|
- Remove unused
|
|
- Upload now return presigned url instead of redirect
|
|
- Separate init user to utils
|
|
- List also include relation
|
|
- Don't include condition if no query
|
|
- 💥**breaking**💥 Payment sys
|
|
- Remove unused enum
|
|
- Accept quotation specific status filter instead
|
|
- Change installments data
|
|
- Invoice relation (#2)
|
|
|
|
### ⚙️ Miscellaneous Tasks
|
|
|
|
- Cleanup
|
|
- Deps ver
|
|
- Remove unused
|
|
- Add migration
|
|
- Add tag
|
|
- Update tags
|
|
- Fix migration
|
|
- Update constraits
|
|
- Migration
|
|
- Update deps
|
|
- Add database relation for notification group
|
|
- Update changelog format for breaking change
|
|
- Change git-cliff commit limit
|
|
- Add script to generate changelog
|
|
- Migrations
|
|
|
|
### Experimental
|
|
|
|
- Api doc
|
|
|
|
## [0.4.0] - 2024-10-18
|
|
|
|
### 🚀 Features
|
|
|
|
- Add filter registeredBranch
|
|
- Add pay split field
|
|
- Add more relation
|
|
- Add count by relation
|
|
- Add field
|
|
- Detect if agent price
|
|
- Update structure
|
|
- Add payment endpoints (incomplete)
|
|
- Add swagger tag
|
|
- Add quotation stats by group
|
|
- Add workflow template
|
|
- Add config endpoint
|
|
- Work length not match
|
|
- Also return full service back
|
|
- Handle running no on delete customer
|
|
- Add payment post process
|
|
- Update response add relation
|
|
- Add view permission
|
|
- Also include customer and its registered branch
|
|
- Add workflow to service
|
|
- Add update status flow
|
|
- Add conditional query for customer
|
|
- Add conditional company scope query
|
|
- Add metadata
|
|
- Add payment for split
|
|
- Search also cover code
|
|
- Add payment remark
|
|
- Unlock product code
|
|
- Update payload and update endpoint
|
|
- Pre create payment data
|
|
- Update quotation payment data
|
|
- Detect same username / email
|
|
- Add vat exclude feature
|
|
- Include more relation
|
|
- Order passport
|
|
- Add query param
|
|
- Quotation code running no reset at month
|
|
- Search code now case insensitive
|
|
- Add remark field
|
|
- Payment data pull date from split data
|
|
- Add max worker field
|
|
- Also return full address
|
|
|
|
### 🐛 Bug Fixes
|
|
|
|
- Relation
|
|
- System role not get filtered
|
|
- Error
|
|
- Missing relation
|
|
- Calculate price
|
|
- Paging
|
|
- Vat calc
|
|
- Wrong path
|
|
- Calc vat after discount only
|
|
- Array length not match
|
|
- Word case
|
|
- Wrong price per unit
|
|
- Discount not have effect
|
|
- Error relation
|
|
- Wrong case
|
|
- Fallback for one time payment
|
|
- Delete error
|
|
- Change running no to custoer branch id instead
|
|
- Double payment data on update
|
|
- Change to non percent
|
|
- Wrong vat excluded
|
|
- Make remark accept null
|
|
- Calc vat
|
|
- Empty payment data on full payment
|
|
|
|
### 🚜 Refactor
|
|
|
|
- Include full detail when get by id
|
|
- Relation
|
|
- Quotation query and relation
|
|
- Update quotation structure and endpoint
|
|
- Throw common error with util function instead
|
|
- 💥**breaking**💥 Remove unused field
|
|
- Make field optional
|
|
- Remove unnecessary join
|
|
- Change sort
|
|
- Calculate utility
|
|
- Update quotation
|
|
- Change running no to use parent id
|
|
- Add work status and process user
|
|
- Adjust field
|
|
- 💥**breaking**💥 Change branch to registered branch scope
|
|
- Bring back vat excluded
|
|
- Search case
|
|
|
|
### ⚙️ Miscellaneous Tasks
|
|
|
|
- Update deps
|
|
- Update constraints
|
|
- Clean
|
|
- Update field quotation
|
|
- Add migration
|
|
- Add tag
|
|
- Update tsconfig to not truncate error
|
|
- Clean up
|
|
- Relation constraints
|
|
|
|
## [0.3.6] - 2024-09-27
|
|
|
|
### 🚀 Features
|
|
|
|
- Detect same name of product in the same company
|
|
- Also include registered branch for display as options
|
|
|
|
### ⚙️ Miscellaneous Tasks
|
|
|
|
- Remove log
|
|
|
|
## [0.3.5] - 2024-09-26
|
|
|
|
### 🚀 Features
|
|
|
|
- Update quotation endpoints with permission
|
|
|
|
### 🐛 Bug Fixes
|
|
|
|
- Update sort
|
|
|
|
## [0.3.4] - 2024-09-25
|
|
|
|
### 🐛 Bug Fixes
|
|
|
|
- Delete customer branch hq now also delete parent
|
|
|
|
### ⚙️ Miscellaneous Tasks
|
|
|
|
- Migration
|
|
|
|
## [0.3.3] - 2024-09-25
|
|
|
|
### 🐛 Bug Fixes
|
|
|
|
- Branch under headquarter display condition
|
|
|
|
## [0.3.2] - 2024-09-25
|
|
|
|
### 🚀 Features
|
|
|
|
- Add option to get list with head
|
|
- Add role that can view another branch
|
|
|
|
### 🐛 Bug Fixes
|
|
|
|
- Permission condition
|
|
|
|
### 🚜 Refactor
|
|
|
|
- Remove role from allow cross branch
|
|
|
|
<!-- generated by git-cliff -->
|