<commit_before>from __future__ import unicode_literals

from frappe import _


def get_data():
	return {
		'heatmap': True,
		'heatmap_message': _('This is based on transactions against this Supplier. See timeline below for details'),
		'fieldname': 'supplier',
		'non_standard_fieldnames': {
			'Payment Entry': 'party_name'
		},
		'transactions': [
			{
				'label': _('Procurement'),
				'items': ['Request for Quotation', 'Supplier Quotation']
			},
			{
				'label': _('Orders'),
				'items': ['Purchase Order', 'Purchase Receipt', 'Purchase Invoice']
			},
			{
				'label': _('Payments'),
				'items': ['Payment Entry']
			},
			{
				'label': _('Pricing'),
				'items': ['Pricing Rule']
			}
		]
	}
<commit_msg>fix: Add linked bank accounts to supplier dashboard<commit_after>from __future__ import unicode_literals

from frappe import _


def get_data():
	return {
		'heatmap': True,
		'heatmap_message': _('This is based on transactions against this Supplier. See timeline below for details'),
		'fieldname': 'supplier',
		'non_standard_fieldnames': {
			'Payment Entry': 'party_name',
			'Bank Account': 'party'
		},
		'transactions': [
			{
				'label': _('Procurement'),
				'items': ['Request for Quotation', 'Supplier Quotation']
			},
			{
				'label': _('Orders'),
				'items': ['Purchase Order', 'Purchase Receipt', 'Purchase Invoice']
			},
			{
				'label': _('Payments'),
				'items': ['Payment Entry']
			},
			{
				'label': _('Bank'),
				'items': ['Bank Account']
			},
			{
				'label': _('Pricing'),
				'items': ['Pricing Rule']
			}
		]
	}
{'fraction_non_alphanumeric': 0.17283163265306123, 'fraction_numerical': 0.0, 'mean_word_length': 3.587719298245614, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '672229', 'n_tokens_mistral': 654, 'n_tokens_neox': 530, 'n_words': 135}