Allow document names to be modified

This commit is contained in:
David Bomba 2023-05-08 22:55:37 +10:00
parent 9fd016e6e1
commit 4a75fc3725
3 changed files with 3 additions and 5 deletions

View File

@ -95,11 +95,12 @@ class Document extends BaseModel
const DOCUMENT_PREVIEW_SIZE = 300; // pixels const DOCUMENT_PREVIEW_SIZE = 300; // pixels
/** /**
* @var array * @var array<string>
*/ */
protected $fillable = [ protected $fillable = [
'is_default', 'is_default',
'is_public', 'is_public',
'name',
]; ];
/** /**

View File

@ -12,9 +12,6 @@
namespace App\Services\Tax; namespace App\Services\Tax;
use App\Models\Client; use App\Models\Client;
use App\Models\Company;
use App\Services\Tax\Providers\ZipTax;
class TaxService class TaxService
{ {

View File

@ -28,7 +28,7 @@
margin-left: $global_margin; margin-left: $global_margin;
margin-right: $global_margin; margin-right: $global_margin;
margin-top: 5; margin-top: 5;
margin-bottom: 0; margin-bottom: 5;
size: $page_size $page_layout; size: $page_size $page_layout;
} }