fix closing data produksi sales

This commit is contained in:
giovanni
2026-01-27 12:27:25 +07:00
parent 3c77aff413
commit ba20394a10
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