blob: 859fa3c73b18371b361b6526f8ffa5c79bda713c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
|
@foreach( $data as $offer)
<div class="card">
<div class="row ">
<div class="col-md-4">
<div class="card-header-dp-none">
<p><strong>
<span style="visibility: hidden;">
{{ ucwords($offer->spirit_type) }} <span class="float-right">{{ $offer->shop }}</span>
</span>
</strong></p>
</div>
<div class="card-img-overlay card-img-overlay-badge" >
<p class="card-text float-right rounded off-badge" >{{ $offer->procent}} %</p>
</div>
<img src="{{ TF::Camo($offer->image_url) }}" class="card-img img-fluid mx-auto d-block" loading="lazy">
</div>
<div class="col-md-8 px-10">
<div class="card-header">
<p><strong>
<span class="float-left">
<small> </small><br>
<a style="color: inherit;" href="{{ route('angebote_search', ['type' => ucwords($offer->spirit_type)]) }}" title="Alle {{ ucwords($offer->spirit_type) }} anzeigen" rel="nofollow">{{ ucwords($offer->spirit_type) }}</a>
</span>
<span class="float-right">
<small>Verkauft von</small><br>
<a style="color: inherit;" href="{{ route('angebote_search', ['shop' => ucwords($offer->shop)]) }}" title="Alle Angebote vom Händler {{ ucwords($offer->shop) }} anzeigen" rel="nofollow">{{ ucwords($offer->shop ) }}</a>
</span>
<div style="clear: both"></div>
</strong></p>
</div>
<div class="card-block card-body px-3">
<h3 class="card-title">{{ $offer->name }}</h3>
<div class="row">
<span class="card-text col-md-6">
<p>
<strong class="new-price">Neuer Preis: {{ TF::fF($offer->discounted_price) }} €</strong>
@if ( 1 <= $offer->volume || 0.7 > $offer->volume )
({{ TF::fF($offer->volume )}} Liter)
@endif
<br>
statt <strong><del>{{ TF::fF($offer->original_price) }} €</del></strong>
<br>
{{ TF::fF($offer->base_price ) }} € / Liter
</p>
</span>
<p class="card-text col-md-6">
Alkohol: {{ TF::fF($offer->abv) }} %
<br>
Volumen: {{ TF::fF($offer->volume) }} Liter
<br>
Versand: {{ TF::fF($offer->shipping_costs) }} €
<br>
<br>
</p>
</div>
</div>
<div class="card-footer row">
<div class="col-md-6 col-sm-6">
<a href="{{ str_replace('l.fuselkoenig.de', 'www.kategorischeraperitif.de/s', $offer->url) }}" class="btn btn-primary">Zum Shop</a>
</div>
<div class="col-md-6 col-sm-6 price-from">
<p>
Preis vom {{ strftime("%d. %B %Y", $offer->created_at) }}
</p>
</div>
</div>
</div>
</div>
</div>
@endforeach
|