Sitemap
Apoorv Choubey

Apoorv Choubey

An enthusiast of all sorts.

Coding Period with LibreHealth — Week 10

2 min readJul 26, 2018
Press enter or click to view image in full size

During this week, I made additional checks in Add Vacation/Holiday feature (PR) involving providers and added the ability to make a holiday event by a specific facility. Before this, all added holiday events had the same selected facility but, now a user can make holiday events at multiple facilities. I also added the ability to delete multiple holiday events by selecting corresponding date and facility. This also added a choice between adding holidays and deleting holidays. Its latest interface is shown below:

Press enter or click to view image in full size
Add Vacation/Holiday dialog box

I continued work on events Drag-Resize-Copy feature (PR) and added the ability to copy-paste events. Well, it’s more of a drag-to-copy (by pressing a key and then dragging) and drop-to-paste which drags the clone event containing all data of original event and uses FullCalendar’s drop callback which gets new data (position specific) after clone is dropped onto Calendar. Using AJAX, data is passed to PHP file which creates a new event having both orignal and new data — a copy of original event at a new position.

Get Apoorv Choubey’s stories in your inbox

Join Medium for free to get updates from this writer.

The Repeat Parameters in Calendar Admin (PR) lacked ability to change repeat parameters in event panel when category was changed. This ability was added by using AJAX to pass category id, of category to which it was changed, to a PHP file and getting default values of parameters, corresponding to selected category, from that file using a SQL SELECT query. Some other issues were also addressed.

I changed appointment slot text display in Appointment’s tooltip display (PR) and made a PR to change the reference name in facility edit’s iziModal to prevent updater from opening when facility edit’s iziModal was closed.

That’s all for the tenth week. Until next time then!

--

--