1
0
mirror of https://github.com/devcode-it/openstamanager.git synced 2025-01-10 14:44:04 +01:00
openstamanager/update/2_5_2.php

11 lines
293 B
PHP
Raw Normal View History

2024-05-28 09:21:53 +02:00
<?php
include_once __DIR__.'/core.php';
use Modules\PrimaNota\Mastrino;
2024-05-29 09:25:33 +02:00
$mastrini = Mastrino::where('primanota', 1)->where('id_scadenza', '!=', null)->where('iddocumento', '!=', null)->groupBy('idmastrino')->get();
2024-05-28 09:21:53 +02:00
foreach ($mastrini as $mastrino) {
$mastrino->aggiornaScadenzario();
}