step 11 : add toast for error in survey and kartu kontrol

This commit is contained in:
sindhu
2024-05-22 15:05:28 +07:00
parent 69074143af
commit 610e0f788f
10 changed files with 627 additions and 175 deletions

View File

@@ -9,23 +9,6 @@ func GetIdSurveyMcu(id string) string {
return id
}
// func ConcatHxIncludeSurveyMcu(data []models.ItemSurveyMcu) string {
// var stringx string
// if len(data) > 0 {
// for i, v := range data {
// if i > 0 {
// stringx += ", "
// }
// stringx += "[name='radio-" + v.IDItemSurvey + "'], [name='default-radio-" + v.IDItemSurvey + "'], [name='id-radio']"
// }
// }
// stringx += ",[name='saranMcu']"
// return stringx
// }
func ConcatHxIncludeSurveyMcu(dataSurveyMcu []models.SurveyMcu) string {
var elements []string