Checking if a booking can be cancelled or not based on three conditions
You can simply assign the if conditions to the canCancel property of the MyBookingModel like so  

mb.canCancel = mb.status != "Cancelled" &amp;&amp; ( deptAdmin || isAdmin );




While we are at the properties of the MyBookingModel: Properties should be named using PascalCase casing.  

canCancel -> CanCancel  and so on.  

and while we are at naming things, why is it MyBookingModel and not just BookingModel ? What does the My buy you ?