Add user roles management page and update user permissions handling
- Created a new `user_roles.php` file for managing user roles and permissions. - Implemented pagination, filtering, and sorting for user roles. - Updated `users.php` to use the new authorization structure for permissions. - Changed API version from v1 to v2 in `users.php` for user data retrieval. - Modified `webhook_mollie.php` to include account hierarchy in license creation. - Refactored invoice generation and email sending logic in `webhook_mollie.php`. - Introduced a new `webhook_paypal.php` file to handle PayPal webhook notifications. - Implemented payment status updates and license creation logic in `webhook_paypal.php`. - Added helper functions for PayPal webhook signature verification and access token retrieval.
This commit is contained in:
@@ -124,7 +124,7 @@ async function connectDevice() {
|
||||
// Log connection failure details
|
||||
await logCommunication(`Serial connection failed: ${error.message || 'Unknown error'}`, 'disconnected');
|
||||
|
||||
if (openPort === 1){
|
||||
if (openPort = 1){
|
||||
closePort();
|
||||
console.log("Closing port");
|
||||
alert("System is still trying to close the serial port. If this message continues to come up please refresh this page.");
|
||||
|
||||
Reference in New Issue
Block a user