Merge branch 'fix/data-produksi' into 'development'

[FIX][BE]: fix closing data produksi PENJUALAN

See merge request mbugroup/lti-api!261
This commit is contained in:
Hafizh A. Y.
2026-01-27 07:53:45 +00:00
2 changed files with 2 additions and 2 deletions
@@ -253,7 +253,7 @@ func (r *HppRepositoryImpl) GetEggTerjualPiecesAndWeightKgByProjectFlockKandangI
Joins("JOIN marketing_delivery_products mdp ON mdp.id = sa.usable_id").
Where("r.project_flock_kandangs_id IN (?)", projectFlockKandangIDs).
Where("r.record_datetime <= ?", *endDate).
Where("mdp.delivery_date = ?", *startDate)
Where("mdp.delivery_date <= ?", *startDate)
var totals struct {
TotalPieces float64