public function mailInvoice(AnCommandContext $context)
    {
        if ($this->getItem()) {

            $mails[] = array(
                'to' => $this->getItem()->person->email,
                'subject' => AnTranslator::_('COM-SUBSCRIPTIONS-CONFIRMATION-MESSAGE-SUBJECT'),
                'template' => 'invoice',
            );

            $this->mail($mails);
        }
    }