Back to PhocacartOrderView class

Method getDateShipped

public static
getDateShipped
(mixed $common)

Method getDateShipped - Source code

public static function getDateShipped($common)
{
    $dateShipped = '';
    if (isset($common->tracking_date_shipped) && $common->tracking_date_shipped != '' && $common->tracking_date_shipped != '0000-00-00 00:00:00') {
        $date = PhocacartUtils::date($common->tracking_date_shipped);
        $dateShipped = $date;
    }
    return $dateShipped;
}