<?php //phpcs:ignoreFile
/**
 * GCargo Dağıtıma Çıktı Durumu E-Posta şablonu
 */

if ( ! defined( 'ABSPATH' ) ) {
	exit;
}

/*
 * @hooked WC_Emails::email_header() Output the email header
 */
do_action( 'woocommerce_email_header', $email_heading, $email ); ?>

<?php /* translators: %s: Customer first name */ ?>
<p><?php printf( esc_html__( 'Hi %s,', 'woocommerce' ), esc_html( $order->get_billing_first_name() ) ); ?></p>

<p>
<?php printf( esc_html__( 'Your order is out for delivery by %s and is expected to reach you today.', 'kargo-entegrator' ), esc_html( $shipment_data['cargo_company']['title'] ) ); ?>
</p>
<p>
<span><strong><?php esc_html_e( 'Tracking No:', 'kargo-entegrator' ); ?></strong> <?php echo esc_html( $shipment_data['tracking_number'] ); ?></span><br>
	<span><strong><?php esc_html_e( 'Tracking Link:', 'kargo-entegrator' ); ?></strong> <a href="<?php echo esc_url( $shipment_data['tracking_link'] ); ?>"><?php echo esc_url( $shipment_data['tracking_link'] ); ?></a></span><br>
</p>

<p>
	<?php printf( esc_html__( 'View order <a href="%1$s">%1$s</a>', 'kargo-entegrator' ), esc_url( $order->get_view_order_url() ) ); ?>
</p>

<?php

/**
 * Show user-defined additional content - this is set in each email's settings.
 */
if ( $additional_content ) {
	echo wp_kses_post( wpautop( wptexturize( $additional_content ) ) );
}
?>

<?php

/*
 * @hooked WC_Emails::email_footer() Output the email footer
 */
do_action( 'woocommerce_email_footer', $email );
