bugs fixes

This commit is contained in:
meghamalore
2024-06-11 18:53:35 +05:30
parent c28136ebd8
commit b2f144df17
10 changed files with 56 additions and 26 deletions

View File

@@ -4250,7 +4250,7 @@ a.btn.btn-secondary.dropdown-toggle:active {
color: #ffffff6b;
}
.error {
label.error {
color: #ff0d0d !important;
}

View File

@@ -57955,3 +57955,19 @@ table.dataTable tbody tr {
.dataTables_wrapper {
overflow-x: auto;
}
label.error {
color: red !important;
}
.table_right_options.text-center {
display: flex;
}
.form-check-input:checked[type="checkbox"] {
background-color: #c18a48;
border-color: #c18a48;
background-size: 14px;
}
.btn.btn-color-muted .svg-icon, .btn.btn-color-muted i {
color: #a1a5b7 !important;
}

View File

@@ -1407,3 +1407,7 @@ tr.odd td.dataTables_empty:last-child, tr.even td.dataTables_empty:last-child {
background: #eff2f5;
color: #000;
}
label.error {
color: red !important;
}

View File

@@ -862,7 +862,7 @@ a.btn.btn-sm.fw-bold.btn-primary.btn_add:hover {
input {
color: #5e6278 !important;
}
.error {
label.error {
color: #e70404;
}
div.dataTables_scrollFootInner table.table-bordered tr th:first-child,
@@ -1057,3 +1057,6 @@ table.dataTable tbody tr {
background: #eff2f5;
color: #000;
}
label.error {
color: red !important;
}

View File

@@ -1420,3 +1420,7 @@ table.dataTable tbody tr {
background: #eff2f5;
color: #000;
}
label.error {
color: red !important;
}

View File

@@ -23,11 +23,11 @@
<div class="row">
<div class="col-6">
<label for="">From</label>
<input type="date" name="fromDate" id="fromDate" placeholder="" class="form-control">
<input type="date" name="fromDate" id="fromDate" placeholder="" class="form-control" max="{{ date('Y-m-d', strtotime('today')) }}">
</div>
<div class="col-6">
<label for="">To</label>
<input type="date" name="toDate" id="toDate" class="form-control">
<input type="date" name="toDate" id="toDate" class="form-control" min="{{ date('Y-m-d', strtotime('tomorrow')) }}">
</div>
</div>
<button class="btn btn-light-primary me-2" id="filterBtn">Filter</button>
@@ -66,7 +66,7 @@
<!--begin::Card toolbar-->
<div class="card-toolbar">
<!--begin::Toolbar-->
<div class="d-flex justify-content-end" data-kt-user-table-toolbar="base">
<div class="d-flex justify-content-end" data-kt-usex`r-table-toolbar="base">
<!--begin::Group actions-->
<div class="d-flex justify-content-end align-items-center d-none" data-kt-user-table-toolbar="selected">
<button type="button" class="btn btn-danger" data-kt-user-table-select="delete_selected">Delete Selected</button>

View File

@@ -6,6 +6,9 @@
<link rel="stylesheet" href="https://cdn.rawgit.com/t4t5/sweetalert/v0.2.0/lib/sweet-alert.css">
<style>
label.error {
color: red !important;
}
.required:after {
content: "*";
position: relative;
@@ -821,7 +824,7 @@
</label>
<input type="text" class="form-control form-control-solid"
name="state" value='{{ $lead->state }}' />
name="state" value='{{ $lead->state }}' onkeydown="return /^[a-zA-Z\s]+$/i.test(event.key)"/>
</div>
</div>
@@ -838,7 +841,7 @@
</label>
<input type="text" class="form-control form-control-solid"
name="city" value='{{ $lead->city }}' />
name="city" value='{{ $lead->city }}' onkeydown="return /^[a-zA-Z\s]+$/i.test(event.key)" />
</div>
@@ -851,7 +854,7 @@
</label>
<input type="text" class="form-control form-control-solid"
name="zip_code" value='{{ $lead->zip_code }}' />
name="zip_code" oninput="this.value = this.value.replace(/[^0-9]/g, '').replace(/(\..*)\./g, '$1');" value='{{ $lead->zip_code }}' />
</div>
@@ -866,7 +869,7 @@
</label>
<input type="text" class="form-control form-control-solid"
name="country" value='{{ $lead->country }}' />
name="country" value='{{ $lead->country }}' onkeydown="return /^[a-zA-Z\s]+$/i.test(event.key)" />
</div>
@@ -3998,15 +4001,15 @@
// street: {
// charactersOnly: true // Using the custom validation rule for individual characters
// },
country: {
charactersOnly: true // Using the custom validation rule for individual characters
},
city: {
charactersOnly: true // Using the custom validation rule for individual characters
},
zip_code: {
numbersOnly: true // Using the custom validation rule for individual characters
},
// country: {
// charactersOnly: true // Using the custom validation rule for individual characters
// },
// city: {
// charactersOnly: true // Using the custom validation rule for individual characters
// },
// zip_code: {
// numbersOnly: true // Using the custom validation rule for individual characters
// },
// description: {
// charactersOnly: true // Using the custom validation rule for individual characters
// },
@@ -4033,9 +4036,9 @@
// industry: "Please enter only alphabetical characters",
// total_employees: "Please enter only numbers",
// street: "Please enter only alphabetical characters",
country: "Please enter only alphabetical characters",
city: "Please enter only alphabetical characters",
zip_code: "Please enter only numbers",
// country: "Please enter only alphabetical characters",
// city: "Please enter only alphabetical characters",
// zip_code: "Please enter only numbers",
// description: "Please enter only alphabetical characters",
// website: "Please enter valid url",
// annual_revenue: "Please enter a valid number format",

View File

@@ -511,8 +511,8 @@
</tr>
<tr>
{{-- @dd($lead) --}}
<td>{{ optional($lead->owner)->name ? $lead->owner->name : '--' }}
</td>
<td>{{ $lead->owner ? $lead->owner->name : '--' }}</td>
{{-- <td>{{$lead->product->category->category_name ? $lead->product->category->category_name:'--'}}</td> --}}
<td>{{ $lead->product->category->category_name ?? 'NA' }}</td>
<td class="{{$lead->title ? '': 'd-none' }}">{{ $lead->title }}</td>

View File

@@ -34,9 +34,9 @@
color: #5E6278 !important;
}
.error {
/* .error {
color: red;
}
} */
</style>
@yield('style')
</head>

View File

@@ -349,7 +349,7 @@
</div>
<div class="col-md-6 fv-row">
<label class="required fs-6 fw-semibold mb-2">Reminder</label>
<input class="form-control" type="text" name="reminder"
<input class="form-control" type="date" name="reminder"
autocomplete="off" id="task-reminder">
</div>