auto-update

This commit is contained in:
RafficMohammed
2023-02-01 16:44:00 +05:30
parent 9dd3f53910
commit d468d309aa
16 changed files with 152 additions and 70 deletions

View File

@@ -32,7 +32,7 @@ class="nav-link active"
<!-- content -->
@section('content')
<!-- open a form -->
{!! Form::open(['action'=>'Agent\helpdesk\OrganizationController@store','method'=>'post']) !!}
{!! Form::open(['route' => 'organizations.store','method'=>'post']) !!}
@if(Session::has('errors'))
<?php //dd($errors); ?>

View File

@@ -41,12 +41,24 @@ foreach($segments as $seg){
},
"aaSorting": sort,
"columnDefs": [
{ "searchable": false, "targets": [6,7] },
{"defaultContent": "-",
"targets": "_all"},
{ "searchable": true, "targets": [6,7] },
{ "visible": last, "targets": 6 },
{"visible": create, "targets":7},
],
"columns":[
{data: "check_box"},
{data: "ticket_number"},
{data: "ticket_number"},
{data: "ticket_number"},
{data: "ticket_number"},
{data: "ticket_number"},
{data: "ticket_number"},
{data: "ticket_number"},
],
"fnCreatedRow": function (nRow, aData, iDataIndex) {
var str = aData[3];
var str = aData['ticket_number'];
if (str.search("#000") == -1) {
$("td", nRow).css({"background-color": "#F3F3F3", "font-weight": "600", "border-bottom": "solid 0.5px #ddd", "border-right": "solid 0.5px #F3F3F3"});
$("td", nRow).mouseenter(function () {