Merge branch 'trunk'

This commit is contained in:
Vincent BRIDIER 2023-08-24 16:21:39 +02:00
commit cd89f6b443
14 changed files with 15 additions and 14 deletions

View file

@ -95,8 +95,8 @@ class TicketController extends Controller
TicketStatusEnum::archived
);
$tickets = $this->searchTicket($tickets, $request);
$tickets = $this->filterTickets($tickets, $request);
$tickets = $this->searchTicket($tickets, $request);
/** Custom pagination */
$tickets = $this->customPaginate($tickets, $request->pagination);
@ -489,6 +489,7 @@ class TicketController extends Controller
Session::remove('tickets.pr');
Session::remove('tickets.sort_col');
Session::remove('tickets.sort_way');
Session::remove('tickets.search');
}
if ($request->assr) {
Session::remove('tickets.ass');

View file

@ -58,7 +58,7 @@
</div>
@push('scripts')
<script>
<script nonce="{{ $nonce }}">
document.addEventListener("DOMContentLoaded", () => {
// Submit button clone.
const submit = document.getElementById('formSubmit')

View file

@ -35,7 +35,7 @@
</div>
@push('scripts')
<script>
<script nonce="{{ $nonce }}">
document.addEventListener("DOMContentLoaded", () => {
// Submit button clone.
const submit = document.getElementById('formSubmit')

View file

@ -88,7 +88,7 @@
</div>
@push('scripts')
<script>
<script nonce="{{ $nonce }}">
document.addEventListener("DOMContentLoaded", () => {
// Submit button clone.
const submit = document.getElementById('formSubmit')

View file

@ -33,7 +33,7 @@
</div>
@push('scripts')
<script>
<script nonce="{{ $nonce }}">
document.addEventListener("DOMContentLoaded", () => {
// Submit button clone.
const submit = document.getElementById('formSubmit')

View file

@ -84,7 +84,7 @@
</div>
@push('scripts')
<script>
<script nonce="{{ $nonce }}">
document.addEventListener("DOMContentLoaded", () => {
// Submit button clone.
const submit = document.getElementById('formSubmit')

View file

@ -91,7 +91,7 @@
</div>
@push('scripts')
<script>
<script nonce="{{ $nonce }}">
document.addEventListener("DOMContentLoaded", () => {
// Submit button clone.
const submit = document.getElementById('formSubmit')

View file

@ -342,7 +342,7 @@
@if($invoiceModel->status === \App\Enums\Invoices\InvoiceStatusEnum::opened || $invoiceModel->status === null)
@push('scripts')
<script>
<script nonce="{{ $nonce }}">
document.addEventListener("DOMContentLoaded", () => {
// Submit button clone.
const submit = document.getElementById('formSubmit')

View file

@ -62,7 +62,7 @@
</div>
@push('scripts')
<script>
<script nonce="{{ $nonce }}">
document.addEventListener("DOMContentLoaded", () => {
// Submit button clone.
const submit = document.getElementById('formSubmit')

View file

@ -64,7 +64,7 @@
</div>
@push('scripts')
<script>
<script nonce="{{ $nonce }}">
document.addEventListener("DOMContentLoaded", () => {
// Submit button clone.
const submit = document.getElementById('formSubmit')

View file

@ -61,7 +61,7 @@
</div>
@push('scripts')
<script>
<script nonce="{{ $nonce }}">
document.addEventListener("DOMContentLoaded", () => {
// Submit button clone.
const submit = document.getElementById('formSubmit')

View file

@ -137,7 +137,7 @@
</div>
@push('scripts')
<script>
<script nonce="{{ $nonce }}">
document.addEventListener("DOMContentLoaded", () => {
// Submit button clone.
const submit = document.getElementById('formSubmit')

View file

@ -55,7 +55,7 @@
</div>
@push('scripts')
<script>
<script nonce="{{ $nonce }}">
document.addEventListener("DOMContentLoaded", () => {
// Submit button clone.
const submit = document.getElementById('formSubmit')

View file

@ -121,7 +121,7 @@
</div>
@push('scripts')
<script>
<script nonce="{{ $nonce }}">
document.addEventListener("DOMContentLoaded", () => {
// Submit button clone.
const submit = document.getElementById('formSubmit')