Barcode Scanning
Maintained by
Jez H, Catalyst IT, Manoj Solanki, Garth Williamson, Ionut Marchis, Dez Glidden, Kevin Moore
Barcode scanning for Physical Assignment Submissions
Comments
Comments are no longer open for new posts. Existing comments remain available to read.
This plugins "Submit on time" feature broke for us on Moodle 3.7. The ontime checkbox was not changing the $ontime value so I had to add a manual check for the ontime checkbox in the saveBarcode function that posts the request in amd/src/index.js.
```
function saveBarcode(barcode) {
// Manually set ontime
if ($('.path-local-barcode #id_submitontime') &&
$('.path-local-barcode #id_submitontime').is(':checked')) {
ontime = '1';
} else {
ontime = '0';
}
var uploadUrl = 'service/upload.php?barcode=';
if (link) {
uploadUrl = '../service/upload.php?barcode=';
}
$.ajax({
type: "POST",
```
Glad you like the plugin. We'd (Catalyst IT Europe) would be happy to discuss this use case in extending the plugin's functionality. Why don't you give us a call at our Brighton office https://www.catalyst.net.nz/content/contact-us to discuss it.
Thanks
Dez
Submission type: https://www.screencast.com/t/lpa1kGYEuO8
Front page (printed): https://www.screencast.com/t/H6vbQqhND
Blank pages (printed): https://www.screencast.com/t/WysH2jTp5
Moodle Scanner app: https://www.screencast.com/t/tmTmehrhtMV
Feel free to delete this post if you think it should be put somewhere else. Thanks.