Add additional feature for registering customers with mykad reader

This commit is contained in:
afiq.hamzah
2022-08-10 12:41:43 +08:00
parent 2a08cac24d
commit 7a32a7e551
3 changed files with 113 additions and 0 deletions
@@ -894,4 +894,11 @@
}
}
</script>
<script>
// mycard-scanner endpoint initialization
let mykad_reader_endpoint = "{{ config('mykad-reader.endpoint') }}";
let wakil_caricustomer_endpoint = "{{ route('wakil.caricustomer') }}";
</script>
<script src="{{ asset('js/mycard-reader.js') }}"></script>
@endsection