2020-04-29 02:20:00 +00:00
|
|
|
/**
|
|
|
|
* First we will load all of this project's JavaScript dependencies which
|
|
|
|
* includes Vue and other libraries. It is a great starting point when
|
|
|
|
* building robust, powerful web applications using Vue and Laravel.
|
|
|
|
*/
|
|
|
|
|
2020-05-01 04:42:19 +00:00
|
|
|
require('chart.js');
|
2020-04-26 04:09:32 +00:00
|
|
|
require('./bootstrap');
|
2020-04-29 02:20:00 +00:00
|
|
|
|
2020-05-22 02:49:16 +00:00
|
|
|
import flatpickr from "flatpickr";
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
flatpickr("#appointmentDateTime", {
|
|
|
|
enableTime: true,
|
|
|
|
dateFormat: "Y-m-d H:i",
|
|
|
|
static: false
|
|
|
|
});
|
|
|
|
|
2020-06-26 23:32:33 +00:00
|
|
|
$("#banAccountTrigger").on("click", function(event){
|
|
|
|
|
|
|
|
$("#banAccountModal").modal('show');
|
|
|
|
|
|
|
|
});
|
|
|
|
|
|
|
|
$("#durationDropdown").dropdown();
|
|
|
|
|
|
|
|
$(".dropdown-menu a").on("click", function(e){
|
|
|
|
|
|
|
|
$(".duration-btn").text(this.innerHTML);
|
|
|
|
$("#operator").val(this.innerHTML);
|
|
|
|
|
|
|
|
});
|
|
|
|
|
|
|
|
$("#banAccountButton").on("click", function(){
|
|
|
|
$("#banAccountForm").submit();
|
|
|
|
});
|
|
|
|
|
|
|
|
$("#comment").keyup(function(){
|
|
|
|
$("#charcount").text($("#comment").val().length);
|
|
|
|
});
|
|
|
|
|
|
|
|
$("#submitComment").on('click', function(){
|
|
|
|
$("#newComment").submit();
|
|
|
|
});
|
2020-10-03 20:36:35 +00:00
|
|
|
|
|
|
|
$("#jointype").bootstrapToggle();
|