ECOMMERCE/resources/views/account/marketplace-sales.blade.php

325 lines
21 KiB
PHP

@extends('layouts.marketplace', ['title' => 'Marketplace Account - Sales'])
@section('content')
<!-- Sales content -->
<div class="col-lg-9 pt-2 pt-xl-3">
<div
data-filter-list='{"searchClass": "product-search", "listClass": "product-list", "sortClass": "product-sort", "valueNames": ["product", "date", "tendered", "earning"]}'>
<!-- Header -->
<div class="d-md-flex align-items-center justify-content-between gap-3 pb-2 pb-sm-3 mb-md-2">
<h1 class="h2 mb-md-0">Sales</h1>
<div class="d-flex flex-column flex-sm-row gap-2 gap-sm-3">
<div class="position-relative w-100">
<i class="ci-search position-absolute top-50 start-0 translate-middle-y ms-3"></i>
<input class="product-search form-control form-icon-start rounded-pill" placeholder="Search"
type="search" />
</div>
<div class="position-relative" style="min-width: 190px">
<i class="ci-calendar position-absolute top-50 start-0 translate-middle-y z-1 ms-3"></i>
<select aria-label="Period select" class="form-select form-icon-start rounded-pill"
data-select='{
"classNames": {
"containerInner": ["form-select", "form-icon-start", "rounded-pill"]
},
"removeItemButton": false
}'>
<option value="Current">Current month</option>
<option value="Last month">Last month</option>
<option value="Last 3 months">Last 3 months</option>
<option value="Last 6 months">Last 6 months</option>
<option value="Last year">Last year</option>
</select>
</div>
</div>
</div>
<!-- Sales list (table) -->
<table class="table align-middle fs-sm mb-0">
<thead>
<tr>
<th class="ps-0" scope="col">
<span class="fw-normal text-body">Product</span>
</th>
<th class="d-none d-md-table-cell" scope="col">
<button class="btn fw-normal text-body product-sort p-0" data-sort="date"
type="button">Date</button>
</th>
<th class="d-none d-md-table-cell" scope="col">
<span class="fw-normal text-body">Status</span>
</th>
<th class="text-end d-none d-sm-table-cell" scope="col">
<button class="btn fw-normal text-body product-sort p-0 me-n2" data-sort="tendered"
type="button">Tendered</button>
</th>
<th class="text-end pe-0" scope="col">
<button class="btn fw-normal text-body product-sort p-0 me-n2" data-sort="earning"
type="button">Earning</button>
</th>
</tr>
</thead>
<tbody class="product-list">
<!-- Item -->
<tr>
<td class="py-3 ps-0">
<div
class="d-flex align-items-start align-items-md-center hover-effect-scale position-relative">
<div class="ratio bg-body-secondary rounded-2 overflow-hidden flex-shrink-0"
style="--cz-aspect-ratio: calc(52 / 66 * 100%); width: 66px">
<img alt="Image" class="hover-effect-target" src="/img/account/products/01.jpg" />
</div>
<div class="ps-2 ms-1">
<span
class="badge fs-xs text-info bg-info-subtle rounded-pill d-md-none mb-1">Pending</span>
<h6 class="product mb-1 mb-md-0">
<a class="fs-sm fw-medium hover-effect-underline stretched-link"
href="{{ route('second', ['shop', 'product-marketplace']) }}">Smart watches series 9 mockup</a>
</h6>
<div class="fs-body-emphasis d-sm-none mb-1">$15.00</div>
<div class="fs-body-emphasis d-md-none">June 30, 2024</div>
</div>
</div>
</td>
<td class="d-none d-md-table-cell py-3">June 30, 2024<span
class="date visually-hidden">1719745200</span></td>
<td class="d-none d-md-table-cell py-3">
<span class="badge fs-xs text-info bg-info-subtle rounded-pill">Pending</span>
</td>
<td class="tendered text-end d-none d-sm-table-cell py-3">$15.00</td>
<td class="earning text-end py-3 pe-0">$11.25</td>
</tr>
<!-- Item -->
<tr>
<td class="py-3 ps-0">
<div
class="d-flex align-items-start align-items-md-center hover-effect-scale position-relative">
<div class="ratio bg-body-secondary rounded-2 overflow-hidden flex-shrink-0"
style="--cz-aspect-ratio: calc(52 / 66 * 100%); width: 66px">
<img alt="Image" class="hover-effect-target" src="/img/account/products/02.jpg" />
</div>
<div class="ps-2 ms-1">
<span
class="badge fs-xs text-success bg-success-subtle rounded-pill d-md-none mb-1">Completed</span>
<h6 class="product mb-1 mb-md-0">
<a class="fs-sm fw-medium hover-effect-underline stretched-link"
href="{{ route('second', ['shop', 'product-marketplace']) }}">3D box mockup bold rebrand</a>
</h6>
<div class="fs-body-emphasis d-sm-none mb-1">$16.00</div>
<div class="fs-body-emphasis d-md-none">June 29, 2024</div>
</div>
</div>
</td>
<td class="d-none d-md-table-cell py-3">June 29, 2024<span
class="date visually-hidden">1719658800</span></td>
<td class="d-none d-md-table-cell py-3">
<span class="badge fs-xs text-success bg-success-subtle rounded-pill">Completed</span>
</td>
<td class="tendered text-end d-none d-sm-table-cell py-3">$16.00</td>
<td class="earning text-end py-3 pe-0">$12.00</td>
</tr>
<!-- Item -->
<tr>
<td class="py-3 ps-0">
<div
class="d-flex align-items-start align-items-md-center hover-effect-scale position-relative">
<div class="ratio bg-body-secondary rounded-2 overflow-hidden flex-shrink-0"
style="--cz-aspect-ratio: calc(52 / 66 * 100%); width: 66px">
<img alt="Image" class="hover-effect-target" src="/img/account/products/03.jpg" />
</div>
<div class="ps-2 ms-1">
<span
class="badge fs-xs text-success bg-success-subtle rounded-pill d-md-none mb-1">Completed</span>
<h6 class="product mb-1 mb-md-0">
<a class="fs-sm fw-medium hover-effect-underline stretched-link"
href="{{ route('second', ['shop', 'product-marketplace']) }}">iPhone 15 pro mockups</a>
</h6>
<div class="fs-body-emphasis d-sm-none mb-1">$19.00</div>
<div class="fs-body-emphasis d-md-none">June 29, 2024</div>
</div>
</div>
</td>
<td class="d-none d-md-table-cell py-3">June 29, 2024<span
class="date visually-hidden">1719658800</span></td>
<td class="d-none d-md-table-cell py-3">
<span class="badge fs-xs text-success bg-success-subtle rounded-pill">Completed</span>
</td>
<td class="tendered text-end d-none d-sm-table-cell py-3">$19.00</td>
<td class="earning text-end py-3 pe-0">$14.25</td>
</tr>
<!-- Item -->
<tr>
<td class="py-3 ps-0">
<div
class="d-flex align-items-start align-items-md-center hover-effect-scale position-relative">
<div class="ratio bg-body-secondary rounded-2 overflow-hidden flex-shrink-0"
style="--cz-aspect-ratio: calc(52 / 66 * 100%); width: 66px">
<img alt="Image" class="hover-effect-target" src="/img/account/products/04.jpg" />
</div>
<div class="ps-2 ms-1">
<span
class="badge fs-xs text-success bg-success-subtle rounded-pill d-md-none mb-1">Completed</span>
<h6 class="product mb-1 mb-md-0">
<a class="fs-sm fw-medium hover-effect-underline stretched-link"
href="{{ route('second', ['shop', 'product-marketplace']) }}">A collection of colorful items</a>
</h6>
<div class="fs-body-emphasis d-sm-none mb-1">$21.00</div>
<div class="fs-body-emphasis d-md-none">June 28, 2024</div>
</div>
</div>
</td>
<td class="d-none d-md-table-cell py-3">June 28, 2024<span
class="date visually-hidden">1719572400</span></td>
<td class="d-none d-md-table-cell py-3">
<span class="badge fs-xs text-success bg-success-subtle rounded-pill">Completed</span>
</td>
<td class="tendered text-end d-none d-sm-table-cell py-3">$21.00</td>
<td class="earning text-end py-3 pe-0">$15.75</td>
</tr>
<!-- Item -->
<tr>
<td class="py-3 ps-0">
<div
class="d-flex align-items-start align-items-md-center hover-effect-scale position-relative">
<div class="ratio bg-body-secondary rounded-2 overflow-hidden flex-shrink-0"
style="--cz-aspect-ratio: calc(52 / 66 * 100%); width: 66px">
<img alt="Image" class="hover-effect-target" src="/img/account/products/05.jpg" />
</div>
<div class="ps-2 ms-1">
<span
class="badge fs-xs text-success bg-success-subtle rounded-pill d-md-none mb-1">Completed</span>
<h6 class="product mb-1 mb-md-0">
<a class="fs-sm fw-medium hover-effect-underline stretched-link"
href="{{ route('second', ['shop', 'product-marketplace']) }}">House plants website template</a>
</h6>
<div class="fs-body-emphasis d-sm-none mb-1">$35.00</div>
<div class="fs-body-emphasis d-md-none">June 27, 2024</div>
</div>
</div>
</td>
<td class="d-none d-md-table-cell py-3">June 27, 2024<span
class="date visually-hidden">1719486000</span></td>
<td class="d-none d-md-table-cell py-3">
<span class="badge fs-xs text-success bg-success-subtle rounded-pill">Completed</span>
</td>
<td class="tendered text-end d-none d-sm-table-cell py-3">$35.00</td>
<td class="earning text-end py-3 pe-0">$26.25</td>
</tr>
<!-- Item -->
<tr>
<td class="py-3 ps-0">
<div
class="d-flex align-items-start align-items-md-center hover-effect-scale position-relative">
<div class="ratio bg-body-secondary rounded-2 overflow-hidden flex-shrink-0"
style="--cz-aspect-ratio: calc(52 / 66 * 100%); width: 66px">
<img alt="Image" class="hover-effect-target" src="/img/account/products/06.jpg" />
</div>
<div class="ps-2 ms-1">
<span
class="badge fs-xs text-success bg-success-subtle rounded-pill d-md-none mb-1">Completed</span>
<h6 class="product mb-1 mb-md-0">
<a class="fs-sm fw-medium hover-effect-underline stretched-link"
href="{{ route('second', ['shop', 'product-marketplace']) }}">Isometric smartphone mockups</a>
</h6>
<div class="fs-body-emphasis d-sm-none mb-1">$24.00</div>
<div class="fs-body-emphasis d-md-none">June 26, 2024</div>
</div>
</div>
</td>
<td class="d-none d-md-table-cell py-3">June 26, 2024<span
class="date visually-hidden">1719399600</span></td>
<td class="d-none d-md-table-cell py-3">
<span class="badge fs-xs text-success bg-success-subtle rounded-pill">Completed</span>
</td>
<td class="tendered text-end d-none d-sm-table-cell py-3">$24.00</td>
<td class="earning text-end py-3 pe-0">$18.00</td>
</tr>
<!-- Item -->
<tr>
<td class="py-3 ps-0">
<div
class="d-flex align-items-start align-items-md-center hover-effect-scale position-relative">
<div class="ratio bg-body-secondary rounded-2 overflow-hidden flex-shrink-0"
style="--cz-aspect-ratio: calc(52 / 66 * 100%); width: 66px">
<img alt="Image" class="hover-effect-target" src="/img/account/products/07.jpg" />
</div>
<div class="ps-2 ms-1">
<span
class="badge fs-xs text-success bg-success-subtle rounded-pill d-md-none mb-1">Completed</span>
<h6 class="product mb-1 mb-md-0">
<a class="fs-sm fw-medium hover-effect-underline stretched-link"
href="{{ route('second', ['shop', 'product-marketplace']) }}">A stunning set of tablet pro
mockups</a>
</h6>
<div class="fs-body-emphasis d-sm-none mb-1">$18.00</div>
<div class="fs-body-emphasis d-md-none">June 26, 2024</div>
</div>
</div>
</td>
<td class="d-none d-md-table-cell py-3">June 26, 2024<span
class="date visually-hidden">1719399600</span></td>
<td class="d-none d-md-table-cell py-3">
<span class="badge fs-xs text-success bg-success-subtle rounded-pill">Completed</span>
</td>
<td class="tendered text-end d-none d-sm-table-cell py-3">$18.00</td>
<td class="earning text-end py-3 pe-0">$13.50</td>
</tr>
<!-- Item -->
<tr>
<td class="py-3 ps-0">
<div
class="d-flex align-items-start align-items-md-center hover-effect-scale position-relative">
<div class="ratio bg-body-secondary rounded-2 overflow-hidden flex-shrink-0"
style="--cz-aspect-ratio: calc(52 / 66 * 100%); width: 66px">
<img alt="Image" class="hover-effect-target" src="/img/account/products/08.jpg" />
</div>
<div class="ps-2 ms-1">
<span
class="badge fs-xs text-danger bg-danger-subtle rounded-pill d-md-none mb-1">Canceled</span>
<h6 class="product mb-1 mb-md-0">
<a class="fs-sm fw-medium hover-effect-underline stretched-link"
href="{{ route('second', ['shop', 'product-marketplace']) }}">Multi device mockup PSD</a>
</h6>
<div class="fs-body-emphasis d-sm-none mb-1">$27.00</div>
<div class="fs-body-emphasis d-md-none">June 25, 2024</div>
</div>
</div>
</td>
<td class="d-none d-md-table-cell py-3">June 25, 2024<span
class="date visually-hidden">1719313200</span></td>
<td class="d-none d-md-table-cell py-3">
<span class="badge fs-xs text-danger bg-danger-subtle rounded-pill">Canceled</span>
</td>
<td class="tendered text-end d-none d-sm-table-cell py-3">$27.00</td>
<td class="earning text-end py-3 pe-0">$0.00</td>
</tr>
</tbody>
</table>
<!-- Pagination -->
<div class="d-flex align-items-center justify-content-between pt-4 gap-3">
<div class="fs-sm">Showing <span class="fw-semibold">8</span> of <span
class="fw-semibold">30</span><span class="d-none d-sm-inline"> results</span></div>
<nav aria-label="Pagination">
<ul class="pagination">
<li aria-current="page" class="page-item active">
<span class="page-link">
1
<span class="visually-hidden">(current)</span>
</span>
</li>
<li class="page-item">
<a class="page-link" href="#">2</a>
</li>
<li class="page-item">
<a class="page-link" href="#">3</a>
</li>
<li class="page-item">
<a class="page-link" href="#">4</a>
</li>
</ul>
</nav>
</div>
</div>
</div>
@endsection
@section('scripts')
@endsection