material, device-order required doctor_id, infra search and parent,childrens

This commit is contained in:
dpurbosakti
2025-10-03 10:53:06 +07:00
parent c23df03d0e
commit 39efdf4d57
15 changed files with 166 additions and 6 deletions

No files matched your search

@@ -20,3 +20,7 @@ type MaterialOrder struct {
func (d MaterialOrder) IsCompleted() bool {
return d.Status_Code == erc.DSCDone
}
func (d MaterialOrder) IsSameDoctor(doctor_id *uint) bool {
return d.Doctor_Id == doctor_id
}