code: def folderitem(self, obj, item, index):
          
          DueDate = obj.getDueDate
  
          item["getDateReceived"] = self.ulocalized_time(obj.getDateReceived)
          item["getDueDate"] = self.ulocalized_time(DueDate)
  
          if DueDate and DueDate < DateTime():
              item["after"]["DueDate"] = get_image(
                  "late.png", title=t(_("Late Analysis")))
  
          # Add Priority column
          priority_sort_key = obj.getPrioritySortkey
          if not priority_sort_key:
              # Default priority is Medium = 3.
              # The format of PrioritySortKey is <priority>.<created>
              priority_sort_key = "3.%s" % obj.created.ISO8601()
  
          priority = priority_sort_key.split(".")[0]
          priority_text = t(PRIORITIES.getValue(priority))
          html = "<div title='{}' class='priority-ico priority-{}'><div>"
          item["replace"]["Priority"] = html.format(priority_text, priority)
  
          return item
docs: Service triggered each time an item is iterated in folderitems.
  
          The use of this service prevents the extra-loops in child objects.
  
          :obj: the instance of the class to be foldered
          :item: dict containing the properties of the object to be used by
              the template
          :index: current index of the item