purchaseInvoices top-level property

List<FinDoc> purchaseInvoices
getter/setter pair

Implementation

List<FinDoc> purchaseInvoices = [
  FinDoc(
      sales: false,
      docType: FinDocType.invoice,
      description: 'Invoice 1',
      otherCompany: supplierCompanies[0],
      grandTotal: Decimal.parse('144.2'),
      items: [
        FinDocItem(
            description: products[0].productName,
            quantity: Decimal.parse('20'),
            price: Decimal.parse('7.21'))
      ]),
  FinDoc(
      sales: false,
      docType: FinDocType.invoice,
      description: 'Invoice 2',
      otherCompany: supplierCompanies[1],
      grandTotal: Decimal.parse('688.4'),
      items: [
        FinDocItem(
            description: products[1].productName,
            quantity: Decimal.parse('40'),
            price: Decimal.parse('17.21')),
      ]),
  FinDoc(
      sales: false,
      docType: FinDocType.invoice,
      description: 'Invoice 3',
      otherCompany: supplierCompanies[1],
      grandTotal: Decimal.parse('448.4'),
      items: [
        FinDocItem(
            description: products[1].productName,
            quantity: Decimal.parse('40'),
            price: Decimal.parse('11.21')),
      ]),
  FinDoc(
      sales: false,
      docType: FinDocType.invoice,
      description: 'Invoice 4',
      otherCompany: supplierCompanies[1],
      grandTotal: Decimal.parse('112.10'),
      items: [
        FinDocItem(
            description: products[0].productName,
            quantity: Decimal.parse('10'),
            price: Decimal.parse('11.21'))
      ]),
  FinDoc(
      sales: false,
      docType: FinDocType.invoice,
      description: 'Invoice 5',
      otherCompany: supplierCompanies[0],
      grandTotal: Decimal.parse('1660.5'),
      items: [
        FinDocItem(
            description: products[1].productName,
            quantity: Decimal.parse('50'),
            price: Decimal.parse('33.21')),
      ]),
  FinDoc(
      sales: false,
      docType: FinDocType.invoice,
      description: 'Invoice 6',
      otherCompany: supplierCompanies[1],
      grandTotal: Decimal.parse('1660.55'),
      items: [
        FinDocItem(
            description: products[1].productName,
            quantity: Decimal.parse('50'),
            price: Decimal.parse('33.22')),
      ]),
];