|
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051 |
- (self["webpackChunk"] = self["webpackChunk"] || []).push([["sov-ticket"],{
-
- /***/ "../LaClicBundle/SovBundle/Resources/assets/app/admin/ticket/app.ticket.js":
- /*!*********************************************************************************!*\
- !*** ../LaClicBundle/SovBundle/Resources/assets/app/admin/ticket/app.ticket.js ***!
- \*********************************************************************************/
- /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
-
- "use strict";
- __webpack_require__.r(__webpack_exports__);
- /* harmony import */ var _ticket_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./ticket.js */ "../LaClicBundle/SovBundle/Resources/assets/app/admin/ticket/ticket.js");
- /* harmony import */ var _ticket_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_ticket_js__WEBPACK_IMPORTED_MODULE_0__);
-
-
- /***/ }),
-
- /***/ "../LaClicBundle/SovBundle/Resources/assets/app/admin/ticket/ticket.js":
- /*!*****************************************************************************!*\
- !*** ../LaClicBundle/SovBundle/Resources/assets/app/admin/ticket/ticket.js ***!
- \*****************************************************************************/
- /***/ (() => {
-
- jQuery(document).ready(function () {
- $('.ticket-status').on("change", function () {
- $.ajax({
- url: $('#ticketStatusForm').prop('action'),
- method: "POST",
- data: $('#ticketStatusForm').serialize(),
- dataType: "json",
- success: function success(data) {
- if (data.success) {
- SovNotification.add('success', 'Le status a bien été mise à jour.');
- } else {
- SovNotification.add('danger', 'Une erreur est survenue.');
- }
- }
- });
- });
- });
-
- /***/ })
-
- },
- /******/ __webpack_require__ => { // webpackRuntimeModules
- /******/ "use strict";
- /******/
- /******/ var __webpack_exec__ = (moduleId) => (__webpack_require__(__webpack_require__.s = moduleId))
- /******/ var __webpack_exports__ = (__webpack_exec__("../LaClicBundle/SovBundle/Resources/assets/app/admin/ticket/app.ticket.js"));
- /******/ }
- ]);
- //# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJ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