@@ 707-709 (lines=3) @@ | ||
704 | } |
|
705 | // si existe una o más referencias se normalizan |
|
706 | if (!empty($datos['Referencia'])) { |
|
707 | if (!isset($datos['Referencia'][0])) { |
|
708 | $datos['Referencia'] = [$datos['Referencia']]; |
|
709 | } |
|
710 | $NroLinRef = 1; |
|
711 | foreach ($datos['Referencia'] as &$r) { |
|
712 | $r = array_merge([ |
|
@@ 1740-1742 (lines=3) @@ | ||
1737 | }*/ |
|
1738 | // ajustar las referencias si existen |
|
1739 | if (!empty($datos['Referencia'])) { |
|
1740 | if (!isset($datos['Referencia'][0])) { |
|
1741 | $datos['Referencia'] = [$datos['Referencia']]; |
|
1742 | } |
|
1743 | foreach ($datos['Referencia'] as &$r) { |
|
1744 | foreach (['TpoDocRef', 'FolioRef', 'FchRef'] as $c) { |
|
1745 | if (isset($r[$c])) { |