mirror of
https://github.com/devcode-it/openstamanager.git
synced 2025-02-18 12:30:35 +01:00
12 lines
292 B
PHP
12 lines
292 B
PHP
<?php
|
|
|
|
include_once __DIR__.'/core.php';
|
|
|
|
use Modules\PrimaNota\Mastrino;
|
|
|
|
$mastrini = Mastrino::where('primanota', 1)->where('id_scadenza','!=', null)->where('iddocumento','!=', null)->groupBy('idmastrino')->get();
|
|
foreach ($mastrini as $mastrino) {
|
|
$mastrino->aggiornaScadenzario();
|
|
}
|
|
|