giovanni
a70a69a5be
add validasi overselling telur
2026-06-03 10:26:40 +07:00
giovanni
255e6a16d3
add validate query param
2026-06-03 09:43:34 +07:00
giovanni
93ed89b4ef
ini api per farm
2026-06-03 00:30:41 +07:00
Rivaldi A N S
b9201c2a4f
Merge branch 'feat/marketing-filter-range-date' into 'development'
...
[FEAT][BE] Marketing Filter Range Date
See merge request mbugroup/lti-api!586
2026-06-02 09:50:02 +00:00
ValdiANS
981fb98248
fix: use soDate instead of deliveryDate for Delivery Order rows in marketing export
...
In the Excel export, Delivery Order rows were writing `group.DeliveryDate`
(the actual delivery date) to column B ("Tanggal"), while the web UI always
shows `so_date` for every row. This caused a visible mismatch — e.g. DO-01954
displayed "31 Mei 2026" on the web but "01-06-2026" in the exported file.
Changes:
- Remove the `doDate` variable from the DO branch; both the empty-deliveries
fallback row and each per-delivery row now write `soDate` to column B,
consistent with what the web shows
- Fix a pre-existing nil pointer dereference: `prod.ProductWarehouse.Warehouse`
was accessed without a nil guard in the SO branch
- Update the export test to match the current 17-column layout (headers and
row assertions were stale), and add a regression case that explicitly
asserts a DO row with soDate=2026-05-31 / deliveryDate=2026-06-01 produces
"31-05-2026" in column B
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com >
2026-06-02 16:48:06 +07:00
Rivaldi A N S
f443686505
Merge branch 'feat/marketing-filter-range-date' into 'development'
...
[FEAT][BE] Marketing Filter Range Date
See merge request mbugroup/lti-api!585
2026-06-02 06:27:57 +00: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 Gabriel Septriadi
9d8d54bd3c
Merge branch 'fix/recording-chickin' into 'development'
...
Fix/recording chickin
See merge request mbugroup/lti-api!584
2026-06-02 03:40:59 +00:00
giovanni
4cb37e481b
fix submit recording laying did not have chickin date
2026-06-02 10:39:50 +07:00
Giovanni Gabriel Septriadi
ef2f9568ad
Merge branch 'rc/01' into 'production'
...
Rc/01
See merge request mbugroup/lti-api!583
2026-06-01 15:01:07 +00:00
Giovanni Gabriel Septriadi
badbe4086a
Merge branch 'fix/reconcile-fifo' into 'rc/01'
...
add command to fix reconcile fifo; fix fifo stock v2
See merge request mbugroup/lti-api!582
2026-06-01 14:46:45 +00:00
Giovanni Gabriel Septriadi
6528739bfd
Merge branch 'feat/export-marketing' into 'rc/01'
...
Feat/export marketing and recording
See merge request mbugroup/lti-api!581
2026-06-01 14:45:41 +00:00
giovanni
44b82a8e38
init add function command for create seed depretitaion standard
2026-06-01 21:07:30 +07:00
Giovanni Gabriel Septriadi
791c5880fd
Merge branch 'fix/reconcile-fifo' into 'development'
...
Fix/reconcile fifo
See merge request mbugroup/lti-api!580
2026-06-01 14:03:06 +00:00
Giovanni Gabriel Septriadi
0581bf4a17
Merge branch 'feat/export-marketing' into 'development'
...
filter warehouse id to marketing; export recording add detail eggs; adjust format export marketing; adjust resposne list marketing
See merge request mbugroup/lti-api!579
2026-06-01 13:53:01 +00:00
giovanni
68bddd5c78
adjust response list marketing add grand total so dan do
2026-05-31 16:38:22 +07:00
giovanni
90efd0ba5a
add command to fix reconcile fifo; fix fifo stock v2
2026-05-31 16:25:16 +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 Gabriel Septriadi
09b1f19d19
Merge branch 'rc/01' into 'production'
...
Rc/01
See merge request mbugroup/lti-api!578
2026-05-30 03:14:16 +00:00
Giovanni Gabriel Septriadi
672f80a3ba
Merge branch 'fix/week-recording' into 'rc/01'
...
Fix/week recording
See merge request mbugroup/lti-api!577
2026-05-30 03:05:50 +00:00
Giovanni Gabriel Septriadi
1a5dfbb162
Merge branch 'fix/week-recording' into 'development'
...
Fix/week recording
See merge request mbugroup/lti-api!576
2026-05-30 03:05:08 +00:00
giovanni
0f12c706b0
fix calculate week create recording
2026-05-30 10:01:22 +07:00
Giovanni Gabriel Septriadi
d26c4e9e1a
Merge branch 'rc/01' into 'production'
...
Rc/01
See merge request mbugroup/lti-api!573
2026-05-29 16:28:37 +00:00
Giovanni Gabriel Septriadi
be7f3ac82a
Merge branch 'feat/trf-dep' into 'rc/01'
...
Feat/trf dep
See merge request mbugroup/lti-api!575
2026-05-29 15:45:33 +00:00
Giovanni Gabriel Septriadi
b28ffdf9c6
Merge branch 'feat/trf-dep' into 'development'
...
Feat/trf dep
See merge request mbugroup/lti-api!574
2026-05-29 14:50:10 +00:00
giovanni
a46edc4498
add adjustment depresiasi calculation and percentage depresiasi
2026-05-29 21:48:20 +07:00
Giovanni Gabriel Septriadi
254ce509fb
Merge branch 'feat/db' into 'rc/01'
...
add command for cleanup relesed stock allocations
See merge request mbugroup/lti-api!572
2026-05-29 11:48:36 +00:00
Giovanni Gabriel Septriadi
8624030b39
Merge branch 'fix/nomor-po' into 'rc/01'
...
normalize data po number to pr number and fix logic to fill field PO number
See merge request mbugroup/lti-api!571
2026-05-29 11:47:51 +00:00
Giovanni Gabriel Septriadi
90a921ff46
Merge branch 'feat/db' into 'development'
...
add command for cleanup relesed stock allocations
See merge request mbugroup/lti-api!569
2026-05-29 10:41:33 +00:00
Giovanni Gabriel Septriadi
2c9ae1d5ab
Merge branch 'fix/nomor-po' into 'development'
...
Fix/nomor po
See merge request mbugroup/lti-api!568
2026-05-29 10:23:22 +00:00
giovanni
b4fbef702a
Merge branch 'production' into feat/transfer-laying
2026-05-29 16:04:46 +07:00
giovanni
0410169746
normalize data po number to pr number and fix logic to fill field PO number
2026-05-29 16:01:44 +07:00
giovanni
bbc7f0f6e9
add command for cleanup relesed stock allocations
2026-05-29 15:02:32 +07:00
Giovanni Gabriel Septriadi
6264b0f08d
Merge branch 'feat/fifo-ar' into 'production'
...
Feat/fifo ar
See merge request mbugroup/lti-api!567
2026-05-29 02:38:43 +00:00
Giovanni Gabriel Septriadi
bf93770798
Merge branch 'feat/fifo-ar' into 'development'
...
init ar fifo
See merge request mbugroup/lti-api!566
2026-05-28 19:10:33 +00:00
giovanni
e6fe4d77eb
Merge branch 'fix/jamali' into feat/fifo-ar
2026-05-29 01:54:22 +07:00
giovanni
8ee87a73b7
fix
2026-05-29 01:49:58 +07:00
Giovanni Gabriel Septriadi
8fc41ee8e9
Merge branch 'fix/jamali' into 'production'
...
Fix/jamali
See merge request mbugroup/lti-api!565
2026-05-28 18:04:30 +00:00
giovanni
8da2b7a3ab
ini ar fifo
2026-05-29 00:59:42 +07:00
Giovanni Gabriel Septriadi
98d031cc18
Merge branch 'fix/jamali' into 'development'
...
Fix/jamali
See merge request mbugroup/lti-api!564
2026-05-28 15:59:40 +00:00
giovanni
7846487254
add migration for drift stock logs
2026-05-28 20:59:41 +07:00
giovanni
0ed67955a6
new file migration
2026-05-28 19:17:51 +07:00
giovanni
679d835fbb
add migration for normalize jamali non aktif to gudang farm jamali
2026-05-28 17:27:46 +07:00
giovanni
fecbcab48d
initial refactori trasnfer to laying, and depretitation to 25 week
2026-05-27 15:00:13 +07:00
Giovanni Gabriel Septriadi
2da476b276
Merge branch 'development' into 'production'
...
add excel export for purchase supplier report
See merge request mbugroup/lti-api!563
2026-05-25 08:16:24 +00:00
Giovanni Gabriel Septriadi
3232fc90bb
Merge branch 'export/marketing' into 'development'
...
fix list penjualan and export penjualan dengan qty
See merge request mbugroup/lti-api!562
2026-05-25 07:53:38 +00:00
giovanni
ef985b5da5
fix list penjualan and export penjualan dengan qty
2026-05-25 14:50:01 +07:00
Rivaldi A N S
55666c1dcd
Merge branch 'feat/export-balance-monitoring' into 'development'
...
[FEAT][BE] Export Balance Monitoring
See merge request mbugroup/lti-api!561
2026-05-25 07:25:03 +00:00
ValdiANS
c107f0f683
feat(reports): add Excel export to balance monitoring endpoint
...
Add ?export=excel support to GetBalanceMonitoring. Creates a new
repport.balance_monitoring.export.go with a 2-row merged header layout
matching the UI (Penjualan Ayam and Penjualan Telur grouped columns),
a totals row, red styling for negative Saldo Akhir, and frozen panes
below the header rows. Exported data reflects all active query filters.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com >
2026-05-25 14:18:47 +07:00
Rivaldi A N S
ba8f00a560
Merge branch 'feat/export-report-purchases-per-supplier' into 'development'
...
[FEAT][BE] Export Report Purchases Per Supplier
See merge request mbugroup/lti-api!560
2026-05-25 04:35:15 +00:00