{{#compare deliver_status "COMPLETED" operator="==="}}   {{/compare}} {{#compare deliver_status "DELIVERED" operator="==="}}   {{/compare}} {{#compare deliver_status "COMPLETED - No SprintTag" operator="==="}}   {{/compare}} {{#compare deliver_status "DELIVERED - No SprintTag" operator="==="}}   {{/compare}} {{#compare deliver_status "PICKED_UP" operator="==="}} {{/compare}} {{#compare deliver_status "" operator="==="}}   {{/compare}} {{#compare deliver_status "WAITING_PICKUP" operator="==="}} {{/compare}} {{#compare deliver_status "INVALID_DIRECTIONS" operator="==="}} {{/compare}} {{#compare deliver_status "PROCESSING" operator="==="}} {{/compare}} {{#compare deliver_status "IN_TRANSIT" operator="==="}} {{/compare}} {{#compare deliver_status "UNDELIVERABLE" operator="==="}}   {{/compare}} {{#compare deliver_status "CANCELLED" operator="==="}}   {{/compare}} {{#if headers.type}} {{action_type}} {{else}} {{action_type}} {{/if}} {{#compare search_data_type "loadlist" operator="==="}} {{#if headers.driver}} {{driver.first_name}} {{driver.last_name}} {{driver.details.first_name}} {{driver.details.last_name}} {{else}} {{driver.first_name}} {{driver.last_name}} {{driver.details.first_name}} {{driver.details.last_name}} {{/if}} {{/compare}} {{#compare search_data_type "search" operator="==="}} {{#if headers.driver}} {{driver_full_name}} {{driver.details.first_name}} {{driver.details.last_name}} {{else}} {{driver_full_name}} {{driver.details.first_name}} {{driver.details.last_name}} {{/if}} {{/compare}} {{#if headers.pkg}} {{package_id}} {{else}} {{package_id}} {{/if}} {{#if headers.sprint}} {{sprint_id}} {{else}} {{sprint_id}} {{/if}} {{#if headers.name}} {{full_name}} {{else}} {{full_name}} {{/if}} {{#if headers.address}}
{{address_1}} {{address_2}} {{city}}, {{state}} {{postal_code}}
{{else}}
{{address_1}} {{address_2}} {{city}}, {{state}} {{postal_code}}
{{/if}} {{#if headers.zone}}
{{zone_number}}
{{else}}
{{zone_number}}
{{/if}} {{#if headers.log}}
{{delivery_time}}
{{else}}
{{delivery_time}}
{{/if}}
{{deliver_status}}
{{#compare device_id "IPOD" operator="==="}}
{{/compare}} {{#compare device_id "IPAD" operator="==="}}
{{/compare}} {{#compare device_id "IPHONE" operator="==="}}
{{/compare}} {{#compare device_id "ANDROIDPHONE" operator="==="}}
{{/compare}} {{#compare device_id "ANROIDTABLET" operator="==="}}
{{/compare}} {{#compare geocode_failure 1 operator="==="}} {{/compare}} {{#compare geocode_failure 0 operator="==="}}   {{/compare}} {{#if headers.action}} ACTION
{{else}} ACTION
{{/if}}