fixed avisa theme part

fixed home links
pull/49/head
A1Gard 2 months ago
parent 63b96c1674
commit 925437ac3c

@ -71,7 +71,7 @@
{{__("Need process orders")}} {{__("Need process orders")}}
</div> </div>
<div class="card-body"> <div class="card-body">
<a href="#"> <a href='{{route('admin.invoice.index')}}?filter%5Bstatus%5D=%5B"PAID"%5D'>
<i class="ri-shopping-bag-4-line"></i> <i class="ri-shopping-bag-4-line"></i>
<h2> <h2>
{{number_format(\App\Models\Invoice::where('status','PAID')->count())}} {{number_format(\App\Models\Invoice::where('status','PAID')->count())}}
@ -86,7 +86,7 @@
{{__("Pending tickets")}} {{__("Pending tickets")}}
</div> </div>
<div class="card-body"> <div class="card-body">
<a href="{{route('admin.ticket.index')}}"> <a href='{{route('admin.ticket.index')}}?filter%5Bstatus%5D=%5B"PENDING"%5D'>
<i class="ri-customer-service-2-line"></i> <i class="ri-customer-service-2-line"></i>
<h2> <h2>
{{number_format(\App\Models\Ticket::where('status','PENDING')->count())}} {{number_format(\App\Models\Ticket::where('status','PENDING')->count())}}

@ -199,7 +199,7 @@
- -
</th> </th>
</tr> </tr>
@foreach(auth('customer')->user()->invoices as $inv) @foreach(auth('customer')->user()->invoices()->orderByDesc('id')->get() as $inv)
<tr> <tr>
<td> <td>
{{$inv->hash}} {{$inv->hash}}
@ -226,8 +226,8 @@
class="btn btn-outline-primary btn-sm "> class="btn btn-outline-primary btn-sm ">
<i class="ri-eye-line"></i> <i class="ri-eye-line"></i>
</a> </a>
@if($inv->status != 'COMPLETED' && $inv->created_at->timestamp > (time() - 3600) ) @if( in_array($inv->status, ['PENDING', 'CANCELED', 'FAILED'] ) && $inv->created_at->timestamp > (time() - 3600) )
<a href="#" class="btn btn-outline-primary btn-sm ms-2"> <a href="{{route('client.pay',$inv->hash)}}" class="btn btn-outline-primary btn-sm ms-2">
<i class="ri-secure-payment-line"></i> <i class="ri-secure-payment-line"></i>
{{__("Pay now")}} {{__("Pay now")}}
</a> </a>
@ -376,7 +376,8 @@
{{__($ticket->status)}} {{__($ticket->status)}}
</td> </td>
<td class="text-center"> <td class="text-center">
<a href="{{ route('client.ticket.show',$ticket->id) }}" class="btn btn-outline-primary btn-sm"> <a href="{{ route('client.ticket.show',$ticket->id) }}"
class="btn btn-outline-primary btn-sm">
<i class="ri-eye-line"></i> <i class="ri-eye-line"></i>
{{__("View")}} {{__("View")}}
</a> </a>
@ -415,14 +416,16 @@
<label for="title"> <label for="title">
{{__("Title")}} {{__("Title")}}
</label> </label>
<input type="text" id="title" name="title" value="{{old('title')}}" placeholder="{{__("Title")}}" <input type="text" id="title" name="title" value="{{old('title')}}"
placeholder="{{__("Title")}}"
class="form-control"> class="form-control">
</div> </div>
<div class="form-group mt-3"> <div class="form-group mt-3">
<label for="body"> <label for="body">
{{__("Description Text")}} {{__("Description Text")}}
</label> </label>
<textarea rows="7" name="body" class="form-control" placeholder="{{__("Your message ...")}}">{{old('body')}}</textarea> <textarea rows="7" name="body" class="form-control"
placeholder="{{__("Your message ...")}}">{{old('body')}}</textarea>
</div> </div>
<div class="mt-3"> <div class="mt-3">
<button class="btn btn-outline-primary w-100"> <button class="btn btn-outline-primary w-100">
@ -465,9 +468,11 @@
<p class="text-muted"> <p class="text-muted">
{{$fav->excerpt}} {{$fav->excerpt}}
</p> </p>
<a class="fav-btn float-end mx-2" data-slug="{{$fav->slug}}" data-is-fav="{{$fav->isFav()}}" <a class="fav-btn float-end mx-2" data-slug="{{$fav->slug}}"
data-is-fav="{{$fav->isFav()}}"
data-bs-custom-class="custom-tooltip" data-bs-custom-class="custom-tooltip"
data-bs-toggle="tooltip" data-bs-placement="top" title="{{__("Add to / Remove from favorites")}}"> data-bs-toggle="tooltip" data-bs-placement="top"
title="{{__("Add to / Remove from favorites")}}">
<i class="ri-heart-line"></i> <i class="ri-heart-line"></i>
<i class="ri-heart-fill"></i> <i class="ri-heart-fill"></i>
</a> </a>

Loading…
Cancel
Save