E-Invoice - Update 'Process E-Invoice' date range filtering target

This commit is contained in:
Dillon Ngo
2025-11-06 23:08:24 +08:00
parent 650cfba74a
commit 0df85daf2e
5 changed files with 104 additions and 2 deletions
@@ -68,8 +68,6 @@ class CreateBatchProcessingAutoCountImportLogic extends AbstractControllerLogic
// ->whereBetween('updated_at', [$startDate, $endDate])
// ->whereIn('status', [ApprovalStatus::APPROVED, ApprovalStatus::COMPLETED]);
// })->get();
Log::info('CreateBatchProcessingAutoCountImportLogic startDate: ' . json_encode($startDate));
Log::info('CreateBatchProcessingAutoCountImportLogic endDate: ' . json_encode($endDate));
$transactions = $query->whereBetween('created_at', [$startDate, $endDate])->get();
@@ -27,10 +27,36 @@
<div class="row">
<div class="col-6">
<label>Start Date</label>
<span
class="ml-2 text-primary"
data-toggle="tooltip"
data-placement="right"
data-html="true"
data-custom-class="tooltip-report-export"
title="
<div>
Filters by Payment Created Date<br/>
</div>
">
<i class="fa fa-info-circle"></i>
</span>
<date-picker-limit-range-component v-model="startDate" @input="onStartDateChange" :maxDays="maxDays"></date-picker-limit-range-component>
</div>
<div class="col-6">
<label>End Date</label>
<span
class="ml-2 text-primary"
data-toggle="tooltip"
data-placement="right"
data-html="true"
data-custom-class="tooltip-report-export"
title="
<div>
Filters by Payment Created Date<br/>
</div>
">
<i class="fa fa-info-circle"></i>
</span>
<date-picker-limit-range-component v-model="endDate" ref="endDatePicker" :maxDays="maxDays"></date-picker-limit-range-component>
</div>
</div>
@@ -38,10 +38,36 @@
<div class="row">
<div class="col-6">
<label>Start Date</label>
<span
class="ml-2 text-primary"
data-toggle="tooltip"
data-placement="right"
data-html="true"
data-custom-class="tooltip-report-export"
title="
<div>
Filters by Payment Created Date<br/>
</div>
">
<i class="fa fa-info-circle"></i>
</span>
<date-picker-limit-range-component v-model="startDate" @input="onStartDateChange" :maxDays="maxDays"></date-picker-limit-range-component>
</div>
<div class="col-6">
<label>End Date</label>
<span
class="ml-2 text-primary"
data-toggle="tooltip"
data-placement="right"
data-html="true"
data-custom-class="tooltip-report-export"
title="
<div>
Filters by Payment Created Date<br/>
</div>
">
<i class="fa fa-info-circle"></i>
</span>
<date-picker-limit-range-component v-model="endDate" ref="endDatePicker" :maxDays="maxDays"></date-picker-limit-range-component>
</div>
</div>
@@ -27,10 +27,36 @@
<div class="row">
<div class="col-6">
<label>Start Date</label>
<span
class="ml-2 text-primary"
data-toggle="tooltip"
data-placement="right"
data-html="true"
data-custom-class="tooltip-report-export"
title="
<div>
Filters by Invoice Created Date<br/>
</div>
">
<i class="fa fa-info-circle"></i>
</span>
<date-picker-limit-range-component v-model="startDate" @input="onStartDateChange" :maxDays="maxDays"></date-picker-limit-range-component>
</div>
<div class="col-6">
<label>End Date</label>
<span
class="ml-2 text-primary"
data-toggle="tooltip"
data-placement="right"
data-html="true"
data-custom-class="tooltip-report-export"
title="
<div>
Filters by Invoice Created Date<br/>
</div>
">
<i class="fa fa-info-circle"></i>
</span>
<date-picker-limit-range-component v-model="endDate" ref="endDatePicker" :maxDays="maxDays"></date-picker-limit-range-component>
</div>
</div>
@@ -58,10 +58,36 @@
<div class="row">
<div class="col-6">
<label>Start Date</label>
<span
class="ml-2 text-primary"
data-toggle="tooltip"
data-placement="right"
data-html="true"
data-custom-class="tooltip-report-export"
title="
<div>
Filters by Invoice Created Date<br/>
</div>
">
<i class="fa fa-info-circle"></i>
</span>
<date-picker-limit-range-component v-model="startDate" @input="onStartDateChange" :maxDays="maxDays"></date-picker-limit-range-component>
</div>
<div class="col-6">
<label>End Date</label>
<span
class="ml-2 text-primary"
data-toggle="tooltip"
data-placement="right"
data-html="true"
data-custom-class="tooltip-report-export"
title="
<div>
Filters by Invoice Created Date<br/>
</div>
">
<i class="fa fa-info-circle"></i>
</span>
<date-picker-limit-range-component v-model="endDate" ref="endDatePicker" :maxDays="maxDays"></date-picker-limit-range-component>
</div>
</div>