Add new code on change card reader to Iris MyKad reader

This commit is contained in:
afiq.hamzah
2022-10-20 11:11:15 +08:00
parent 6fcf201d12
commit 34331e09fc
6 changed files with 585 additions and 157 deletions
+6 -2
View File
@@ -898,11 +898,15 @@
}
}
</script>
@push('additional_scripts')
<script>
// mycard-read endpoint initialization
let mykad_reader_endpoint = "{{ config('mykad-reader.endpoint') }}";
let wakil_caricustomer_endpoint = "{{ route('wakil.caricustomer') }}";
</script>
<script src="{{ asset('js/mykad-reader.js') }}"></script>
<script src="{{ asset('js/iris-mykad-websocket-client-api.js') }}"></script>
<script src="{{ asset('js/mykad-reader-customer.js') }}"></script>
@endpush
@endsection