Rename supplier home screen to home

This commit is contained in:
Deon George 2022-04-02 09:28:43 +11:00
parent d7b5d9a272
commit 7775105da6
3 changed files with 34 additions and 34 deletions

View File

@ -170,7 +170,7 @@ class AdminController extends Controller
*/ */
public function supplier() public function supplier()
{ {
return view('a.supplier.find'); return view('a.supplier.home');
} }
/** /**

View File

@ -63,7 +63,7 @@
$(document).ready(function() { $(document).ready(function() {
$('#name').select2() $('#name').select2()
.on('change',function(item) { .on('change',function(item) {
window.location.href = '{{ url('a/supplier/addedit') }}/'+item.target.value; window.location.href = '{{ url('a/supplier/details') }}/'+item.target.value;
}); });
}); });
</script> </script>