Skip to content

Commit 0304566

Browse files
Merge pull request #194 from developeregrem/online-booking-v2
Online booking v2
2 parents 77f64c6 + 855935f commit 0304566

File tree

97 files changed

+6948
-641
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

97 files changed

+6948
-641
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ nbproject/
33
.env
44
.vscode/
55
public/resources/images/export/
6+
public/resources/images/room-categories/
67
.DS_Store
78
node_modules
89
package-lock.json

assets/app.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
import './stimulus_bootstrap.js';
2+
import './js/csrf_protection.js';
23
/*
34
* Welcome to your app's main JavaScript file!
45
*
56
* This file will be included onto the page via the importmap() Twig function,
67
* which should already be in your base.html.twig.
78
*/
89
import './styles/app.css';
9-

assets/controllers/calendar_imports_controller.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { Controller } from '@hotwired/stimulus';
2-
import { enableDeletePopover } from './utils_controller.js';
2+
import { enableDeletePopover } from '../js/utils.js';
33

44
/* stimulusFetch: 'lazy' */
55

assets/controllers/cashjournal_controller.js

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,16 @@ import { Controller } from '@hotwired/stimulus';
22
import {
33
request as httpRequest,
44
serializeForm as httpSerializeForm
5-
} from './http_controller.js';
5+
} from '../js/http.js';
66
import {
77
setLocalStorageItemIfNotExists,
88
getLocalStorageItem,
99
updatePDFExportLinks,
1010
setModalTitle,
1111
enableDeletePopover
12-
} from './utils_controller.js';
12+
} from '../js/utils.js';
13+
14+
/* stimulusFetch: 'lazy' */
1315

1416
export default class extends Controller {
1517
static targets = ['table', 'year', 'template', 'defaultBox'];

assets/controllers/copy_controller.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@ import { Controller } from '@hotwired/stimulus';
33
/**
44
* Handles copy-to-clipboard buttons that may be loaded via Turbo/AJAX.
55
*/
6+
/* stimulusFetch: 'lazy' */
7+
68
export default class extends Controller {
79
static targets = ['input'];
810
static values = {

assets/controllers/customer_form_controller.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { Controller } from '@hotwired/stimulus';
2-
import { request as httpRequest } from './http_controller.js';
2+
import { request as httpRequest } from '../js/http.js';
33

44
/* stimulusFetch: 'lazy' */
55

assets/controllers/customers_controller.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { Controller } from '@hotwired/stimulus';
2-
import { request as httpRequest } from './http_controller.js';
3-
import { setModalTitle } from './utils_controller.js';
2+
import { request as httpRequest } from '../js/http.js';
3+
import { setModalTitle } from '../js/utils.js';
44

55
/* stimulusFetch: 'lazy' */
66

assets/controllers/housekeeping_controller.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { Controller } from '@hotwired/stimulus';
2-
import { request as httpRequest, serializeForm as httpSerializeForm } from './http_controller.js';
2+
import { request as httpRequest, serializeForm as httpSerializeForm } from '../js/http.js';
33

44
/* stimulusFetch: 'lazy' */
55

assets/controllers/invoices_controller.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,14 @@ import { Controller } from '@hotwired/stimulus';
22
import {
33
request as httpRequest,
44
serializeForm as httpSerializeForm,
5-
} from './http_controller.js';
5+
} from '../js/http.js';
66
import {
77
setLocalStorageItemIfNotExists,
88
getLocalStorageItem,
99
updatePDFExportLinks,
1010
enableDeletePopover,
1111
setModalTitle
12-
} from './utils_controller.js';
12+
} from '../js/utils.js';
1313

1414
/* stimulusFetch: 'lazy' */
1515

assets/controllers/login_controller.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
import { Controller } from '@hotwired/stimulus';
22

3+
/* stimulusFetch: 'lazy' */
4+
35
export default class extends Controller {
46
static values = {
57
startUrl: String,

0 commit comments

Comments
 (0)