update marketing
All checks were successful
Build, Push and Deploy / build-and-push (push) Successful in 5m14s
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 17s
Build, Push and Deploy / deploy-staging (push) Successful in 41s
Build, Push and Deploy / deploy-production (push) Has been skipped

This commit is contained in:
2026-05-14 11:55:22 +07:00
parent f80fcc4c1b
commit 05fd3230b8
448 changed files with 17545 additions and 5128 deletions

View File

@@ -9,22 +9,22 @@
<div class="container-fluid">
<div class="card">
<div class="card-bodys">
<div class="row p-2 d-print-none">
<div class="row p-2 d-print-none" id="loss-profit-summery">
<div class="col-lg-2 col-md-12">
<div class="loss-card p-3 m-2 text-white">
<p class="stat-value">{{ currency_format($cardGrossProfit, currency: business_currency()) }}</p>
<p class="stat-value">{{ currency_format($grossIncomeProfit, currency: business_currency()) }}</p>
<p class="stat-title">{{ __('Gross Profit') }}</p>
</div>
</div>
<div class="col-lg-2 col-md-6">
<div class="profit-card p-3 m-2 text-white">
<p class="stat-value">{{ currency_format($totalCardExpenses, currency: business_currency()) }}</p>
<p class="stat-value">{{ currency_format($totalExpenses, currency: business_currency()) }}</p>
<p class="stat-title">{{ __('Expenses') }}</p>
</div>
</div>
<div class="col-lg-2 col-md-6">
<div class="sales-card p-3 m-2 text-white">
<p class="stat-value">{{ currency_format($cardNetProfit, currency: business_currency()) }}</p>
<p class="stat-value">{{ currency_format($netProfit, currency: business_currency()) }}</p>
<p class="stat-title">{{ __('Net Profit') }}</p>
</div>
</div>
@@ -45,6 +45,16 @@
<div class="d-flex align-items-center gap-3 flex-wrap table-top-left">
<div class="m-0 p-0 d-print-none">
<div class="date-filters-container">
<div class="gpt-up-down-arrow position-relative">
<select name="per_page" class="form-control">
<option @selected(request('per_page') == 20) value="20">{{ __('Show 20') }}</option>
<option @selected(request('per_page') == 50) value="50">{{ __('Show 50') }}</option>
<option @selected(request('per_page') == 100) value="100">{{ __('Show 100') }}</option>
<option @selected(request('per_page') == 500) value="500">{{ __('Show 500') }}</option>
</select>
<span></span>
</div>
<div class="input-wrapper align-items-center date-filters d-none">
<label class="header-label">{{ __('From Date') }}</label>
<input type="date" name="from_date" value="{{ now()->format('Y-m-d') }}" class="form-control filter-field filter-from-date">
@@ -81,17 +91,17 @@
<div class="table-top-btn-group d-print-none p-2">
<ul>
<li>
<a href="{{ route('business.loss-profit-history.csv') }}">
<a class="loss-profit-export-btn" href="{{ route('business.loss-profit-history.csv') }}">
<img src="{{ asset('assets/images/logo/csv.svg') }}" alt="">
</a>
</li>
<li>
<a href="{{ route('business.loss-profit-history.excel') }}">
<a class="loss-profit-export-btn" href="{{ route('business.loss-profit-history.excel') }}">
<img src="{{ asset('assets/images/logo/excel.svg') }}" alt="">
</a>
</li>
<li>
<a target="blank" href="{{ route('business.loss-profit-history.pdf') }}">
<a class="loss-profit-export-btn" target="_blank" href="{{ route('business.loss-profit-history.pdf') }}">
<img src="{{ asset('assets/images/logo/pdf.svg') }}" alt="">
</a>
</li>
@@ -106,22 +116,9 @@
</div>
</div>
<div class="responsive-table m-0">
<table class="table table-bordered">
<thead>
<tr>
<th class="text-start income-type">{{ __('Income Types') }}</th>
<th class="text-start d-print-none">{{ __('Date') }}</th>
<th class="text-start">{{ __('Sale') }}</th>
<th class="text-end">{{ __('Income') }}</th>
<th class="text-start expense-type">{{ __('Expenses Types') }}</th>
<th class="text-start d-print-none">{{ __('Date') }}</th>
<th class="text-end">{{ __('Expense') }}</th>
</tr>
</thead>
<tbody id="loss-profit-history-data">
@include('business::loss-profit-histories.datas')
</tbody>
</table>
<div id="loss-profit-history-data">
@include('business::loss-profit-histories.datas')
</div>
</div>
</div>