コード例 #1
0
ファイル: views.py プロジェクト: winstonhoseadriggins/billy
    def transaction_index(self):
        """Get and return the list of transactions unrder current customer

        """
        return list_by_context(
            self.request,
            TransactionModel,
            self.context.entity,
        )
コード例 #2
0
ファイル: views.py プロジェクト: Imaxinacion/billy
    def transaction_index(self):
        """Get and return the list of transactions unrder current customer

        """
        return list_by_context(
            self.request,
            TransactionModel,
            self.context.entity,
        )
コード例 #3
0
ファイル: views.py プロジェクト: remotesyssupport/billy
 def get(self):
     request = self.request
     company = authenticated_userid(request)
     return list_by_context(request, PlanModel, company)
コード例 #4
0
ファイル: views.py プロジェクト: remotesyssupport/billy
    def invoice_index(self):
        """Get and return the list of invoices unrder current plan

        """
        return list_by_context(self.request, InvoiceModel, self.context.entity)
コード例 #5
0
ファイル: views.py プロジェクト: remotesyssupport/billy
    def subscription_index(self):
        """Get and return the list of subscriptions unrder current plan

        """
        return list_by_context(self.request, SubscriptionModel, self.context.entity)
コード例 #6
0
ファイル: views.py プロジェクト: remotesyssupport/billy
    def customer_index(self):
        """Get and return the list of customers unrder current plan

        """
        return list_by_context(self.request, CustomerModel, self.context.entity)
コード例 #7
0
ファイル: views.py プロジェクト: winstonhoseadriggins/billy
 def get(self):
     request = self.request
     company = authenticated_userid(request)
     return list_by_context(request, TransactionModel, company)
コード例 #8
0
    def subscription_index(self):
        """Get and return the list of subscriptions unrder current plan

        """
        return list_by_context(self.request, SubscriptionModel,
                               self.context.entity)
コード例 #9
0
    def customer_index(self):
        """Get and return the list of customers unrder current plan

        """
        return list_by_context(self.request, CustomerModel,
                               self.context.entity)
コード例 #10
0
    def invoice_index(self):
        """Get and return the list of invoices unrder current plan

        """
        return list_by_context(self.request, InvoiceModel, self.context.entity)
コード例 #11
0
ファイル: views.py プロジェクト: winstonhoseadriggins/billy
 def get(self):
     request = self.request
     company = authenticated_userid(request)
     return list_by_context(request, InvoiceModel, company)
コード例 #12
0
ファイル: views.py プロジェクト: Imaxinacion/billy
    def subscription_index(self):
        """Get and return the list of subscriptions unrder current customer

        """
        customer = self.context.entity
        return list_by_context(self.request, SubscriptionModel, customer)
コード例 #13
0
ファイル: views.py プロジェクト: Imaxinacion/billy
    def invoice_index(self):
        """Get and return the list of invoices unrder current customer

        """
        customer = self.context.entity
        return list_by_context(self.request, InvoiceModel, customer)
コード例 #14
0
ファイル: views.py プロジェクト: winstonhoseadriggins/billy
    def subscription_index(self):
        """Get and return the list of subscriptions unrder current customer

        """
        customer = self.context.entity
        return list_by_context(self.request, SubscriptionModel, customer)
コード例 #15
0
ファイル: views.py プロジェクト: winstonhoseadriggins/billy
    def invoice_index(self):
        """Get and return the list of invoices unrder current customer

        """
        customer = self.context.entity
        return list_by_context(self.request, InvoiceModel, customer)