Vendor
hypha.apply.projects.models.vendor
¶
BankInformation
¶
Bases: Model
account_holder_name
class-attribute
instance-attribute
¶
account_routing_number
class-attribute
instance-attribute
¶
branch_address
class-attribute
instance-attribute
¶
iba_info
class-attribute
instance-attribute
¶
iba_info = OneToOneField('self', null=True, blank=True, on_delete=SET_NULL, related_name='bank_info', verbose_name='Intermediary Bank Account Information')
nid_type
class-attribute
instance-attribute
¶
nid_number
class-attribute
instance-attribute
¶
wagtail_reference_index_ignore
class-attribute
instance-attribute
¶
Vendor
¶
Bases: Model
TYPE_CHOICES
class-attribute
instance-attribute
¶
TYPE_CHOICES = [('organization', gettext_lazy('Yes, the account belongs to the organisation above')), ('personal', gettext_lazy('No, it is a personal bank account'))]
created_at
class-attribute
instance-attribute
¶
updated_at
class-attribute
instance-attribute
¶
user
class-attribute
instance-attribute
¶
contractor_name
class-attribute
instance-attribute
¶
address
class-attribute
instance-attribute
¶
type
class-attribute
instance-attribute
¶
type = CharField(max_length=15, choices=TYPE_CHOICES, blank=True)
required_to_pay_taxes
class-attribute
instance-attribute
¶
bank_info
class-attribute
instance-attribute
¶
bank_info = OneToOneField(BankInformation, on_delete=SET_NULL, null=True, blank=True)
user_has_updated_details
class-attribute
instance-attribute
¶
wagtail_reference_index_ignore
class-attribute
instance-attribute
¶
DueDiligenceDocument
¶
Bases: Model
document
class-attribute
instance-attribute
¶
document = FileField(upload_to='due_diligence_documents', storage=PrivateStorage())
vendor
class-attribute
instance-attribute
¶
vendor = ForeignKey(Vendor, on_delete=CASCADE, related_name='due_diligence_documents')
wagtail_reference_index_ignore
class-attribute
instance-attribute
¶
VendorFormSettings
¶
Bases: BaseSiteSetting
wagtail_reference_index_ignore
class-attribute
instance-attribute
¶
name_label
class-attribute
instance-attribute
¶
name_label = TextField('label', default='1. What is the name of the person/organisation on the contract?')
name_help_text
class-attribute
instance-attribute
¶
name_help_text = RichTextField('help text', blank=True, default='This is the party name in the contract.')
contractor_name_label
class-attribute
instance-attribute
¶
contractor_name_label = TextField('label', default="2. What is the individual's name who is signing the contract?")
contractor_name_help_text
class-attribute
instance-attribute
¶
contractor_name_help_text = RichTextField('help text', blank=True, default='This person is is authorised to sign contract on behalf of the person or organization named above.')
type_label
class-attribute
instance-attribute
¶
type_label = TextField('label', default='3. Is the bank account owned by the person or organisation in the Question 1 above?')
type_help_text
class-attribute
instance-attribute
¶
type_help_text = RichTextField('help text', blank=True, default='The name of the bank account must be the same as on the contract.')
required_to_pay_taxes_label
class-attribute
instance-attribute
¶
required_to_pay_taxes_label = TextField('label', default='Is the organisation required to pay US taxes?')
required_to_pay_taxes_help_text
class-attribute
instance-attribute
¶
due_diligence_documents_label
class-attribute
instance-attribute
¶
due_diligence_documents_help_text
class-attribute
instance-attribute
¶
due_diligence_documents_help_text = RichTextField('help text', blank=True, default='Upload Due Diligence Documents. E.g. w8/w9 forms.')
account_holder_name_label
class-attribute
instance-attribute
¶
account_holder_name_help_text
class-attribute
instance-attribute
¶
account_holder_name_help_text = RichTextField('help text', blank=True, default='This name must be same as the person or organisation that signed the contract. This person is authorised to sign contracts on behalf of the person or organisation named above.')
account_routing_number_label
class-attribute
instance-attribute
¶
account_routing_number_help_text
class-attribute
instance-attribute
¶
account_routing_number_help_text = RichTextField('help text', blank=True, default='Depending on your country, this might be called the ACH, SWIFT, BIC or ABA number.')
account_number_label
class-attribute
instance-attribute
¶
account_number_help_text
class-attribute
instance-attribute
¶
account_number_help_text = RichTextField('help text', blank=True, default='Depending on your country, this might be called the account number, IBAN, or BBAN number.')
account_currency_label
class-attribute
instance-attribute
¶
account_currency_help_text
class-attribute
instance-attribute
¶
account_currency_help_text = RichTextField('help text', blank=True, default='This is the currency of this bank account.')
need_extra_info_label
class-attribute
instance-attribute
¶
need_extra_info_label = TextField('label', default='Do you need to provide us with extra information?')
need_extra_info_help_text
class-attribute
instance-attribute
¶
branch_address_label
class-attribute
instance-attribute
¶
branch_address_help_text
class-attribute
instance-attribute
¶
branch_address_help_text = TextField('help text', blank=True, default='The address of the bank branch where you have the bank account located(not the bank account holder address)')
ib_account_routing_number_label
class-attribute
instance-attribute
¶
ib_account_routing_number_label = TextField('label', default='Intermediary Bank Account Routing Number')
ib_account_routing_number_help_text
class-attribute
instance-attribute
¶
ib_account_routing_number_help_text = RichTextField('help text', blank=True, default='Depending on your country, this might be called ACH, SWIFT, BIC or ABA number')
ib_account_number_label
class-attribute
instance-attribute
¶
ib_account_number_help_text
class-attribute
instance-attribute
¶
ib_account_number_help_text = RichTextField('help text', blank=True, default='Depending on your country, this might be called the account number, IBAN, or BBAN number')
ib_account_currency_label
class-attribute
instance-attribute
¶
ib_account_currency_help_text
class-attribute
instance-attribute
¶
ib_account_currency_help_text = RichTextField('help text', blank=True, default='This is the currency of this bank account')
ib_branch_address_label
class-attribute
instance-attribute
¶
ib_branch_address_help_text
class-attribute
instance-attribute
¶
ib_branch_address_help_text = RichTextField('help text', blank=True, default='Bank branch address(not the bank account holder address)')
nid_type_label
class-attribute
instance-attribute
¶
nid_type_help_text
class-attribute
instance-attribute
¶
nid_type_help_text = RichTextField('help text', blank=True, default='This could be a passport, a National Identity number, or other national identity document.')
nid_number_label
class-attribute
instance-attribute
¶
nid_number_help_text
class-attribute
instance-attribute
¶
other_info_label
class-attribute
instance-attribute
¶
other_info_help_text
class-attribute
instance-attribute
¶
other_info_help_text = RichTextField('help text', blank=True, default='If you need to include other information not listed above, provide it here.')
panels
class-attribute
instance-attribute
¶
panels = [MultiFieldPanel([FieldPanel('name_label'), FieldPanel('name_help_text')], 'Name'), MultiFieldPanel([FieldPanel('contractor_name_label'), FieldPanel('contractor_name_help_text')], 'Contractor Name'), MultiFieldPanel([FieldPanel('type_label'), FieldPanel('type_help_text')], 'Type'), MultiFieldPanel([FieldPanel('required_to_pay_taxes_label'), FieldPanel('required_to_pay_taxes_help_text')], 'Required to pay taxes'), MultiFieldPanel([FieldPanel('due_diligence_documents_label'), FieldPanel('due_diligence_documents_help_text')], 'Due Diligence Documents'), MultiFieldPanel([FieldPanel('account_holder_name_label'), FieldPanel('account_holder_name_help_text')], 'Account Holder Name'), MultiFieldPanel([FieldPanel('account_routing_number_label'), FieldPanel('account_routing_number_help_text')], 'Account Routing Number'), MultiFieldPanel([FieldPanel('account_number_label'), FieldPanel('account_number_help_text')], 'Account Number'), MultiFieldPanel([FieldPanel('account_currency_label'), FieldPanel('account_currency_help_text')], 'Account Currency'), MultiFieldPanel([FieldPanel('need_extra_info_label'), FieldPanel('need_extra_info_help_text')], 'Need Extra Info'), MultiFieldPanel([FieldPanel('branch_address_label'), FieldPanel('branch_address_help_text')], 'Account Branch Address'), MultiFieldPanel([FieldPanel('ib_account_routing_number_label'), FieldPanel('ib_account_routing_number_help_text')], 'Intermediary Account Routing Number'), MultiFieldPanel([FieldPanel('ib_account_number_label'), FieldPanel('ib_account_number_help_text')], 'Intermediary Account Number'), MultiFieldPanel([FieldPanel('ib_account_currency_label'), FieldPanel('ib_account_currency_help_text')], 'Intermediary Account Currency'), MultiFieldPanel([FieldPanel('ib_branch_address_label'), FieldPanel('ib_branch_address_help_text')], 'Intermediary Account Branch Address'), MultiFieldPanel([FieldPanel('nid_type_label'), FieldPanel('nid_type_help_text')], 'National Identity Document Type'), MultiFieldPanel([FieldPanel('nid_number_label'), FieldPanel('nid_number_help_text')], 'National Identity Document Number'), MultiFieldPanel([FieldPanel('other_info_label'), FieldPanel('other_info_help_text')], 'Other Information')]