Tables
hypha.apply.projects.tables
¶
BaseInvoiceTable
¶
Bases: Table
invoice_number
class-attribute
instance-attribute
¶
invoice_number = LinkColumn('funds:projects:invoice-detail', verbose_name=gettext_lazy('Invoice Number'), args=[A('project__pk'), A('pk')], attrs={'td': {'class': 'js-title'}, 'a': {'data-tippy-content': lambda record: invoice_number, 'data-tippy-placement': 'top', 'class': "truncate inline-block w-[calc(100%-2rem)] after:content-[''] after:block"}})
status
class-attribute
instance-attribute
¶
status = Column(attrs={'td': {'data-actions': render_invoice_actions, 'class': 'js-actions'}})
requested_at
class-attribute
instance-attribute
¶
invoice_date
class-attribute
instance-attribute
¶
InvoiceDashboardTable
¶
Bases: BaseInvoiceTable
invoice_number
class-attribute
instance-attribute
¶
invoice_number = LinkColumn('funds:projects:invoice-detail', verbose_name=gettext_lazy('Invoice Number'), args=[A('project__pk'), A('pk')], attrs={'td': {'class': 'js-title'}, 'a': {'data-tippy-content': lambda record: invoice_number, 'data-tippy-placement': 'top', 'class': "truncate inline-block w-[calc(100%-2rem)] after:content-[''] after:block"}})
status
class-attribute
instance-attribute
¶
status = Column(attrs={'td': {'data-actions': render_invoice_actions, 'class': 'js-actions'}})
requested_at
class-attribute
instance-attribute
¶
invoice_date
class-attribute
instance-attribute
¶
project
class-attribute
instance-attribute
¶
FinanceInvoiceTable
¶
Bases: BaseInvoiceTable
invoice_number
class-attribute
instance-attribute
¶
invoice_number = LinkColumn('funds:projects:invoice-detail', verbose_name=gettext_lazy('Invoice Number'), args=[A('project__pk'), A('pk')], attrs={'td': {'class': 'js-title'}, 'a': {'data-tippy-content': lambda record: invoice_number, 'data-tippy-placement': 'top', 'class': "truncate inline-block w-[calc(100%-2rem)] after:content-[''] after:block"}})
status
class-attribute
instance-attribute
¶
status = Column(attrs={'td': {'data-actions': render_invoice_actions, 'class': 'js-actions'}})
requested_at
class-attribute
instance-attribute
¶
invoice_date
class-attribute
instance-attribute
¶
vendor_name
class-attribute
instance-attribute
¶
selected
class-attribute
instance-attribute
¶
selected = LabeledCheckboxColumn(accessor=A('pk'), attrs={'input': {'class': 'js-batch-select'}, 'th__input': {'class': 'js-batch-select-all'}})
InvoiceListTable
¶
Bases: BaseInvoiceTable
invoice_number
class-attribute
instance-attribute
¶
invoice_number = LinkColumn('funds:projects:invoice-detail', verbose_name=gettext_lazy('Invoice Number'), args=[A('project__pk'), A('pk')], attrs={'td': {'class': 'js-title'}, 'a': {'data-tippy-content': lambda record: invoice_number, 'data-tippy-placement': 'top', 'class': "truncate inline-block w-[calc(100%-2rem)] after:content-[''] after:block"}})
status
class-attribute
instance-attribute
¶
status = Column(attrs={'td': {'data-actions': render_invoice_actions, 'class': 'js-actions'}})
requested_at
class-attribute
instance-attribute
¶
invoice_date
class-attribute
instance-attribute
¶
project
class-attribute
instance-attribute
¶
fund
class-attribute
instance-attribute
¶
lead
class-attribute
instance-attribute
¶
AdminInvoiceListTable
¶
Bases: BaseInvoiceTable
invoice_number
class-attribute
instance-attribute
¶
invoice_number = LinkColumn('funds:projects:invoice-detail', verbose_name=gettext_lazy('Invoice Number'), args=[A('project__pk'), A('pk')], attrs={'td': {'class': 'js-title'}, 'a': {'data-tippy-content': lambda record: invoice_number, 'data-tippy-placement': 'top', 'class': "truncate inline-block w-[calc(100%-2rem)] after:content-[''] after:block"}})
status
class-attribute
instance-attribute
¶
status = Column(attrs={'td': {'data-actions': render_invoice_actions, 'class': 'js-actions'}})
requested_at
class-attribute
instance-attribute
¶
invoice_date
class-attribute
instance-attribute
¶
project
class-attribute
instance-attribute
¶
selected
class-attribute
instance-attribute
¶
selected = LabeledCheckboxColumn(accessor=A('pk'), attrs={'input': {'class': 'js-batch-select'}, 'th__input': {'class': 'js-batch-select-all'}})
BaseProjectsTable
¶
Bases: Table
title
class-attribute
instance-attribute
¶
title = LinkColumn('funds:projects:detail', text=lambda r: shorten(title, width=30, placeholder='...'), args=[A('pk')])
status
class-attribute
instance-attribute
¶
status = Column(verbose_name=gettext_lazy('Status'), accessor='get_status_display', order_by=('status'))
fund
class-attribute
instance-attribute
¶
reporting
class-attribute
instance-attribute
¶
end_date
class-attribute
instance-attribute
¶
order_reporting
¶
render_reporting
¶
Source code in hypha/apply/projects/tables.py
ProjectsDashboardTable
¶
Bases: BaseProjectsTable
title
class-attribute
instance-attribute
¶
title = LinkColumn('funds:projects:detail', text=lambda r: shorten(title, width=30, placeholder='...'), args=[A('pk')])
status
class-attribute
instance-attribute
¶
status = Column(verbose_name=gettext_lazy('Status'), accessor='get_status_display', order_by=('status'))
fund
class-attribute
instance-attribute
¶
reporting
class-attribute
instance-attribute
¶
end_date
class-attribute
instance-attribute
¶
Meta
¶
order_reporting
¶
render_reporting
¶
Source code in hypha/apply/projects/tables.py
ProjectsAssigneeDashboardTable
¶
Bases: BaseProjectsTable
title
class-attribute
instance-attribute
¶
title = LinkColumn('funds:projects:detail', text=lambda r: shorten(title, width=30, placeholder='...'), args=[A('pk')])
status
class-attribute
instance-attribute
¶
status = Column(verbose_name=gettext_lazy('Status'), accessor='get_status_display', order_by=('status'))
fund
class-attribute
instance-attribute
¶
reporting
class-attribute
instance-attribute
¶
end_date
class-attribute
instance-attribute
¶
order_reporting
¶
render_reporting
¶
Source code in hypha/apply/projects/tables.py
PAFForReviewDashboardTable
¶
Bases: Table
date_requested
class-attribute
instance-attribute
¶
date_requested = DateColumn(verbose_name=gettext_lazy('Date requested'), accessor='created_at', orderable=True)
title
class-attribute
instance-attribute
¶
title = LinkColumn('funds:projects:detail', text=lambda r: shorten(title, width=30, placeholder='...'), accessor='project__title', args=[A('project__pk')], orderable=False)
status
class-attribute
instance-attribute
¶
fund
class-attribute
instance-attribute
¶
fund = Column(verbose_name=gettext_lazy('Fund'), accessor='project__submission__page', orderable=False)
assignee
class-attribute
instance-attribute
¶
order_date_requested
¶
ProjectsListTable
¶
Bases: BaseProjectsTable
title
class-attribute
instance-attribute
¶
title = LinkColumn('funds:projects:detail', text=lambda r: shorten(title, width=30, placeholder='...'), args=[A('pk')])
status
class-attribute
instance-attribute
¶
status = Column(verbose_name=gettext_lazy('Status'), accessor='get_status_display', order_by=('status'))