Store time ranges for index sites.

This commit is contained in:
2025-02-06 11:53:40 +01:00
parent 4c43bf2193
commit 3884a54539
9 changed files with 61 additions and 9 deletions

View File

@@ -104,8 +104,8 @@
net: 0,
gross: 0,
tax: 0,
from: "{{ \Illuminate\Support\Facades\Date::now()->firstOfMonth()->format('Y-m-d') }}",
end: "{{ \Illuminate\Support\Facades\Date::now()->format('Y-m-d') }}",
from: "{{ $first }}",
end: "{{ $last }}",
invoices: [],
init() {

View File

@@ -89,8 +89,8 @@
<script>
function invoiceForm() {
return {
from: "{{ \Illuminate\Support\Facades\Date::now()->firstOfMonth()->format('Y-m-d') }}",
end: "{{ \Illuminate\Support\Facades\Date::now()->format('Y-m-d') }}",
from: "{{ $first }}",
end: "{{ $last }}",
invoices: [],
sum: 0,
tax: 0,

View File

@@ -83,8 +83,8 @@
<script>
function paymentForm() {
return {
from: "{{ \Illuminate\Support\Facades\Date::now()->firstOfMonth()->format('Y-m-d') }}",
end: "{{ \Illuminate\Support\Facades\Date::now()->format('Y-m-d') }}",
from: "{{ $first }}",
end: "{{ $last }}",
payments: [],
sum: 0,
tax: 0,