Notes
Notes - notes.io |
getMandateListRqst: {
groupingCriteria: [
{ attributeName: 'BANK_REF', attributeValues: ['1', '2'] }
],
listSortCriteria: { attributeName: '', attributeOrder: '' },
noOfRecords: 20,
startIndex: 1
},
needListFilterColumns: false
};
export const updateCheckboxFilter = [
{
id: 'BANK_REF',
label: 'list.mandate.listHeaders.transaction.lblMandateRef',
type: 'search'
},
{
id: 'BANK_REF',
label: 'list.mandate.listHeaders.transaction.lblMandateRef',
type: 'daterange'
},
{
id: 'BANK_REF',
label: 'list.mandate.listHeaders.transaction.lblMandateRef',
type: 'checkbox',
selected: ['0', '1']
}
];
export const mockCheckboxFilterVariable = {
getMandateListRqst: {
groupingCriteria: [
{ attributeName: 'BANK_REF', attributeValues: ['0', '1'] }
],
listSortCriteria: { attributeName: '', attributeOrder: '' },
noOfRecords: 20,
startIndex: 1
},
needListFilterColumns: false
};
export const mockUpdatedFilter = [
{
id: 'BANK_REF',
label: 'list.mandate.listHeaders.transaction.lblMandateRef',
type: 'range',
valueMax: '2',
valueMin: '1'
}
];
export const removeSearchFilterVariable = {
getMandateListRqst: {
groupingCriteria: [],
listSortCriteria: { attributeName: '', attributeOrder: '' },
noOfRecords: 20,
startIndex: 1,
userRole: 'O'
},
needListFilterColumns: false
};
export const batchRefSelected = 'Batch00001';
export const routeAfterBatchRefSelected =
'collections/mandate/batch/batchdetails';
export const mockActions = {
EXPORT: {
label: 'EXPORT',
action: () => {}
},
PRINT: {
label: 'PRINT',
action: () => {}
},
DELETE: {
label: 'DELETE',
action: () => {}
},
EDIT: {
label: 'EDIT',
action: () => {}
},
SUBMIT: {
label: 'SUBMIT',
action: () => {}
},
VIEW: {
label: 'VIEW',
action: () => {}
}
};
export const selectedRowsWithoutCommonActions = [
{ id: 'batch0001', actions: ['DELETE'] },
{ id: 'batch0002', actions: ['SUBMIT'] }
];
export const defaultActions = ['export', 'print'];
export const selectedRowsWithCommonActions = [
{ id: 'batch0001', actions: ['DELETE', 'VIEW'] },
{ id: 'batch0002', actions: ['SUBMIT', 'DELETE'] }
];
export const selectedRowsWithEDITVIEWCommonActions = [
{ id: 'batch0001', actions: ['EDIT', 'VIEW'] },
{ id: 'batch0002', actions: ['VIEW', 'EDIT'] }
];
export const commonActions = ['export', 'print', 'DELETE'];
export const multipleSelectedRows = [
{
id: 'MANDATE001'
},
{
id: 'MANDATE002'
}
];
export const singleSelectedRow = [
{
id: 'MANDATE001'
}
];
export const clientQuery = {
printExportRequest: {
selectedIds: ['MANDATE001', 'MANDATE002'],
userRole: 'O'
}
};
export const storeFake = (state) => ({
default: () => {},
subscribe: () => {},
dispatch: () => {},
getState: () => ({ ...state })
});
export const store = storeFake({
default: {
allowedJourney: {
allowedJourneys: {}
}
}
});
export const mockCols = [
{
type: 'custom',
sortable: false,
highlight: true,
clickable: true,
id: 'mandateRef',
label: 'list.listHeaders.mandate.mandateRef',
sortKey: 'DDA_REF'
},
{
type: 'custom',
sortable: false,
id: 'creditAccNum',
label: 'list.listHeaders.mandate.creditAccNum',
sortKey: 'CREDIT_ACCOUNT_NUMBER'
},
{
id: 'payerName',
isSortable: false,
label: 'list.listHeaders.mandate.lblPayer',
sortKey: 'payer'
},
{
id: 'mandateType',
type: 'custom',
sortable: true,
label: 'list.listTransactions.mandate.mandateType',
sortKey: 'MANDATE_TYPE'
},
{
id: 'date',
type: 'custom',
sortable: true,
label: 'list.listHeaders.mandate.lblEndDate',
sortKey: 'END_DATE'
},
{
id: 'mandateAmount',
type: 'custom',
sortable: false,
label: 'list.listHeaders.mandate.lblMandateAmount',
sortKey: 'MANDATE_AMOUNT'
},
{
id: 'mandateStatus',
type: 'custom',
sortable: true,
label: 'list.listHeaders.mandate.lblMandateStatus',
sortKey: 'STATUS'
},
{
id: 'amount',
type: 'custom',
sortable: true,
label: 'list.listTransactions.mandate.amount',
sortKey: 'AMOUNT'
},
{
id: 'batchRefNo',
type: 'custom',
sortable: true,
label: 'list.listTransactions.mandate.lblBatchRef',
sortKey: 'BATCH_REFERENCE'
}
];
export const mockFilter = [
{
id: 'BANK_REF',
label: 'list.mandate.listHeaders.transaction.lblMandateRef',
type: 'search'
},
{
id: 'MANDATE_AMOUNT',
label: 'list.mandate.listHeaders.transaction.lblEndDate',
type: 'range'
},
{
id: 'START_DATE',
label: 'list.mandate.listHeaders.transaction.lblEndDate',
type: 'daterange'
},
{
id: 'Status',
items: [
{ id: 'BATCH REPAIRED', label: 'BATCH REPAIRED' },
{ id: 'COMPLETED', label: 'Completed' }
],
label: 'list.mandate.listHeaders.transaction.lblStatus',
type: 'checkbox'
}
];
export const mockRows = [
{
actions: undefined,
data: {
batchRefNo: 'BATCH0861',
date: '<I18n ns="collections/collections" />',
mandateAmount: '<I18n ns="collections/collections" />',
mandateRef: 'MANDATE0861',
mandateStatus: 'Draft',
mandateType: 'Variable',
payerName: '<I18n ns="collections/collections" />'
},
expandable: true,
id: 'MANDATE0861'
},
{
actions: undefined,
data: {
batchRefNo: 'OIUATIN001A00265',
date: '<I18n ns="collections/collections" />',
mandateAmount: '<I18n ns="collections/collections" />',
mandateRef: 'MANDATE002',
mandateStatus: 'Draft',
mandateType: 'Fixed',
payerName: '<I18n ns="collections/collections" />'
},
expandable: true,
id: 'MANDATE002'
}
];
export const mockCheckboxActions = ['export', 'print'];
export const mockPrintExportVariables = {
printExportRequest: {
selectedIds: ['MANDATE001', 'MANDATE002'],
userRole: 'O'
}
};
export const colToSortVariable = {
getMandateListRqst: {
groupingCriteria: [],
listSortCriteria: { attributeName: 'END_DATE', attributeOrder: 'ASC' },
noOfRecords: 20,
startIndex: 1
},
needListFilterColumns: false
};
export const printExportSelectedRows = [
{ id: 'ManP0001' },
{ id: 'PIUATSGEE2A09434' }
];
export const printExportVariable = {
printExportRequest: {
selectedIds: ['ManP0001', 'PIUATSGEE2A09434'],
userRole: 'O'
}
};
|
Notes.io is a web-based application for taking notes. You can take your notes and share with others people. If you like taking long notes, notes.io is designed for you. To date, over 8,000,000,000 notes created and continuing...
With notes.io;
- * You can take a note from anywhere and any device with internet connection.
- * You can share the notes in social platforms (YouTube, Facebook, Twitter, instagram etc.).
- * You can quickly share your contents without website, blog and e-mail.
- * You don't need to create any Account to share a note. As you wish you can use quick, easy and best shortened notes with sms, websites, e-mail, or messaging services (WhatsApp, iMessage, Telegram, Signal).
- * Notes.io has fabulous infrastructure design for a short link and allows you to share the note as an easy and understandable link.
Fast: Notes.io is built for speed and performance. You can take a notes quickly and browse your archive.
Easy: Notes.io doesn’t require installation. Just write and share note!
Short: Notes.io’s url just 8 character. You’ll get shorten link of your note when you want to share. (Ex: notes.io/q )
Free: Notes.io works for 12 years and has been free since the day it was started.
You immediately create your first note and start sharing with the ones you wish. If you want to contact us, you can use the following communication channels;
Email: [email protected]
Twitter: http://twitter.com/notesio
Instagram: http://instagram.com/notes.io
Facebook: http://facebook.com/notesio
Regards;
Notes.io Team