Ticket 1192 OK

This commit is contained in:
Vincent BRIDIER 2022-12-05 18:17:50 +01:00
parent 6616aeb0c1
commit f8a6bf967b
No known key found for this signature in database
GPG key ID: 8571BFA20420D512
13 changed files with 2518 additions and 2 deletions

View file

@ -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();
});
}

View file

@ -13,5 +13,6 @@ class DatabaseSeeder extends Seeder
*/
public function run()
{
$this->call(PoultryPackshotsTableSeeder::class);
}
}

File diff suppressed because it is too large Load diff

Binary file not shown.

After

Width:  |  Height:  |  Size: 95 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 12 MiB

After

Width:  |  Height:  |  Size: 7.6 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.9 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.4 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.9 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 12 MiB

After

Width:  |  Height:  |  Size: 3.9 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 9.6 MiB

After

Width:  |  Height:  |  Size: 3.8 MiB

View file

@ -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>