giovanni
33bae94d43
fix over consume by code, revert migration overconsume sell
2026-06-06 07:49:34 +07:00
Giovanni Gabriel Septriadi
1b3642ef1d
Merge branch 'feat/marketing-filter-range-date' into 'rc/01'
...
feat: add date range filter to marketing list API
See merge request mbugroup/lti-api!592
2026-06-04 16:57:32 +00:00
giovanni
a70a69a5be
add validasi overselling telur
2026-06-03 10:26:40 +07:00
ValdiANS
4b9e86427d
feat: add date range filter to marketing list API
...
Added start_date, end_date, and filter_by query parameters to the
GET /api/marketing/ endpoint. Users can now filter marketing records
by a date range using either so_date (Sales Order date, default) or
created_at as the target column.
Changes:
- validation: added StartDate, EndDate (YYYY-MM-DD format), and
FilterBy (oneof: so_date, created_at) to DeliveryOrderQuery struct
- controller: parse the three new query params in GetAll handler
- service: apply >=start / <end+1day date range filter in the query
modifier using the existing utils.ParseDateRangeForQuery helper
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com >
2026-06-02 13:19:52 +07:00
giovanni
bfef144668
add filter warehouse to marketing;add detail export recording egg; adjust format export marketing
2026-05-31 16:23:22 +07:00
giovanni
8da2b7a3ab
ini ar fifo
2026-05-29 00:59:42 +07:00
giovanni
d2aa3ebac7
fix status marketing when edit sales order and edit marketing delivery
2026-05-19 12:15:53 +07:00
giovanni
04626560eb
adjust sorting pembelian dan expenses
2026-05-13 15:34:24 +07:00
giovanni
eac671fa80
adjust calculate total price marketing ayam pullet
2026-05-12 19:55:06 +07:00
giovanni
094e8f904b
add query sort by grand total
2026-05-07 14:11:39 +07:00
giovanni
0357531e73
add sorting at marketing
2026-05-07 14:03:17 +07:00
Adnan Zahir
e24e2ff123
feat: filter improvement
2026-04-23 00:17:24 +07:00
Adnan Zahir
9b9f5e257e
Merge branch 'codex/bulk-approve-marketings-expenses' into 'development'
...
fix: DTO mismatch marketings
See merge request mbugroup/lti-api!434
2026-04-22 11:49:44 +07:00
Adnan Zahir
adabd43f38
fix: DTO mismatch marketings
2026-04-22 11:41:27 +07:00
Adnan Zahir
5e7c51e9c2
feat: export input progress report for expenses, marketings, purchases, and recordings
2026-04-21 21:24:19 +07:00
Adnan Zahir
0d04397bd5
feat: bulk approve endpoint for marketings and expenses
2026-04-21 20:06:37 +07:00
giovanni
cd549de578
adjust edit delivery order; add migration for delivery order; adjust response get marketing
2026-04-14 14:48:56 +07:00
giovanni
18cf180982
adjust calculate total price create sales order for telur and convertion peti and qty
2026-04-07 18:39:32 +07:00
Adnan Zahir
be00837148
codex: initiated changes
2026-03-30 13:40:29 +07:00
Adnan Zahir
f8ca404bbb
Merge remote-tracking branch 'origin/dev/fifo-v2' into development
2026-03-08 15:07:59 +07:00
ragilap
d334f46829
[FEAT/BE] wiring recording,transfer_stock,transfer_laying,marketing for consumer chick in project flock population
2026-03-04 12:41:26 +07:00
Hafizh A. Y
944604adad
fix: first push need support testing, and implemented fifo v2 to all modules
2026-02-27 19:09:01 +07:00
ragilap
9d6a69dc4d
[FEAT/BE] fix status closed project flock, closing perhitungan sapronak
2026-02-23 11:33:57 +07:00
ragilap
0ac174fdc6
[FEAT/BE] fix filter rejected delivery service
2026-02-22 21:12:57 +07:00
ragilap
4bf9b12680
[FEAT/BE] fix response closing and fix status rejected filter
2026-02-20 14:46:01 +07:00
ragilap
77ec805931
[FEAT/BE] Add filter delivery order and adjust response purchase
2026-02-06 01:02:03 +07:00
aguhh18
aa1fd1c35b
FEAT[BE] :update price calculation in sales order service for accurate rounding, add new conversion unit for quantity
2026-02-05 09:57:38 +07:00
aguhh18
1d95976360
FEAT[BE] :add marketing type field to delivery and sales order DTOs, enhance validation and service logic for consistent marketing type handling
2026-02-04 14:47:56 +07:00
aguhh18
357b5709f5
FEAT[BE] :add conversion fields and week tracking to marketing product DTOs and update mapping functions
2026-02-04 12:48:05 +07:00
aguhh18
90de167fcd
FEAT[BE] :add type filtering and validation to product warehouse services
2026-02-04 09:59:15 +07:00
aguhh18
f59cdd821a
FEAT[BE] :add marketing type and conversion fields to marketing entities and services
2026-02-03 13:32:37 +07:00
aguhh18
9a328ae1e4
FEAT[BE] :implement proportional distribution with rounding for stock allocation in transfer laying approval process
2026-02-03 08:06:52 +07:00
aguhh18
e406b20ca7
FEAT[BE] :Fixing fifo stock when marketing deleted
2026-02-02 21:11:27 +07:00
aguhh18
1c1f2f03aa
FIX[BE] :remove unused product warehouse repository import and streamline stock consumption logic in consumeDeliveryStock method
2026-02-02 16:46:33 +07:00
giovanni
4f9cd5131f
Merge branch 'development' into feat/inventory-logs
2026-01-30 12:11:34 +07:00
aguhh18
86caa6c4d4
FIX[BE]; fixing penjualan qty tidak berkuranga
2026-01-29 12:24:32 +07:00
giovanni
ac3623fa97
Merge branch 'development' into feat/inventory-logs
2026-01-28 13:44:26 +07:00
giovanni
4d6f731f80
add migration add field stock to stock_logs; adjust logic stock for insert data stock_logs
2026-01-28 13:32:34 +07:00
ragilap
00cdfb692b
[FIX/BE-US] feat adjustment location and area
2026-01-27 10:34:25 +07:00
ragilap
76d980878d
Merge branch 'development' of https://gitlab.com/mbugroup/lti-api into feat/BE/sso-adjustment
2026-01-24 19:03:52 +07:00
aguhh18
f060da1cd3
FIX[BE]: Integrate StockLogRepository into deliveryOrdersService for stock logging functionality
2026-01-23 12:35:34 +07:00
aguhh18
6b4eb758e4
FIX[BE]: fixing umur on closing penjualan for penjualan OVK and PAKAN
2026-01-23 10:32:40 +07:00
aguhh18
87973a6c9f
HOTFIX[BE]: update total price calculation based on product flags for delivery and sales orders
2026-01-22 14:15:03 +07:00
ragilap
a3e9017e29
[FIX/BE-US] changes role to user and query
2026-01-15 14:43:59 +07:00
aguhh18
7f1d796b65
fix[BE]: correct total price calculation in delivery and sales order services
2026-01-13 22:50:58 +07:00
aguhh18
471fd1dbbf
feat(BE): enhance product warehouse handling and automatic calculations for delivery and sales orders
2025-12-30 16:30:44 +07:00
aguhh18
a0d2c1c7dd
feat[BE]: enhance marketing module by adding ProductWarehouseId to marketing delivery product creation
2025-12-28 10:40:20 +07:00
aguhh18
cd14de4dd2
Feat[BE]: implement FIFO stock management for marketing delivery products, including migration scripts and updates to related services and DTOs
2025-12-26 19:02:50 +07:00
ragilap
59ebe29ec8
Merge branch 'feat/BE/Sprint-6' of https://gitlab.com/mbugroup/lti-api into feat/BE/US-279/closing-produksi
2025-12-10 17:03:40 +07:00
aguhh18
d7c543bc9d
Refactor[BE]: : delete sales orders and delivery order folder and refactor to just one root marketing folder
2025-12-09 19:24:17 +07:00