Add exchange rate to factory
This commit is contained in:
parent
4ef33a4c80
commit
add1827759
2 changed files with 1 additions and 3 deletions
|
|
@ -49,6 +49,7 @@ class InvoiceFactory
|
|||
$invoice->user_id = $user_id;
|
||||
$invoice->company_id = $company_id;
|
||||
$invoice->recurring_id = null;
|
||||
$invoice->exchange_rate = 1;
|
||||
|
||||
return $invoice;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -269,10 +269,7 @@ class SelfUpdateController extends BaseController
|
|||
if(strpos($file->getPathname(), '.git') !== false)
|
||||
continue;
|
||||
|
||||
//nlog($file->getPathname());
|
||||
|
||||
if ($file->isFile() && ! $file->isWritable()) {
|
||||
// throw new FilePermissionsFailure($file);
|
||||
nlog("Cannot update system because {$file->getFileName()} is not writable");
|
||||
throw new FilePermissionsFailure("Cannot update system because {$file->getFileName()} is not writable");
|
||||
return false;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue