Skip to content

Wrong value for "custobar_created_at" sales order #2

@imarmo

Description

@imarmo

Hi,

This getCreatedAtDate dosen't exist and always returns null.
formatDate returns current date and not order created at date.

'custobar_created_at' => $this->formatDate((string)$entity->getCreatedAtDate()),

getCreatedAt should be used instead
'custobar_created_at' => $this->formatDate((string)$entity->getCreatedAt()),

Thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions