{{#with data}}

Listing Information for MLS# {{sourceNumber}}

{{#with listingCourtesyOf}}

{{#if status.showListingOffice}} Listing Broker:   {{~#if listingOffice.name~}} {{listingOffice.name}} {{~else if listingAgent.agentDetails.office.name~}} {{ listingAgent.agentDetails.office.name}} {{~else if listingAgent.agentDetails.brokerage~}} {{listingAgent.agentDetails.brokerage}} {{~/if}} {{/if}}
{{~#if listingOffice~}} {{#if status.showListingOfficeStreetAddress}}{{listingOffice.address.fullStreetAddress}}{{/if}} {{~#and status.showListingOfficeStreetAddress status.showListingOfficeCityStateZip listingOffice.address.fullStreetAddress listingOffice.address.cityStateZip }}, {{/and~}} {{~#if status.showListingOfficeCityStateZip}}{{listingOffice.address.cityStateZip}}{{/if}} {{#and status.showListingOfficePhone listingOffice.phone}} {{~#or status.showListingOfficeCityStateZip status.showListingOfficeStreetAddress }}
{{~/or~}} {{listingOffice.phone.withParentheses}} {{/and}} {{~else if listingAgent.agentDetails.office~}} {{#if status.showListingOfficeStreetAddress}}{{listingAgent.agetDetails.office.address.fullStreetAddress}}{{/if}} {{~#and status.showListingOfficeStreetAddress status.showListingOfficeCityStateZip listingAgent.address.fullStreetAddress listingAgent.address.cityStateZip }}, {{/and~}} {{~#if status.showListingOfficeCityStateZip}}{{listingAgent.agetDetails.office.address.cityStateZip}}{{/if}} {{#and status.showListingOfficePhone listingAgent.agetDetails.office.phone}} {{~#or status.showListingOfficeCityStateZip status.showListingOfficeStreetAddress }}
{{~/or~}} {{listingAgent.agetDetails.office.phone.withParentheses}} {{/and}} {{/if}}

{{#if status.showListingAgent}}

Listing Agent:  {{listingAgent.name.full~}} {{~#and status.showListingAgentLicense listingAgent.agentDetails.license}} {{listingAgent.agentDetails.license}}{{/and~}}

{{/if}} {{#if status.showLastChanged}}

Last Changed:  {{@root/data/modificationTimestamp}}

{{/if}} {{/with}}
{{#if listingCourtesyOf.status.showDisclaimer}}

{{{listingCourtesyOf.disclaimer}}}

{{/if}}
{{/with}}