Giovanni Gabriel Septriadi
0a900986e7
Merge branch 'fix/depretiatio-response' into 'development'
...
adjust response depretitation v2
See merge request mbugroup/lti-api!610
2026-06-08 05:32:28 +00:00
giovanni
217f35b250
adjust response depretitation v2
2026-06-08 12:30:51 +07:00
giovanni
085d2f9bfe
fix data manual input; remove update manual input from crud recording
2026-06-07 21:59:23 +07:00
Giovanni Gabriel Septriadi
09242a6998
Merge branch 'fix/hpp-per-farm' into 'development'
...
adjust hpp per farm query to take feed and ovk
See merge request mbugroup/lti-api!606
2026-06-07 11:58:01 +00:00
giovanni
2216f572c2
fix recording standar prod laying
2026-06-07 18:55:24 +07:00
giovanni
edfd6ac95c
add command for normalize data recording population not match; adjust closing overhead and keuangan
2026-06-07 16:34:22 +07:00
giovanni
aa3e655a67
adjust hpp per farm query to take feed and ovk
2026-06-06 10:29:33 +07:00
Giovanni Gabriel Septriadi
a98d026ccb
Merge branch 'feat/hpp-per-farm' into 'development'
...
adjust list marketing
See merge request mbugroup/lti-api!604
2026-06-06 01:40:01 +00:00
giovanni
c3eab60f49
adjust list marketing
2026-06-06 08:38:38 +07:00
Giovanni Gabriel Septriadi
e455889dae
Merge branch 'feat/hpp-per-farm' into 'development'
...
Feat/hpp per farm
See merge request mbugroup/lti-api!602
2026-06-06 01:20:25 +00:00
Giovanni Gabriel Septriadi
be8b99e7e8
Merge branch 'feat/depresiasi-v2' into 'development'
...
adjust
See merge request mbugroup/lti-api!601
2026-06-06 01:12:45 +00:00
giovanni
5760bb6de8
adjust
2026-06-06 08:12:06 +07:00
Giovanni Gabriel Septriadi
1e8651b8f2
Merge branch 'fix/migration-do' into 'development'
...
fix over consume by code, revert migration overconsume sell
See merge request mbugroup/lti-api!600
2026-06-06 00:53:25 +00:00
giovanni
33bae94d43
fix over consume by code, revert migration overconsume sell
2026-06-06 07:49:34 +07:00
giovanni
1ef32407f1
create api get depresiasi v2
2026-06-05 13:51:09 +07:00
giovanni
2a101ed0db
fix fk empty kandang to kandang_group
2026-06-05 12:58:08 +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 Gabriel Septriadi
6b5a6a61b6
Merge branch 'feat/cut-over-depresiasi' into 'rc/01'
...
Feat/cut over depresiasi
See merge request mbugroup/lti-api!594
2026-06-04 16:57:11 +00:00
Giovanni Gabriel Septriadi
d6304d9b39
Merge branch 'fix/recording-chickin' into 'rc/01'
...
Fix/recording chickin
See merge request mbugroup/lti-api!593
2026-06-04 16:51:24 +00:00
Giovanni Gabriel Septriadi
b966777095
Merge branch 'feat/patch-chickindate' into 'rc/01'
...
Feat/patch chickindate
See merge request mbugroup/lti-api!591
2026-06-04 16:50:23 +00:00
giovanni
f64839dfe1
add delete snapshoot if change chickin date
2026-06-04 23:46:25 +07:00
giovanni
675c0ade61
fix calculate schedule day
2026-06-04 14:11:55 +07:00
giovanni
b4f7c15d03
Merge branch 'feat/patch-chickindate' into feat/cut-over-depresiasi
2026-06-04 12:29:10 +07:00
giovanni
37de931b37
adjust migration for seed and depresiasi
2026-06-04 12:28:35 +07:00
giovanni
a51e5302c3
add migration for seed to standar depresiasi and update data cutover sesuai excel ebitda
2026-06-03 22:08:26 +07:00
giovanni
968305fad0
Merge branch 'production' into feat/cut-over-depresiasi
2026-06-03 21:59:47 +07:00
giovanni
0ff720453f
add api for edit chickin date
2026-06-03 11:56:32 +07:00
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
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
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
4cb37e481b
fix submit recording laying did not have chickin date
2026-06-02 10:39:50 +07: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
44b82a8e38
init add function command for create seed depretitaion standard
2026-06-01 21:07:30 +07: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
0f12c706b0
fix calculate week create recording
2026-05-30 10:01:22 +07: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
a46edc4498
add adjustment depresiasi calculation and percentage depresiasi
2026-05-29 21:48:20 +07: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
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
8da2b7a3ab
ini ar fifo
2026-05-29 00:59:42 +07: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