diff --git a/.env.example b/.env.example
index 9901b58f1475..4e5111f6f60d 100644
--- a/.env.example
+++ b/.env.example
@@ -39,6 +39,8 @@ MAIL_PORT=2525
MAIL_USERNAME=null
MAIL_PASSWORD=null
MAIL_ENCRYPTION=null
+MAIL_FROM_ADDRESS='user@example.com'
+MAIL_FROM_NAME='Self Hosted User'
POSTMARK_API_TOKEN=
@@ -46,4 +48,5 @@ GOOGLE_MAPS_API_KEY=
API_SECRET=superdoopersecrethere
ERROR_EMAIL=
-NINJA_ENVIRONMENT=selfhost
\ No newline at end of file
+NINJA_ENVIRONMENT=selfhost
+HASH_SALT=
\ No newline at end of file
diff --git a/app/Console/Commands/ImportMigrations.php b/app/Console/Commands/ImportMigrations.php
index be032ddeacb1..5683f594f963 100644
--- a/app/Console/Commands/ImportMigrations.php
+++ b/app/Console/Commands/ImportMigrations.php
@@ -9,7 +9,6 @@ use App\Models\Company;
use App\Models\CompanyToken;
use App\Models\User;
use App\Utils\Traits\MakesHash;
-use Faker\Factory;
use Illuminate\Console\Command;
class ImportMigrations extends Command
@@ -41,7 +40,8 @@ class ImportMigrations extends Command
*/
public function __construct()
{
- $this->faker = Factory::create();
+
+ $this->faker = \Faker\Factory::create();
parent::__construct();
}
diff --git a/app/Console/Kernel.php b/app/Console/Kernel.php
index 6ae0a06f069e..6a0213265250 100644
--- a/app/Console/Kernel.php
+++ b/app/Console/Kernel.php
@@ -38,7 +38,7 @@ class Kernel extends ConsoleKernel
// $schedule->command('inspire')
// ->hourly();
- $schedule->job(new RecurringInvoicesCron)->hourly();
+ //$schedule->job(new RecurringInvoicesCron)->hourly();
$schedule->job(new VersionCheck)->daily();
}
diff --git a/app/Designs/Bold.php b/app/Designs/Bold.php
index 1f83a690d851..00e692d75a4a 100644
--- a/app/Designs/Bold.php
+++ b/app/Designs/Bold.php
@@ -19,82 +19,73 @@ class Bold extends AbstractDesign
public function includes()
{
- return '
-
- $number
-
-
-
-
-
-
-
- ';
+ return '$number
+
+
+
+
+';
}
public function header() {
- return '
-
-
-
-
- $company_details
-
-
- $company_address
-
-
-
- ';
+ return '
+
+
+
+ $company_details
+
+
+ $company_address
+
+
+
';
}
public function body() {
- return '
-
-
-
$entity_label
$client_details
-
-
-
-
- $entity_labels
-
-
- $entity_details
-
-
-
+ return '
+
+
$entity_label
$client_details
+
+
+
+
+ $entity_labels
-
-
- $product_table_header
-
-
- $product_table_body
-
-
-
-
- $task_table_header
-
-
- $task_table_body
-
-
- ';
+
+ $entity_details
+
+
+
+
+
+
+ $product_table_header
+
+
+ $product_table_body
+
+
+
+
+ $task_table_header
+
+
+ $task_table_body
+
+
';
}
@@ -108,36 +99,34 @@ class Bold extends AbstractDesign
public function footer() {
- return '
-
-
- $entity.public_notes
-
-
-
- $subtotal_label $discount_label $total_tax_labels $line_tax_labels
-
-
- $subtotal $discount $total_tax_values $line_tax_values
-
-
-
+ return '
+
+ $entity.public_notes
+
+
+
+ $subtotal_label $discount_label $total_tax_labels $line_tax_labels
+
+
+ $subtotal $discount $total_tax_values $line_tax_values
+
+
+
-
-
-
$terms_label
- $terms
-
-
-
- $balance_due_label
-
-
- $balance_due
-
-
-
- ';
+
+
+
$terms_label
+ $terms
+
+
+
+ $balance_due_label
+
+
+ $balance_due
+
+
+
';
}
diff --git a/app/Designs/Business.php b/app/Designs/Business.php
index 841a63d9b5cb..30ea62366a01 100644
--- a/app/Designs/Business.php
+++ b/app/Designs/Business.php
@@ -20,98 +20,89 @@ class Business extends AbstractDesign
public function includes()
{
- return '
-
-
$number
-
-
-
-
+ return '
$number
+
+
+
+
-
-
-
- ';
+';
}
public function header()
{
- return '
-
-
-
- $company_logo
-
-
-
- $company_details
-
-
- $company_address
-
-
-
- ';
+ return '
+
+
+ $company_logo
+
+
+
+ $company_details
+
+
+ $company_address
+
+
+
';
}
public function body()
{
- return '
-
-
- $entity_label
-
-
-
-
-
-
- $product_table_header
-
-
- $product_table_body
-
-
-
-
- $task_table_header
-
-
- $task_table_body
-
-
- ';
+ return '
+
+ $entity_label
+
+
+
+
+
+
+ $product_table_header
+
+
+ $product_table_body
+
+
+
+
+ $task_table_header
+
+
+ $task_table_body
+
+
';
}
@@ -128,46 +119,44 @@ class Business extends AbstractDesign
public function footer()
{
- return '
-
-
-
-
-
- $discount_label
- $total_tax_labels
- $line_tax_labels
-
-
- $discount
- $total_tax_values
- $line_tax_values
-
-
-
-
-
-
-
-
$terms_label
-
$terms
-
-
-
-
- $balance_due_label
- $balance_due
-
-
-
-
-