{** * This program is free software: you can redistribute it and/or modify it under the * terms of the GNU General Public License as published by the Free Software Foundation, * either version 3 of the License, or (at your option) any later version. * * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; * without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. * See the GNU General Public License for more details. * * You should have received a copy of the GNU General Public License along with this program. * If not, see https://www.gnu.org/licenses/. *}

{l s='Returns' mod='correosoficial'}

{l s='Number of packages return' mod='correosoficial'}
{l s='Return data' mod='correosoficial'}
{if $exist_return}

{l s='Return codes' mod='correosoficial'}

{/if} {$num_bulto = 1}
{foreach from=$array_packages_return item=$package} {l s='Package' mod='correosoficial'} {$num_bulto}: {$package['shipping_number']}
{$num_bulto = $num_bulto + 1} {/foreach}

{l s='Status' mod='correosoficial'}:
{$return_status}

{* *}
{l s='Return pickup data' mod='correosoficial'}
{if $saved_return_pickup}

{l s='Return pickup code' mod='correosoficial'}:
{$saved_return_pickup[0]->pickup_number}

{/if}

{l s='status' mod='correosoficial'}:
{$pickup_return_data_response['status']}

{l s='Pickup data' mod='correosoficial'}:
{$pickup_return_data_response['pickup_date']} {if isset($pickup_return_data_response['pickup_from_hour'])} {$pickup_return_data_response['pickup_from_hour']} {/if} {if isset($pickup_return_data_response['pickup_to_hour'])} {$pickup_return_data_response['pickup_to_hour']} {/if}
{$pickup_return_data_response['pickup_address']}
{$pickup_return_data_response['pickup_city']}
{$pickup_return_data_response['pickup_cp']}

{for $bulto=1 to $bultos_return}
{l s='Package return' mod='correosoficial'} {$bulto}
{l s='Weight' mod='correosoficial'} (Kg)
{l s='Long' mod='correosoficial'} (cm)
{l s='Width' mod='correosoficial'} (cm)
{l s='Height' mod='correosoficial'} (cm)

{l s='Customs related data' mod='correosoficial'}

{l s='Customs default description' mod='correosoficial'}
{l s='Tariff' mod='correosoficial'}
{l s='Description' mod='correosoficial'}
{l s='Weight' mod='correosoficial'} (Kg)
{l s='Units' mod='correosoficial'}

{l s='Max. 5 Descriptions' mod='correosoficial'}

{/for}
{l s='Generate return pickup' mod='correosoficial'}
{l s='Pickup date' mod='correosoficial'}
{l s='From' mod='correosoficial'}
{if $default_sender} {/if}
{l s='To' mod='correosoficial'}
{if $default_sender} {/if}
5}disabled{/if}>
{l s='Request labelling from Correos' mod='correosoficial'}
{l s='Package size' mod='correosoficial'}
{if isset($pais)} {/if}