main
parent
2250c7f047
commit
b9d34750f9
|
|
@ -27,10 +27,9 @@ class VerifyNeedPayContinue extends Command
|
||||||
*/
|
*/
|
||||||
public function handle()
|
public function handle()
|
||||||
{
|
{
|
||||||
//
|
|
||||||
Oldmen::where('live_in', Oldmen::STATUS_LIVE)
|
Oldmen::where('live_in', Oldmen::STATUS_LIVE)
|
||||||
->where('need_pay', Oldmen::PAY_NORMAL)
|
->where('need_pay', Oldmen::PAY_NORMAL)
|
||||||
->whereDate('avliable_at', Carbon::now()->subDays(settings()->get('live_continue_day', 0)))->update([
|
->whereDate('avliable_at', Carbon::now()->addDays(settings()->get('live_continue_day', 0)))->update([
|
||||||
'need_pay' => Oldmen::PAY_NOTICE
|
'need_pay' => Oldmen::PAY_NOTICE
|
||||||
]);
|
]);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -19,6 +19,7 @@ class PrintController extends Controller
|
||||||
$bigTotal = '';
|
$bigTotal = '';
|
||||||
$adminName = '';
|
$adminName = '';
|
||||||
$timeZone = '';
|
$timeZone = '';
|
||||||
|
$idsn = '';
|
||||||
|
|
||||||
$flow = ConstFlow::find($request->input('id', 0));
|
$flow = ConstFlow::find($request->input('id', 0));
|
||||||
if($flow){
|
if($flow){
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue