table.table tbody tr th Status td - work_order_scheduler = TradesmenContract.find_by(contract_id: @service_exception.service.work_order.contract_id, tradesmen_id: @service_exception.service.tradesmen_trip.tradesmen_id)&.work_order_scheduler - if work_order_scheduler&.auto_approved_exception and @service_exception.approved? | Auto Approved - else = @service_exception.status.try(:titleize) tr th Check In Time td = @service_exception.service.recent_adjustment&.check_in_time.try(:strftime, '%I:%M %P') |   -   = @service_exception.service.recent_adjustment&.check_in_time.try(:strftime, '%m/%d/%Y') tr th Check Out Time td = @service_exception.service.recent_adjustment&.check_out_time.try(:strftime, '%I:%M %P') |   -   = @service_exception.service.recent_adjustment&.check_out_time.try(:strftime, '%m/%d/%Y') tr th Exception Reasons td = @service_exception.exception_reasons.map{|a| a.titleize }.join(', ') tr th Suppressed By td = @service_exception.suppressed_by.try(:full_name).try(:titleize)