Skip to content

Commit

Permalink
Fix incorrect invoice creation message (#1109)
Browse files Browse the repository at this point in the history
Creation message now includes the views disk in its path.
  • Loading branch information
ashermiddleton committed Dec 17, 2022
1 parent 57bdbd2 commit 393fe20
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/Console/Commands/CreateTemplateCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ public function handle()
copy(public_path("/build/img/PDF/{$type}1.png"), public_path("/build/img/PDF/{$templateName}.png"));
copy(resource_path("/static/img/PDF/{$type}1.png"), resource_path("/static/img/PDF/{$templateName}.png"));

$path = resource_path("app/pdf/{$type}/{$templateName}.blade.php");
$path = resource_path("views/app/pdf/{$type}/{$templateName}.blade.php");
$type = ucfirst($type);
$this->info("{$type} Template created successfully at ".$path);

Expand Down

0 comments on commit 393fe20

Please sign in to comment.