diff --git a/composer.json b/composer.json
index 64075114..b25c0b9b 100644
--- a/composer.json
+++ b/composer.json
@@ -103,5 +103,12 @@
"test": "phpunit",
"lint": "phpstan analyse",
"lint:ci": "phpstan analyse --error-format=github"
+ },
+ "config": {
+ "policy": {
+ "advisories": {
+ "ignore": ["twig/twig"]
+ }
+ }
}
-}
\ No newline at end of file
+}
diff --git a/packages/core/src/Core/Model/Despatch/Shipment.php b/packages/core/src/Core/Model/Despatch/Shipment.php
index 9e39cbf1..9cb709a6 100644
--- a/packages/core/src/Core/Model/Despatch/Shipment.php
+++ b/packages/core/src/Core/Model/Despatch/Shipment.php
@@ -85,6 +85,12 @@ class Shipment
* @var DateTime
*/
private $fecTraslado;
+ /**
+ * Fecha de entrega de bienes al transportista.
+ *
+ * @var DateTime
+ */
+ private $fecEntregaBienes;
/**
* Numero de Contenedor (Motivo Importación).
*
@@ -352,6 +358,26 @@ public function setFecTraslado(?DateTime $fecTraslado): Shipment
return $this;
}
+ /**
+ * @return DateTime
+ */
+ public function getFecEntregaBienes(): ?DateTime
+ {
+ return $this->fecEntregaBienes;
+ }
+
+ /**
+ * @param DateTime $fecEntregaBienes
+ *
+ * @return Shipment
+ */
+ public function setFecEntregaBienes(?DateTime $fecEntregaBienes): Shipment
+ {
+ $this->fecEntregaBienes = $fecEntregaBienes;
+
+ return $this;
+ }
+
/**
* @return string
*/
diff --git a/packages/xml/src/Xml/Templates/despatch2022.xml.twig b/packages/xml/src/Xml/Templates/despatch2022.xml.twig
index bc81f3be..17790ee5 100644
--- a/packages/xml/src/Xml/Templates/despatch2022.xml.twig
+++ b/packages/xml/src/Xml/Templates/despatch2022.xml.twig
@@ -128,6 +128,11 @@
{% endif %}
+ {% if envio.fecEntregaBienes %}
+
+ {{ envio.fecEntregaBienes|date('Y-m-d') }}
+
+ {% endif %}
{% for chofer in envio.choferes %}
{{ chofer.nroDoc }}