mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-05-31 23:44:35 -04:00
Minor fixes for import
This commit is contained in:
parent
0a2a4e91e2
commit
6d54db8507
@ -275,7 +275,12 @@ class Import implements ShouldQueue
|
|||||||
|
|
||||||
info('Completed🚀🚀🚀🚀🚀 at '.now());
|
info('Completed🚀🚀🚀🚀🚀 at '.now());
|
||||||
|
|
||||||
unlink($this->file_path);
|
try{
|
||||||
|
unlink($this->file_path);
|
||||||
|
}
|
||||||
|
catch(\Exception $e){
|
||||||
|
nlog("problem unsetting file");
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
private function fixData()
|
private function fixData()
|
||||||
|
@ -84,9 +84,6 @@ class TemplateEngine
|
|||||||
|
|
||||||
public function build()
|
public function build()
|
||||||
{
|
{
|
||||||
|
|
||||||
if ($this->template == 'email_template_null')
|
|
||||||
$this->template = 'email_template_purchase_order';
|
|
||||||
|
|
||||||
return $this->setEntity()
|
return $this->setEntity()
|
||||||
->setSettingsObject()
|
->setSettingsObject()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user