From 698c1d088d8842f56c63be75e41e3e850a77a35e Mon Sep 17 00:00:00 2001 From: Hillel Coren Date: Sun, 14 Aug 2016 12:31:11 +0300 Subject: [PATCH] Fixes for the bot --- app/Libraries/Skype/InvoiceCard.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Libraries/Skype/InvoiceCard.php b/app/Libraries/Skype/InvoiceCard.php index 2a6d11df1cbe..f7a1d6097781 100644 --- a/app/Libraries/Skype/InvoiceCard.php +++ b/app/Libraries/Skype/InvoiceCard.php @@ -41,7 +41,7 @@ class InvoiceCard $this->setTotal($invoice->present()->requestedAmount); 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')); } else { $this->addButton(SKYPE_BUTTON_IM_BACK, trans('texts.list_products'), trans('texts.list_products'));