| <%= t(:customer) %> |
<%= link_to @appointment&.customer %> |
| <%= t(:vehicle) %> |
<%= link_to@appointment&.vehicle %> |
| <%= t(:primary_phone) %> |
<%= @appointment&.customer&.primary_phone %> |
| <%= t(:technician) %> |
<%= link_to @appointment.user %> |
| <%= t(:status) %> |
<%= @appointment.status %> |
| <%= t(:estimate) %> |
<%= link_to @appointment.estimate unless @appointment.estimate.nil? %> |
| <%= t(:duration) %> |
<%= @appointment.duration %> <%= t(:days) %> |
| <%= t(:estimated_hours) %> |
<%= @appointment.estimated_hours %> |
| <%= t(:description) %> |
<%= simple_format(@appointment.description) %> |
<%= link_to t(:edit), edit_customer_appointment_path(@appointment), class: "icon icon-edit" %>
<%= link_to t(:delete), customer_appointment_path(@appointment), method: :delete, data: { confirm: t(:are_you_sure) }, class: "icon icon-del" %>