{load_language_text section="withdrawal"} {load_language_text section="orders" name="orders"} {load_language_text section="admin_general" name="admin_general"} {load_language_text section="buttons" name="buttons"} {block name="admin_withdrawal_details"} {if $content_data.withdrawal->get_withdrawal_id() > 0} {block name="admin_withdrawal_details_wrapper"}
{block name="admin_withdrawal_details_content"}
{block name="admin_withdrawal_details_customer"}
{block name="admin_withdrawal_details_customer_heading"}
{if $content_data.customer_details_link} {/if}
{/block} {block name="admin_withdrawal_details_customer_content"}
{block name="admin_withdrawal_details_customer_address_label"} {$admin_general.CATEGORY_ADDRESS} {/block}
{block name="admin_withdrawal_details_customer_address_content"} {$content_data.withdrawal->get_customer_gender()}
{$content_data.withdrawal->get_customer_name()}
{$content_data.withdrawal->get_customer_street_address()}
{$content_data.withdrawal->get_customer_postcode()} {$content_data.withdrawal->get_customer_city()}
{$content_data.withdrawal->get_customer_city()}
{$content_data.withdrawal->get_customer_country()}

{/block}
{block name="admin_withdrawal_details_customer_email_label"} {$admin_general.ENTRY_EMAIL_ADDRESS} {/block}
{block name="admin_withdrawal_details_customer_email_content"} {$content_data.withdrawal->get_customer_email()} {/block}
{/block}
{/block} {block name="admin_withdrawal_details_order"}
{block name="admin_withdrawal_details_order_heading"}
{if $content_data.order_details_link} {/if}
{/block} {block name="admin_withdrawal_details_order_content"}
{block name="admin_withdrawal_details_order_content_ordered_on"}
{block name="admin_withdrawal_details_order_content_ordered_on_label"} {$txt.ordered_on_short}: {/block}
{block name="admin_withdrawal_details_order_content_ordered_on_content"} {if $content_data.withdrawal->get_order_date() == "1970-01-01 00:00:00"} - {else} {$content_data.withdrawal->get_order_date_formatted()} {/if} {/block}
{/block} {block name="admin_withdrawal_details_order_content_delivered_on"}
{block name="admin_withdrawal_details_order_content_delivered_on_label"} {$txt.delivered_on_short}: {/block}
{block name="admin_withdrawal_details_order_content_delivered_on_content"} {if $content_data.withdrawal->get_delivery_date() == "1970-01-01 00:00:00"} - {else} {$content_data.withdrawal->get_delivery_date_formatted()} {/if} {/block}
{/block} {block name="admin_withdrawal_details_order_content_withdrawal_data"}
{block name="admin_withdrawal_details_order_content_withdrawal_data_label"} {$txt.withdrawal_date}: {/block}
{block name="admin_withdrawal_details_order_content_withdrawal_data_content"} {if $content_data.withdrawal->get_withdrawal_date() == "1970-01-01 00:00:00"} - {else} {$content_data.withdrawal->get_withdrawal_date_formatted()} {/if} ({$content_data.withdrawal->get_date_created_formatted()}) {/block}
{/block} {block name="admin_withdrawal_details_order_content_order_id"}
{block name="admin_withdrawal_details_order_content_order_id_label"} {$txt.order_id}: {/block}
{block name="admin_withdrawal_details_order_content_order_id_input"} {/block}
{/block} {block name="admin_withdrawal_details_order_buttons"}
{block name="admin_withdrawal_details_order_buttons_submit"} {$buttons.save} {/block} {block name="admin_withdrawal_details_order_buttons_confirm_message"} {/block}
{/block}
{/block}
{/block}
{/block} {block name="admin_withdrawal_details_withdrawal"}
{block name="admin_withdrawal_details_withdrawal_heading"}
{/block} {block name="admin_withdrawal_details_withdrawal_content"}
{$content_data.withdrawal->get_withdrawal_content()|escape:html|nl2br}
{/block}
{/block} {block name="admin_withdrawal_details_created_by"}
{if $content_data.withdrawal->get_created_by_admin()} {$txt.created_by_admin} {else} {$txt.created_by_customer} {/if}
{/block} {block name="admin_withdrawal_details_back_button"}
{$buttons.back}
{/block}
{/block} {else} {block name="admin_withdrawal_details_invalid_id"}

{$txt.invalid_withdrawal_id}


{$buttons.back} {/block} {/if} {/block}