2
0
mirror of https://github.com/frappe/books.git synced 2024-11-15 01:44:04 +00:00
books/models/baseModels/LoyaltyPointEntry/LoyaltyPointEntry.ts

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

22 lines
461 B
TypeScript
Raw Normal View History

2024-08-22 09:32:29 +00:00
import { Doc } from 'fyo/model/doc';
import { ListViewSettings } from 'fyo/model/types';
export class LoyaltyPointEntry extends Doc {
loyaltyProgram?: string;
customer?: string;
invoice?: string;
purchaseAmount?: number;
expiryDate?: Date;
static override getListViewSettings(): ListViewSettings {
return {
columns: [
'loyaltyProgram',
'customer',
'purchaseAmount',
'loyaltyPoints',
],
};
}
}