registrasion/reporting/views.py
def invoices(request, form):
    ''' Shows all of the invoices in the system. '''

    invoices = commerce.Invoice.objects.all().order_by("status", "id")

    return QuerysetReport(
        "Invoices",
        ["id", "recipient", "value", "get_status_display"],
        invoices,
        headings=["id", "Recipient", "Value", "Status"],
        link_view=views.invoice,
    )
def invoices(request, form):
    ''' Shows all of the invoices in the system. '''

    invoices = commerce.Invoice.objects.all().order_by("status", "id")

    return QuerysetReport(
        "Invoices",
        ["id", "recipient", "value", "get_status_display"],
        invoices,
        headings=["id", "Recipient", "Value", "Status"],
        link_view=views.invoice,
    )
def invoices ( request , form ) : invoices = commerce . Invoice . objects . all ( ) . order_by ( "status" , "id" ) return QuerysetReport ( "Invoices" , [ "id" , "recipient" , "value" , "get_status_display" ] , invoices , headings = [ "id" , "Recipient" , "Value" , "Status" ] , link_view = views . invoice , )
Shows all of the invoices in the system.
Shows all of the invoices in the system .