1- it’s about remove the coulmn from db and his code in front and back
2- it’s about return date function of borrowing
So will display the days and hours that customer is able to borrow the book, by days maximum 3 days to borrowing book such as 1,2 and 3 only and if he want to by hours will be no more then 23 hours, that’s mean 1,2,5 and 17 hours etc...
And if the admin accept him there will be timing down of the card in borrowed page will Calculate what he select if he select 2 days will Calculate 72 if he select 3 hours will Calculate only 3 hours and after timing finish the status of borrowing will change to borrowing finished.
In the admin side will has timing function and return button when the timing of borrowing finished the admin can click on return button to insert the return date book that the user selected in start db.
Also problem when the user send request to borrowing the copies Directly decrease in db and this is big problem i think must first admin accept the borrowing and after that will dicrease and when the borrowing finished the copies of this book will back to db with returning borrowing date.
3- it’s about the errors, i have some errors