From d9d0fb7c68709b37c70d144097c6673635f119a7 Mon Sep 17 00:00:00 2001 From: Chetan Kale Date: Sat, 1 Jul 2023 21:34:07 +0530 Subject: [PATCH 1/5] initial training data mismatched has been fixed. removed violation found from crimiAL tab. --- Child Labor/EnforceTableViewController.swift | 6 +- Child Labor/Main.storyboard | 124 +++++++------------ 2 files changed, 49 insertions(+), 81 deletions(-) diff --git a/Child Labor/EnforceTableViewController.swift b/Child Labor/EnforceTableViewController.swift index 36456d1..e2668a2 100755 --- a/Child Labor/EnforceTableViewController.swift +++ b/Child Labor/EnforceTableViewController.swift @@ -87,7 +87,7 @@ class EnforceTableViewController: UITableViewController { //setEnforcement(self.laborInspectionsLabel, text: enforcements["Labor_Inspections"].element?.text) setEnforcement(self.laborWorksiteInspectionsLabel, text: enforcements["Labor_Inspections"].element?.text) - setEnforcement(self.laborViolationsLabel, text: enforcements["Labor_Violations"].element?.text) + //setEnforcement(self.laborViolationsLabel, text: enforcements["Labor_Violations"].element?.text) setEnforcement(self.laborPenaltiesImposedLabel, text: enforcements["Labor_Penalties_Imposed"].element?.text) setEnforcement(self.laborPenaltiesCollectedLabel, text: enforcements["Labor_Penalties_Collected"].element?.text) setEnforcement(self.laborRoutineConductedLabel, text: enforcements["Labor_Routine_Inspections_Conducted"].element?.text) @@ -191,9 +191,9 @@ class EnforceTableViewController: UITableViewController { else { switch section { case 7: - return 2 + return 1 case 8: - return 6 + return 5 default: return 0 } diff --git a/Child Labor/Main.storyboard b/Child Labor/Main.storyboard index 7de255d..7166668 100644 --- a/Child Labor/Main.storyboard +++ b/Child Labor/Main.storyboard @@ -2224,7 +2224,7 @@ and School - + @@ -2935,13 +2935,13 @@ Standards - - +