Skip to content

Commit 9a945e5

Browse files
authored
Merge pull request #76 from chechojgb/buttonsLovers
fix: error nombre modelo
2 parents afbf64a + 26487f6 commit 9a945e5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

app/Http/Controllers/BlCuentaCobroController.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
use App\Models\BlCuentaCobro;
66
use App\Models\BlCuentaCobroItem;
77
use App\Models\BLCliente;
8-
use App\Models\BLMarcacion;
8+
use App\Models\BlMarcacion;
99
use App\Models\BLPedido;
1010
use App\Models\BLPedidoItem;
1111
use App\Models\User;
@@ -45,7 +45,7 @@ public function pasarPagados(Request $request)
4545
'cuenta_cobro_id' => $cuenta->id,
4646
'marcacion_id' => $item['marcacion_id'],
4747
]);
48-
BLMarcacion::where('id', $item['marcacion_id'])->update(['pagado' => 1]);
48+
BlMarcacion::where('id', $item['marcacion_id'])->update(['pagado' => 1]);
4949
}
5050
});
5151
return back()->with('success', 'Cuenta de cobro creada y items marcados como pagados.');

0 commit comments

Comments
 (0)