fix renovacion
This commit is contained in:
@@ -277,7 +277,7 @@ class ShowPlanes extends Component
|
||||
{
|
||||
$id = $this->id_cuentaVer;
|
||||
|
||||
$historial = Historial_cuenta::where('cuenta_id', $id)->get();
|
||||
$historial = Historial_cuenta::where('cuenta_id', $id)->first();
|
||||
|
||||
Historiale::where('id', $historial->historiale_id)->update([
|
||||
'fecha_final' => date('Y-m-d', strtotime(strval($this->fecha_final_renovar))),
|
||||
|
||||
Reference in New Issue
Block a user