coding style

This commit is contained in:
ludo
2024-02-22 19:35:51 +01:00
parent 7a33245c1e
commit 00fc978217
33 changed files with 54 additions and 93 deletions

View File

@@ -15,14 +15,14 @@ return [
],
'serial_number' => [
'series' => 'AA',
'series' => 'AA',
'sequence' => 1,
/*
* Sequence will be padded accordingly, for ex. 00001
*/
'sequence_padding' => 5,
'delimiter' => '.',
'delimiter' => '.',
/*
* Supported tags {SERIES}, {DELIMITER}, {SEQUENCE}
@@ -41,7 +41,7 @@ return [
* Example: Amount in words: Eight hundred fifty thousand sixty-eight EUR and fifteen ct.
*/
'fraction' => 'ct.',
'symbol' => '€',
'symbol' => '€',
/*
* Example: 19.00
@@ -68,7 +68,7 @@ return [
'paper' => [
// A4 = 210 mm x 297 mm = 595 pt x 842 pt
'size' => 'a4',
'size' => 'a4',
'orientation' => 'portrait',
],
@@ -87,11 +87,11 @@ return [
* Default attributes for Seller::class
*/
'attributes' => [
'name' => 'Jardin\'Envie',
'address' => '89982 Pfeffer Falls Damianstad, CO 66972-8160',
'code' => '41-1985581',
'vat' => '123456789',
'phone' => '760-355-3930',
'name' => 'Jardin\'Envie',
'address' => '89982 Pfeffer Falls Damianstad, CO 66972-8160',
'code' => '41-1985581',
'vat' => '123456789',
'phone' => '760-355-3930',
'custom_fields' => [
/*
* Custom attributes for Seller::class
@@ -108,6 +108,7 @@ return [
'enable_php' => true,
/**
* Do not write log.html or make it optional
*
* @see https://github.com/dompdf/dompdf/issues/2810
*/
'logOutputFile' => '/dev/null',

View File

@@ -136,7 +136,7 @@ return [
'key' => env('MEILISEARCH_KEY', null),
'index-settings' => [
Article::class => [
'filterableAttributes'=> ['article_nature_id'],
'filterableAttributes' => ['article_nature_id'],
'sortableAttributes' => ['name', 'created_at'],
],
],

View File

@@ -17,7 +17,6 @@ return [
*
* Defaults to null, which uses the toString() method on your model.
*/
'source' => null,
/**
@@ -25,7 +24,6 @@ return [
* no length restrictions are enforced. Set it to a positive integer if you
* want to make sure your slugs aren't too long.
*/
'maxLength' => null,
/**
@@ -40,7 +38,6 @@ return [
*
* "my source string" -> "my-source-st"
*/
'maxLengthKeepWords' => true,
/**
@@ -58,13 +55,11 @@ return [
*
* 'method' => array('Str','slug'),
*/
'method' => null,
/**
* Separator to use when generating slugs. Defaults to a hyphen.
*/
'separator' => '-',
/**
@@ -76,7 +71,6 @@ return [
* my-slug-1
* my-slug-2
*/
'unique' => true,
/**
@@ -87,7 +81,6 @@ return [
* "similar" slugs. The closure should return the new unique
* suffix to append to the slug.
*/
'uniqueSuffix' => null,
/**
@@ -107,7 +100,6 @@ return [
* If set to "false", then a new slug could duplicate one that exists on a trashed model.
* If set to "true", then uniqueness is enforced across trashed and existing models.
*/
'includeTrashed' => false,
/**
@@ -133,7 +125,6 @@ return [
*
* and continue from there.
*/
'reserved' => null,
/**
@@ -146,7 +137,6 @@ return [
* is probably not a good idea from an SEO point of view.
* Only set this to true if you understand the possible consequences.
*/
'onUpdate' => false,
/**