meeting-room-booking-system / mrbs-code

MRBS application code
Other
127 stars 63 forks source link

Query all pending requests #2246

Open jberanek opened 6 years ago

jberanek commented 6 years ago

Hello,

As we wrap the year we have many pending requests that needs to be deleted or cleared from teh database is there a way to delete the requests without send an automatic email notification to the submitter? Thanks

Reported by: mabdelhady

Original Ticket: mrbs/support-requests/1538

jberanek commented 6 years ago

Yes, the best way would be to use the "bulk delete" button on the Report page. You'll need to make sure it is enabled by setting in your config file:

$auth['show_bulk_delete'] = true;

Then login as an admin and go to the Report page. Run a report selecting those "Awaiting approval" and then click the "Delete entries" button. This will delete all those entries that appear in that report.

Original comment by: campbell-m

jberanek commented 6 years ago

Thanks Campbell. This won't send an email notification? Also I don't know what going on with my reports page, when I select Run Report it brings back the number of entries and then a processing status and nothing happens. Please see screenshot attached.

Original comment by: mabdelhady

Attachments: https://sourceforge.net/p/mrbs/support-requests/_discuss/thread/ba458225/c7d1/attachment/Screen%20Shot%202018-06-25%20at%207.29.15%20AM.jpg

jberanek commented 6 years ago

No, this won't send an email notification.

The frozen "processing" message will be caused by an error of some kind. Have a look in your JavaScript console to see if you are getting any JavaScript errors. The other thing to try is to disable JavaScript in your browser and see if you get errors on the page.

Alternatively, upgrade to the latest release ;)

Original comment by: campbell-m