Store time ranges for index sites.
This commit is contained in:
@@ -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() {
|
||||
|
||||
@@ -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,
|
||||
|
||||
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user