fix(FE): add sales person, refactor calculate total weight and price, add uom information and implement lazy load select

This commit is contained in:
randy-ar
2026-01-15 00:32:55 +07:00
parent 7a6bee57c2
commit 5e7f55000a
5 changed files with 286 additions and 100 deletions
@@ -563,7 +563,7 @@ const RecordingForm = ({ type = 'add', initialValues }: RecordingFormProps) => {
todayRecordings.forEach((recording) => {
const recordingDate = recording.record_datetime?.split('T')[0];
if (recordingDate === today) {
recordedIds.add(recording.project_flock.project_flock_kandang_id);
recordedIds.add(recording.project_flock?.project_flock_kandang_id);
}
});