Fixes for deliveries vs sale_channels

This commit is contained in:
Ludovic CANDELLIER
2021-11-23 23:37:47 +01:00
parent 323330b1a1
commit 5b84ff74e3
36 changed files with 279 additions and 94 deletions

40
config/laravel-erd.php Normal file
View File

@@ -0,0 +1,40 @@
<?php
return [
'url' => 'erd',
'middlewares' => [
//Example
//\App\Http\Middleware\NotFoundWhenProduction::class,
],
'models_path' => base_path('app/Models'),
'docs_path' => base_path('docs/erd/'),
"display" => [
"show_data_type" => false,
],
"from_text" => [
"BelongsTo" => "1..1\nBelongs To",
"BelongsToMany" => "1..*\nBelongs To Many",
"HasMany" => "1..*\nHas Many",
"HasOne" => "1..1\nHas One",
"ManyToMany" => "*..*\nMany To Many",
"ManyToOne" => "*..1\nMany To One",
"OneToMany" => "1..*\nOne To Many",
"OneToOne" => "1..1\nOne To One",
"MorphTo" => "1..1\n",
"MorphToMany" => "1..*\n",
],
"to_text" => [
"BelongsTo" => "",
"BelongsToMany" => "",
"HasMany" => "",
"HasOne" => "",
"ManyToMany" => "",
"ManyToOne" => "",
"OneToMany" => "",
"OneToOne" => "",
"MorphTo" => "",
"MorphToMany" => "",
],
];

View File

@@ -17,7 +17,8 @@ return [
// Tags Models
'models' => [
'tag' => \Rinvex\Tags\Models\Tag::class,
// 'tag' => \Rinvex\Tags\Models\Tag::class,
'tag' => \App\Models\Shop\Tag::class,
],
];