code: def folderitem(self, obj, item, index):
          
          item["OrderNumber"] = obj.getOrderNumber()
          item["OrderDate"] = self.ulocalized_time(obj.getOrderDate())
          item["DateDispatched"] = self.ulocalized_time(obj.getDateDispatched())
          item["replace"]["OrderNumber"] = get_link(
              api.get_url(obj), obj.getOrderNumber())
          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