Details

    • Type: Sub-task
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.6.0-b1
    • Component/s: None
    • Labels:
      None

      Description

      The ImportManager migrators call Invoices::getTotal and Invoices::getSubtotal, however, as of CORE-2529, those methods are deprecated. We should update all calls to those methods to use an alternative:

      $presenter = $this->Invoices->getPresenter($invoice_id);
      $totals = $presenter->totals();
      $totals->subtotal;
      $totals->total;
      

        Issue Links

          Activity

            People

            • Assignee:
              tyson Tyson Phillips (Inactive)
              Reporter:
              tyson Tyson Phillips (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Fix Release Date:
                28/May/19

                Agile