Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Hello, how to write the date of invoice instead of "completed" ? thank you
$order->content['order_number'] = array(
'#markup' => t('Facture N° : @id du @date', array('@id' => $order->order_number, '@date' => date('d/m/Y', $order->completed))),
);
$order->content['order_id'] = array(
'#markup' => t('Commande N° : @id du @date', array('@id' => $order->order_id, '@date' => date('d/m/Y', $order->created))),
);
$order->content['invoice_logo'] = array(
'#value' => variable_get('commerce_billy_pdf_logo', 'misc/druplicon.png'),
);
Comment | File | Size | Author |
---|
Comments
Comment #1
zenimagine CreditAttribution: zenimagine commentedComment #2
HazaComment #3
zenimagine CreditAttribution: zenimagine commentedComment #4
zenimagine CreditAttribution: zenimagine commented