mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-06-23 20:00:33 -04:00
Fixes for the bot
This commit is contained in:
parent
bfae5018e0
commit
698c1d088d
@ -41,7 +41,7 @@ class InvoiceCard
|
|||||||
$this->setTotal($invoice->present()->requestedAmount);
|
$this->setTotal($invoice->present()->requestedAmount);
|
||||||
|
|
||||||
if (floatval($invoice->amount)) {
|
if (floatval($invoice->amount)) {
|
||||||
$this->addButton(SKYPE_BUTTON_OPEN_URL, trans('texts.download_pdf'), $invoice->getInvitationLink('view', true));
|
$this->addButton(SKYPE_BUTTON_OPEN_URL, trans('texts.download_pdf'), $invoice->getInvitationLink('download', true));
|
||||||
$this->addButton(SKYPE_BUTTON_IM_BACK, trans('texts.email_invoice'), trans('texts.email_invoice'));
|
$this->addButton(SKYPE_BUTTON_IM_BACK, trans('texts.email_invoice'), trans('texts.email_invoice'));
|
||||||
} else {
|
} else {
|
||||||
$this->addButton(SKYPE_BUTTON_IM_BACK, trans('texts.list_products'), trans('texts.list_products'));
|
$this->addButton(SKYPE_BUTTON_IM_BACK, trans('texts.list_products'), trans('texts.list_products'));
|
||||||
|
Loading…
x
Reference in New Issue
Block a user