<?php
/**
 * WooCommerce Siparişler tablosundaki kolonun görünümünü yaratır.
 *
 * @package GurmeHub
 */

defined( 'ABSPATH' ) || exit;

$gcargo_statuses = gcargo_get_shipment_statuses();

?>

<div class="order-column-shipment-data">
	<a style="display: flex;" href="<?php echo esc_url( $shipments[0]->tracking_link ); ?>" target="_blank" title="<?php echo esc_attr( $shipments[0]->tracking_number ); ?>">
		<img src="<?php echo esc_url( $shipments[0]->cargo_company->logo ); ?>" alt="<?php echo esc_attr( $shipments[0]->tracking_number ); ?>">
	</a>
	<div class="shipment-status-type <?php echo esc_attr( $shipments[0]->status ); ?>">
		<span><?php echo esc_html( $gcargo_statuses[ $shipments[0]->status ] ); ?></span>
	</div>
</div>
