Compare commits

..

No commits in common. "11ec71cd7eb318697d0b3caf7d726afaf1bbe93a" and "7b94e05d0a48573868393014be752b51f0887b39" have entirely different histories.

3 changed files with 15 additions and 15 deletions

View File

@ -41,7 +41,7 @@ class GrupoDeCompra extends Model
}
//Asume que los productos están gruadados en orden de fila
public function obtenerTemplateDeFilasVacias(){
private function obtenerTemplateDeFilasVacias(){
$productosFilaID = Producto::productosFilaID();
$productosIDNombre = Producto::productosIDNombre();
$num_fila = 1;
@ -64,7 +64,7 @@ class GrupoDeCompra extends Model
$registros = $csv->getRecords();
foreach($registros as $key => $registro)
if ($registro[0] == 'T') return $key;
if ($registro[0] == 'T') return $key+1;
throw new Exception('No hay bono de transporte');
}

24
composer.lock generated
View File

@ -773,16 +773,16 @@
},
{
"name": "guzzlehttp/psr7",
"version": "2.4.4",
"version": "2.4.3",
"source": {
"type": "git",
"url": "https://github.com/guzzle/psr7.git",
"reference": "3cf1b6d4f0c820a2cf8bcaec39fc698f3443b5cf"
"reference": "67c26b443f348a51926030c83481b85718457d3d"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/guzzle/psr7/zipball/3cf1b6d4f0c820a2cf8bcaec39fc698f3443b5cf",
"reference": "3cf1b6d4f0c820a2cf8bcaec39fc698f3443b5cf",
"url": "https://api.github.com/repos/guzzle/psr7/zipball/67c26b443f348a51926030c83481b85718457d3d",
"reference": "67c26b443f348a51926030c83481b85718457d3d",
"shasum": ""
},
"require": {
@ -872,7 +872,7 @@
],
"support": {
"issues": "https://github.com/guzzle/psr7/issues",
"source": "https://github.com/guzzle/psr7/tree/2.4.4"
"source": "https://github.com/guzzle/psr7/tree/2.4.3"
},
"funding": [
{
@ -888,7 +888,7 @@
"type": "tidelift"
}
],
"time": "2023-03-09T13:19:02+00:00"
"time": "2022-10-26T14:07:24+00:00"
},
{
"name": "laravel/framework",
@ -1748,16 +1748,16 @@
},
{
"name": "myclabs/deep-copy",
"version": "1.11.1",
"version": "1.11.0",
"source": {
"type": "git",
"url": "https://github.com/myclabs/DeepCopy.git",
"reference": "7284c22080590fb39f2ffa3e9057f10a4ddd0e0c"
"reference": "14daed4296fae74d9e3201d2c4925d1acb7aa614"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/myclabs/DeepCopy/zipball/7284c22080590fb39f2ffa3e9057f10a4ddd0e0c",
"reference": "7284c22080590fb39f2ffa3e9057f10a4ddd0e0c",
"url": "https://api.github.com/repos/myclabs/DeepCopy/zipball/14daed4296fae74d9e3201d2c4925d1acb7aa614",
"reference": "14daed4296fae74d9e3201d2c4925d1acb7aa614",
"shasum": ""
},
"require": {
@ -1795,7 +1795,7 @@
],
"support": {
"issues": "https://github.com/myclabs/DeepCopy/issues",
"source": "https://github.com/myclabs/DeepCopy/tree/1.11.1"
"source": "https://github.com/myclabs/DeepCopy/tree/1.11.0"
},
"funding": [
{
@ -1803,7 +1803,7 @@
"type": "tidelift"
}
],
"time": "2023-03-08T13:26:56+00:00"
"time": "2022-03-03T13:19:32+00:00"
},
{
"name": "nesbot/carbon",

View File

@ -35,7 +35,7 @@ services:
networks:
- app-network
ports:
- 33060:3306
- ${DB_PORT_EXPOSED}:3306
nginx:
image: nginx:alpine