File tree Expand file tree Collapse file tree
core/src/Core/Model/Despatch Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -85,6 +85,12 @@ class Shipment
8585 * @var DateTime
8686 */
8787 private $ fecTraslado ;
88+ /**
89+ * Fecha de entrega de bienes al transportista.
90+ *
91+ * @var DateTime
92+ */
93+ private $ fecEntregaBienes ;
8894 /**
8995 * Numero de Contenedor (Motivo Importación).
9096 *
@@ -352,6 +358,26 @@ public function setFecTraslado(?DateTime $fecTraslado): Shipment
352358 return $ this ;
353359 }
354360
361+ /**
362+ * @return DateTime
363+ */
364+ public function getFecEntregaBienes (): ?DateTime
365+ {
366+ return $ this ->fecEntregaBienes ;
367+ }
368+
369+ /**
370+ * @param DateTime $fecEntregaBienes
371+ *
372+ * @return Shipment
373+ */
374+ public function setFecEntregaBienes (?DateTime $ fecEntregaBienes ): Shipment
375+ {
376+ $ this ->fecEntregaBienes = $ fecEntregaBienes ;
377+
378+ return $ this ;
379+ }
380+
355381 /**
356382 * @return string
357383 */
Original file line number Diff line number Diff line change 128128 </cac:PartyLegalEntity >
129129 </cac:CarrierParty >
130130 {% endif %}
131+ {% if envio .fecEntregaBienes %}
132+ <cac:LoadingTransportEvent >
133+ <cbc:OccurrenceDate >{{ envio .fecEntregaBienes | date (' Y-m-d' ) }}</cbc:OccurrenceDate >
134+ </cac:LoadingTransportEvent >
135+ {% endif %}
131136 {% for chofer in envio .choferes %}
132137 <cac:DriverPerson >
133138 <cbc:ID schemeID =" {{ chofer .tipoDoc }}" schemeName =" Documento de Identidad" schemeAgencyName =" PE:SUNAT" schemeURI =" urn:pe:gob:sunat:cpe:see:gem:catalogos:catalogo06" >{{ chofer .nroDoc }}</cbc:ID >
You can’t perform that action at this time.
0 commit comments