You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
topnotch_website/resources/views/partials/customers/show/shipping-info-tab.blade.php

99 lines
4.2 KiB
PHTML

<div class="tab-pane {{$tab == 'shipping' ? 'active' : ''}}" id="shipping" role="tabpanel"
aria-labelledby="shipping-tab">
<div class="row justify-content-center mb-3">
<div class="col-9">
<div class="d-flex flex-row gap-2">
<button class="btn btn-sm btn-primary" title="Create new shipping entry..."
data-bs-toggle="modal" data-bs-target="#createShippingEntryModal">
<x-bi-plus-circle-fill/>
Create entry
</button>
<div class="mx-auto"></div>
<div class="d-inline-flex gap-2">
<input type="text" class="form-control form-control-sm" placeholder="Search..."
name="" id="searchText">
<button class="btn btn-sm btn-outline-primary" id="searchButton">
<x-bi-search/>
</button>
</div>
</div>
</div>
</div>
<div class="row justify-content-center mb-3">
@foreach($shippingEntries as $shippingEntry)
<div class="col-4">
<div class="card mb-3">
<div class="card-header">
{{$shippingEntry->account_title}}
</div>
<div class="card-body">
<div class="row">
<div class="col-md-4 text-md-end text-secondary">Shipping Type</div>
<div class="col-md-6">
<div class="">{{$shippingEntry->shipping_type}}</div>
</div>
</div>
<hr class="border-secondary-subtle mx-4 px-0">
<div class="row">
<div class="col-md-4 text-md-end text-secondary">Courier</div>
<div class="col-md-6">
<div class="fw-bold">{{$shippingEntry->courier}}</div>
</div>
</div>
<div class="row">
<div class="col-md-4 text-md-end text-secondary">Contact</div>
<div class="col-md-6">
<div class="text-nowrap">
<a href="">{{$shippingEntry->contact}}</a>
</div>
</div>
</div>
<div class="row">
<div class="col-md-4 text-md-end text-secondary">Login</div>
<div class="col-md-6">
<div class="fw-bold">
{{$shippingEntry->account_username}} <br>
<code>{{$shippingEntry->account_password}}</code>
</div>
</div>
</div>
<hr class="border-secondary-subtle mx-4 px-0">
<div class="row">
<div class="col-md-4 text-md-end text-secondary text-nowrap">Required Info
</div>
<div class="col-md-6">
<div class="">{{$shippingEntry->info_needed}}</div>
</div>
</div>
<div class="row">
<div class="col-md-4 text-md-end text-secondary">Notify</div>
<div class="col-md-6">
<div class="text-nowrap"><a
href="mailto:">{{$shippingEntry->notify}}</a></div>
</div>
</div>
<div class="row">
<div class="col-md-4 text-md-end text-secondary">Notes</div>
<div class="col-md-6">
<div class="">{{$shippingEntry->notes}}</div>
</div>
</div>
</div>
</div>
</div>
@endforeach
</div>
</div>