Ejemplo n.º 1
0
 /**
  * @param XMLWriter $xmlWriter
  * @param Invoice   $invoice
  */
 protected function addSubTotal(XMLWriter $xmlWriter, Invoice $invoice)
 {
     $xmlWriter->writeElement('sub-total', $this->currencyFormatter->formatCurrency($invoice->getItemAmount(), $invoice->getCurrencyCode()));
 }