Update Module City
This commit is contained in:
parent
c4dd3a03cc
commit
645299a3f0
@ -50,10 +50,8 @@
|
|||||||
|
|
||||||
$countries = Country::all();
|
$countries = Country::all();
|
||||||
|
|
||||||
$_table = $dataTable->render($this->module->alias . '::city.index', compact('countries'));
|
return $dataTable->render($this->module->alias . '::city.index', compact('countries'));
|
||||||
if(!empty($_table->data)){
|
|
||||||
return $_table;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -64,7 +64,7 @@
|
|||||||
<span class="required">Area Code</span>
|
<span class="required">Area Code</span>
|
||||||
</label>
|
</label>
|
||||||
<!--end::Label-->
|
<!--end::Label-->
|
||||||
<input type="number" id="{{$route[0].'_'.$route[1]}}_code" minlength="2" maxlength="2" class="form-control form-control-solid" placeholder="Enter Area Code" name="code"/>
|
<input type="string" id="{{$route[0].'_'.$route[1]}}_code" class="form-control form-control-solid" placeholder="Enter Area Code" name="code"/>
|
||||||
</div>
|
</div>
|
||||||
<!--end::Input group-->
|
<!--end::Input group-->
|
||||||
|
|
||||||
|
@ -136,6 +136,10 @@
|
|||||||
parents: "#{{$route[0].'_'.$route[1]}}_country_id",
|
parents: "#{{$route[0].'_'.$route[1]}}_country_id",
|
||||||
url: "/master/province"
|
url: "/master/province"
|
||||||
});
|
});
|
||||||
|
|
||||||
|
Inputmask({
|
||||||
|
"mask" : "99.99"
|
||||||
|
}).mask("#{{$route[0].'_'.$route[1]}}_code");
|
||||||
});
|
});
|
||||||
</script>
|
</script>
|
||||||
@endpush
|
@endpush
|
||||||
|
Loading…
Reference in New Issue
Block a user