Skip to content

Commit

Permalink
Bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
danfordnchembi committed Jul 25, 2023
1 parent 59fd516 commit 88ce7e9
Show file tree
Hide file tree
Showing 7 changed files with 12,122 additions and 36 deletions.
3 changes: 1 addition & 2 deletions .idea/workspace.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

24 changes: 12 additions & 12 deletions Core/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ def __str__(self):

class Meta:
db_table = 'ServiceReceived'
verbose_name_plural = '1. Services Received'
verbose_name_plural = 'Services Received'


class ServiceReceivedItems(models.Model):
Expand All @@ -41,7 +41,7 @@ def __str__(self):

class Meta:
db_table = 'ServiceReceivedItems'
verbose_name_plural = '2. Services Received Items'
verbose_name_plural = 'Services Received Items'


class DeathByDiseaseCaseAtFacility(models.Model):
Expand All @@ -55,7 +55,7 @@ def __str__(self):

class Meta:
db_table = 'DeathByDiseaseCaseAtFacility'
verbose_name_plural = "3. Death by Disease Cases at Facility"
verbose_name_plural = "Death by Disease Cases at Facility"


class DeathByDiseaseCaseAtFacilityItems(models.Model):
Expand All @@ -78,7 +78,7 @@ def __str__(self):

class Meta:
db_table = 'DeathByDiseaseCaseAtFacilityItems'
verbose_name_plural = "4. Death by Disease Cases at Facility Items"
verbose_name_plural = "Death by Disease Cases at Facility Items"


class DeathByDiseaseCaseNotAtFacility(models.Model):
Expand All @@ -92,7 +92,7 @@ def __str__(self):

class Meta:
db_table = 'DeathByDiseaseCaseNotAtFacility'
verbose_name_plural = "5. Death by Disease Cases Not at Facility"
verbose_name_plural = "Death by Disease Cases Not at Facility"


class DeathByDiseaseCaseNotAtFacilityItems(models.Model):
Expand All @@ -111,7 +111,7 @@ def __str__(self):

class Meta:
db_table = 'DeathByDiseaseCaseNotAtFacilityItems'
verbose_name_plural = "6. Death by Disease Cases Not at Facility Items"
verbose_name_plural = "Death by Disease Cases Not at Facility Items"


class BedOccupancy(models.Model):
Expand All @@ -126,7 +126,7 @@ def __str__(self):

class Meta:
db_table = 'BedOccupancy'
verbose_name_plural = "7. Bed occupancy"
verbose_name_plural = "Bed occupancy"


class BedOccupancyItems(models.Model):
Expand All @@ -142,7 +142,7 @@ def __str__(self):

class Meta:
db_table = 'BedOccupancyItems'
verbose_name_plural = "8. Bed occupancy Items"
verbose_name_plural = "Bed occupancy Items"


class BedOccupancyReport(models.Model):
Expand All @@ -159,7 +159,7 @@ def __str__(self):

class Meta:
db_table = "BedOccupancyReport"
verbose_name_plural = "9. Bed occupancy Report"
verbose_name_plural = "Bed occupancy Report"


class RevenueReceived(models.Model):
Expand All @@ -173,7 +173,7 @@ def __str__(self):

class Meta:
db_table = 'RevenueReceived'
verbose_name_plural = "10. Revenue received"
verbose_name_plural = "Revenue received"


class RevenueReceivedItems(models.Model):
Expand All @@ -195,7 +195,7 @@ def __str__(self):

class Meta:
db_table = 'RevenueReceivedItems'
verbose_name_plural = "11. Revenue Received Items"
verbose_name_plural = "Revenue Received Items"


class ServicesReceivedDataset(models.Model):
Expand Down Expand Up @@ -231,4 +231,4 @@ def __str__(self):

class Meta:
db_table = 'ServicesReceivedDataset'
verbose_name_plural = "12. Services Received Dataset"
verbose_name_plural = "Services Received Dataset"
8 changes: 4 additions & 4 deletions DHIS/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ def __str__(self):

class Meta:
db_table = "organisation_units"
verbose_name_plural = "1. Organization Units"
verbose_name_plural = "Organization Units"


class DataElement(models.Model):
Expand Down Expand Up @@ -70,7 +70,7 @@ def __str__(self):

class Meta:
db_table = "data_elements"
verbose_name_plural = "2. Data Elements"
verbose_name_plural = "Data Elements"


class CategoryOptionCombo(models.Model):
Expand All @@ -82,7 +82,7 @@ def __str__(self):

class Meta:
db_table = "category_option_combo"
verbose_name_plural = "3. Category Option Combo"
verbose_name_plural = "Category Option Combo"



Expand All @@ -95,4 +95,4 @@ def __str__(self):

class Meta:
db_table = "category_option_combo_data_element_mapping"
verbose_name_plural = "4. Category Option Combo Data Element Mapping"
verbose_name_plural = "Category Option Combo Data Element Mapping"
Loading

0 comments on commit 88ce7e9

Please sign in to comment.