mirror of
https://github.com/frappe/books.git
synced 2024-11-14 17:34:04 +00:00
feat: Applied Coupon Codes
This commit is contained in:
parent
a6f6269ee7
commit
64a1551abb
@ -0,0 +1,8 @@
|
|||||||
|
import { ValidationMap } from 'fyo/model/types';
|
||||||
|
import { InvoiceItem } from '../InvoiceItem/InvoiceItem';
|
||||||
|
|
||||||
|
export class AppliedCouponCodes extends InvoiceItem {
|
||||||
|
coupons?: string;
|
||||||
|
|
||||||
|
validations: ValidationMap = {};
|
||||||
|
}
|
@ -13,6 +13,7 @@ import { LoyaltyProgram } from './baseModels/LoyaltyProgram/LoyaltyProgram';
|
|||||||
import { LoyaltyPointEntry } from './baseModels/LoyaltyPointEntry/LoyaltyPointEntry';
|
import { LoyaltyPointEntry } from './baseModels/LoyaltyPointEntry/LoyaltyPointEntry';
|
||||||
import { CollectionRulesItems } from './baseModels/CollectionRulesItems/CollectionRulesItems';
|
import { CollectionRulesItems } from './baseModels/CollectionRulesItems/CollectionRulesItems';
|
||||||
import { Lead } from './baseModels/Lead/Lead';
|
import { Lead } from './baseModels/Lead/Lead';
|
||||||
|
import { AppliedCouponCodes } from './baseModels/AppliedCouponCodes/AppliedCouponCodes';
|
||||||
import { CouponCode } from './baseModels/CouponCode/CouponCode';
|
import { CouponCode } from './baseModels/CouponCode/CouponCode';
|
||||||
import { Payment } from './baseModels/Payment/Payment';
|
import { Payment } from './baseModels/Payment/Payment';
|
||||||
import { PaymentFor } from './baseModels/PaymentFor/PaymentFor';
|
import { PaymentFor } from './baseModels/PaymentFor/PaymentFor';
|
||||||
@ -77,6 +78,7 @@ export const models = {
|
|||||||
PurchaseInvoiceItem,
|
PurchaseInvoiceItem,
|
||||||
SalesInvoice,
|
SalesInvoice,
|
||||||
SalesInvoiceItem,
|
SalesInvoiceItem,
|
||||||
|
AppliedCouponCodes,
|
||||||
SalesQuote,
|
SalesQuote,
|
||||||
SalesQuoteItem,
|
SalesQuoteItem,
|
||||||
SerialNumber,
|
SerialNumber,
|
||||||
|
@ -23,6 +23,8 @@ export enum ModelNameEnum {
|
|||||||
LoyaltyPointEntry = 'LoyaltyPointEntry',
|
LoyaltyPointEntry = 'LoyaltyPointEntry',
|
||||||
CollectionRulesItems = 'CollectionRulesItems',
|
CollectionRulesItems = 'CollectionRulesItems',
|
||||||
CouponCode = 'CouponCode',
|
CouponCode = 'CouponCode',
|
||||||
|
|
||||||
|
AppliedCouponCodes = 'AppliedCouponCodes',
|
||||||
Payment = 'Payment',
|
Payment = 'Payment',
|
||||||
PaymentFor = 'PaymentFor',
|
PaymentFor = 'PaymentFor',
|
||||||
PriceList = 'PriceList',
|
PriceList = 'PriceList',
|
||||||
|
Loading…
Reference in New Issue
Block a user