mirror of
https://github.com/frappe/books.git
synced 2026-08-28 10:04:58 -05:00
24 lines
613 B
TypeScript
24 lines
613 B
TypeScript
import { Attachment } from 'fyo/core/types';
|
|
import { Doc } from 'fyo/model/doc';
|
|
import { HiddenMap } from 'fyo/model/types';
|
|
|
|
export class PrintSettings extends Doc {
|
|
logo?: Attachment;
|
|
email?: string;
|
|
phone?: string;
|
|
address?: string;
|
|
companyName?: string;
|
|
color?: string;
|
|
font?: string;
|
|
displayLogo?: boolean;
|
|
displayTime?: boolean;
|
|
displayDescription?: boolean;
|
|
displaytermsandconditions?: boolean;
|
|
termsAndConditions?: string;
|
|
posPrintWidth?: number;
|
|
amountInWords?: boolean;
|
|
override hidden: HiddenMap = {
|
|
termsAndConditions: () => !this.displaytermsandconditions,
|
|
};
|
|
}
|