finishing to dev
All checks were successful
Build, Push and Deploy / build-and-push (push) Successful in 3m41s
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 16s
Build, Push and Deploy / deploy-staging (push) Successful in 42s
Build, Push and Deploy / deploy-production (push) Has been skipped

This commit is contained in:
2026-05-14 22:50:44 +07:00
parent 2fabdf8fc9
commit 8307b9e66d
212 changed files with 2451 additions and 4493 deletions

View File

@@ -34,13 +34,7 @@
<td class="text-start">{{ __('Total') }}</td>
<td></td>
<td></td>
<td class="text-start">
{{
$stock_reports->sum(function ($stock_report) {
return $stock_report->stocks->sum('productStock');
})
}}
</td>
<td></td>
<td></td>
<td class="text-end">
{{ currency_format(

View File

@@ -33,13 +33,7 @@
<td class="text-start">{{ __('Total') }}</td>
<td></td>
<td></td>
<td>
{{
$stock_reports->sum(function ($stock_report) {
return $stock_report->stocks->sum('productStock');
})
}}
</td>
<td></td>
<td></td>
<td class="text-end">
{{ currency_format(

View File

@@ -4,6 +4,7 @@
<div class="table-header justify-content-center border-0 d-none d-block d-print-block text-center">
@include('business::print.header')
<h4 style="text-align: center; margin: 0; padding: 0; font-size: 16px;" class="">{{ __('Stock Report List') }}</h4>
{{-- <p style="text-align: center; margin: 0; padding: 0; font-weight: 400; font-size: 14px;" class="">{{ __('Duration: 14-12-2025 to 24-12-2025') }}</p> --}}
</div>
@endsection
@@ -55,13 +56,7 @@
{{ __('Total') }}
</td>
<td style="border:1px solid gainsboro; text-align:center;"></td>
<td style="border:1px solid gainsboro; text-align:center; color: white; font-weight: 600;">
{{
$stock_reports->sum(function ($stock_report) {
return $stock_report->stocks->sum('productStock');
})
}}
</td>
<td style="border:1px solid gainsboro; text-align:center;"></td>
<td style="border:1px solid gainsboro; text-align:center;" class="d-print-none"></td>
<td style="border:1px solid gainsboro; text-align:center; color: white; font-weight: 600;">
{{ currency_format(

View File

@@ -11,12 +11,12 @@
<div class="d-flex align-items-center justify-content-center gap-3">
<div class="profit-card p-3 text-white">
<p class="stat-title">{{ __('Total Quantity') }}</p>
<p class="stat-value" id="total_qty">{{ $total_qty }}</p>
<p class="stat-value">{{ $total_qty }}</p>
</div>
<div class="loss-card p-3 text-white">
<p class="stat-title">{{ __('Total Stock Value') }}</p>
<p class="stat-value" id="total_stock_value">{{ currency_format($total_stock_value) }}</p>
<p class="stat-value">{{ currency_format($total_stock_value) }}</p>
</div>
</div>
</div>
@@ -32,7 +32,7 @@
</div>
<div class="table-top-form p-16">
<form action="{{ route('business.stock-reports.index') }}" method="GET" class="report-filter-form" table="#stock-reports-data">
<form action="{{ route('business.stock-reports.index') }}" method="GET" class="filter-form" table="#stock-reports-data">
<div class="table-top-left d-flex gap-3 ">
<div class="gpt-up-down-arrow position-relative d-print-none">
@@ -59,17 +59,17 @@
<div class="table-top-btn-group d-print-none">
<ul>
<li>
<a class="export-btn" href="{{ route('business.stock-reports.csv') }}">
<a href="{{ route('business.stock-reports.csv') }}">
<img src="{{ asset('assets/images/logo/csv.svg') }}" alt="">
</a>
</li>
<li>
<a class="export-btn" href="{{ route('business.stock-reports.excel') }}">
<a href="{{ route('business.stock-reports.excel') }}">
<img src="{{ asset('assets/images/logo/excel.svg') }}" alt="">
</a>
</li>
<li>
<a class="export-btn" target="_blank" href="{{ route('business.stock-reports.pdf') }}">
<a target="blank" href="{{ route('business.stock-reports.pdf') }}">
<img src="{{ asset('assets/images/logo/pdf.svg') }}" alt="">
</a>
</li>