Merge branch 'master' of https://github.com/hillelcoren/invoice-ninja
This commit is contained in:
commit
5a28ff2612
2 changed files with 6 additions and 2 deletions
3
.gitignore
vendored
3
.gitignore
vendored
|
|
@ -25,3 +25,6 @@ public/error_log
|
|||
/ninja.sublime-project
|
||||
/ninja.sublime-workspace
|
||||
auth.json
|
||||
|
||||
.phpstorm.meta.php
|
||||
_ide_helper.php
|
||||
|
|
@ -448,8 +448,9 @@ class InvoiceController extends BaseController
|
|||
$url = URL::to('clients/'.$client->public_id);
|
||||
Utils::trackViewed($client->getDisplayName(), ENTITY_CLIENT, $url);
|
||||
}
|
||||
|
||||
if (!empty(Input::get('pdfupload')) && strpos(Input::get('pdfupload'), 'data:application/pdf;base64,') === 0) {
|
||||
|
||||
$pdfUpload = Input::get('pdfupload');
|
||||
if (!empty($pdfUpload) && strpos($pdfUpload, 'data:application/pdf;base64,') === 0) {
|
||||
$this->storePDF(Input::get('pdfupload'), $invoice->id);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue