def inv_send_pdf_footer(r):
 if r.record:
  T = current.T
  footer = DIV(TABLE(TR(TH(T('Commodities Loaded')), TH(T('Date')), TH(T('Function')), TH(T('Name')), TH(T('Signature')), TH(T('Location (Site)')), TH(T('Condition'))), TR(TD(T('Loaded By')), TD(), TD(), TD(), TD(), TD(), TD()), TR(TD(T('Transported By')), TD(), TD(), TD(), TD(), TD(), TD()), TR(TH(T('Reception')), TH(T('Date')), TH(T('Function')), TH(T('Name')), TH(T('Signature')), TH(T('Location (Site)')), TH(T('Condition'))), TR(TD(T('Received By')), TD(), TD(), TD(), TD(), TD(), TD())))
  return footer
 return None

def inv_send_pdf_footer ( r ) : if r . record : T = current . T footer = DIV ( TABLE ( TR ( TH ( T ( 'Commodities Loaded' ) ) , TH ( T ( 'Date' ) ) , TH ( T ( 'Function' ) ) , TH ( T ( 'Name' ) ) , TH ( T ( 'Signature' ) ) , TH ( T ( 'Location (Site)' ) ) , TH ( T ( 'Condition' ) ) ) , TR ( TD ( T ( 'Loaded By' ) ) , TD ( ) , TD ( ) , TD ( ) , TD ( ) , TD ( ) , TD ( ) ) , TR ( TD ( T ( 'Transported By' ) ) , TD ( ) , TD ( ) , TD ( ) , TD ( ) , TD ( ) , TD ( ) ) , TR ( TH ( T ( 'Reception' ) ) , TH ( T ( 'Date' ) ) , TH ( T ( 'Function' ) ) , TH ( T ( 'Name' ) ) , TH ( T ( 'Signature' ) ) , TH ( T ( 'Location (Site)' ) ) , TH ( T ( 'Condition' ) ) ) , TR ( TD ( T ( 'Received By' ) ) , TD ( ) , TD ( ) , TD ( ) , TD ( ) , TD ( ) , TD ( ) ) ) ) return footer return None
footer for the waybill .