src/Shop/InvoiceManager.php
public function send1(Source $invoiceSource, $forceSend)
    {
        $this->getTranslator()->add(new ResultTranslations());
        $result = $this->getInvoiceResult('InvoiceManager::send1()');
        $result = $this->createAndSend($invoiceSource, $result, $forceSend);
        $success = !$result->hasError();
        $this->getLog()->notice($this->getSendResultLogText($invoiceSource, $result));
        return $success;
    }
public function send1(Source $invoiceSource, $forceSend)
    {
        $this->getTranslator()->add(new ResultTranslations());
        $result = $this->getInvoiceResult('InvoiceManager::send1()');
        $result = $this->createAndSend($invoiceSource, $result, $forceSend);
        $success = !$result->hasError();
        $this->getLog()->notice($this->getSendResultLogText($invoiceSource, $result));
        return $success;
    }
public function send1 ( Source $ invoiceSource , $ forceSend ) { $ this -> getTranslator ( ) -> add ( new ResultTranslations ( ) ) ; $ result = $ this -> getInvoiceResult ( 'InvoiceManager::send1()' ) ; $ result = $ this -> createAndSend ( $ invoiceSource , $ result , $ forceSend ) ; $ success = ! $ result -> hasError ( ) ; $ this -> getLog ( ) -> notice ( $ this -> getSendResultLogText ( $ invoiceSource , $ result ) ) ; return $ success ; }
Sends 1 invoice to Acumulus.

@param \Siel\Acumulus\Invoice\Source $invoiceSource
The invoice source to send the invoice for.
@param bool $forceSend
If true, force sending the invoices even if an invoice has already been
sent for a given invoice source.

@return bool
Success.
Sends 1 invoice to Acumulus .