Ticket 1192 OK
|
|
@ -18,7 +18,6 @@ class CreatePoultryPackshotsTable extends Migration
|
|||
$table->string('item_code', 14)->comment("Item Code = tracea_poultries.item_code");
|
||||
$table->string('ean', 13)->comment("Ean 13");
|
||||
$table->string('packshot_name')->comment("Packshot picture name");
|
||||
$table->timestamps();
|
||||
});
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -13,5 +13,6 @@ class DatabaseSeeder extends Seeder
|
|||
*/
|
||||
public function run()
|
||||
{
|
||||
$this->call(PoultryPackshotsTableSeeder::class);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
2516
database/seeders/PoultryPackshotsTableSeeder.php
Normal file
BIN
resources/assets/images/poire_loue.png
Normal file
|
After Width: | Height: | Size: 95 KiB |
|
Before Width: | Height: | Size: 12 MiB After Width: | Height: | Size: 7.6 MiB |
|
After Width: | Height: | Size: 1.6 MiB |
|
After Width: | Height: | Size: 1.5 MiB |
|
After Width: | Height: | Size: 3.9 MiB |
|
After Width: | Height: | Size: 3.4 MiB |
|
After Width: | Height: | Size: 3.9 MiB |
|
Before Width: | Height: | Size: 12 MiB After Width: | Height: | Size: 3.9 MiB |
|
Before Width: | Height: | Size: 9.6 MiB After Width: | Height: | Size: 3.8 MiB |
|
|
@ -20,7 +20,7 @@
|
|||
@if(!is_null($packshot))
|
||||
<img src="{{ asset('assets/images/poultry_packshots/' . $packshot->packshot_name) }}" alt="{{ __('Poulet emballé et labelisé') }}" class="img-fluid">
|
||||
@else
|
||||
<img src="{{ asset('assets/images/tracea/poultry/poulet.png') }}" alt="{{ __('Poulet emballé et labelisé') }}" class="img-fluid">
|
||||
<img src="{{ asset('assets/images/poire_loue.png') }}" alt="{{ __('Poulet emballé et labelisé') }}" class="img-fluid">
|
||||
@endif
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
|||