from __future__ import unicode_literals

from frappe import _


def get_data():
	return {
		'fieldname': 'bank',
		'non_standard_fieldnames': {
			'Paymnet Order': 'company_bank'
		},
		'transactions': [
			{
				'label': _('Bank Deatils'),
				'items': ['Bank Account', 'Bank Guarantee']
			},
			{
				'items': ['Payment Order']
			}
		]
	}

from __future__ import unicode_literals

from frappe import _


def get_data():
	return {
		'fieldname': 'bank',
		'transactions': [
			{
				'label': _('Bank Deatils'),
				'items': ['Bank Account', 'Bank Guarantee']
			}
		]
	}

Remove payment order from bank dashboard
fix: Remove payment order from bank dashboard

  from __future__ import unicode_literals
  
  from frappe import _
  
  
  def get_data():
  	return {
  		'fieldname': 'bank',
- 		'non_standard_fieldnames': {
- 			'Paymnet Order': 'company_bank'
- 		},
  		'transactions': [
  			{
  				'label': _('Bank Deatils'),
  				'items': ['Bank Account', 'Bank Guarantee']
- 			},
- 			{
- 				'items': ['Payment Order']
  			}
  		]
  	}
  
Remove payment order from bank dashboard
## Code Before:
from __future__ import unicode_literals

from frappe import _


def get_data():
	return {
		'fieldname': 'bank',
		'non_standard_fieldnames': {
			'Paymnet Order': 'company_bank'
		},
		'transactions': [
			{
				'label': _('Bank Deatils'),
				'items': ['Bank Account', 'Bank Guarantee']
			},
			{
				'items': ['Payment Order']
			}
		]
	}

## Instruction:
Remove payment order from bank dashboard
## Code After:
from __future__ import unicode_literals

from frappe import _


def get_data():
	return {
		'fieldname': 'bank',
		'transactions': [
			{
				'label': _('Bank Deatils'),
				'items': ['Bank Account', 'Bank Guarantee']
			}
		]
	}
