芝麻web文件管理V1.00
编辑当前文件:/home/pulsehostuk9/www/invoicer.pulsehost.co.uk/app/Console/Commands/CheckEstimateStatus.php
whereDate('expiry_date', '<', $date)->get(); foreach ($estimates as $estimate) { $estimate->status = Estimate::STATUS_EXPIRED; printf("Estimate %s is EXPIRED \n", $estimate->estimate_number); $estimate->save(); } } }