salesPayments top-level property
List<FinDoc>
salesPayments
getter/setter pair
Implementation
List<FinDoc> salesPayments = [
FinDoc(
sales: true,
docType: FinDocType.payment,
otherCompany: customerCompanies[0],
paymentInstrument: PaymentInstrument.cash,
grandTotal: Decimal.parse("33.22"),
items: [FinDocItem(paymentType: PaymentType(accountCode: '12600'))],
),
FinDoc(
sales: true,
docType: FinDocType.payment,
otherCompany: customerCompanies[1],
paymentInstrument: PaymentInstrument.creditcard,
grandTotal: Decimal.parse("44.11"),
items: [FinDocItem(paymentType: PaymentType(accountCode: '12100'))],
),
FinDoc(
sales: true,
docType: FinDocType.payment,
otherCompany: customerCompanies[2],
paymentInstrument: PaymentInstrument.check,
grandTotal: Decimal.parse("55.11"),
items: [FinDocItem(paymentType: PaymentType(accountCode: '12100'))],
),
FinDoc(
sales: true,
docType: FinDocType.payment,
otherCompany: customerCompanies[3],
paymentInstrument: PaymentInstrument.bank,
grandTotal: Decimal.parse("66.11"),
items: [FinDocItem(paymentType: PaymentType(accountCode: '12600'))],
),
];