diff --git a/app/Console/Commands/VerifyNeedPayContinue.php b/app/Console/Commands/VerifyNeedPayContinue.php index 5c345e3..bf985bb 100644 --- a/app/Console/Commands/VerifyNeedPayContinue.php +++ b/app/Console/Commands/VerifyNeedPayContinue.php @@ -27,10 +27,9 @@ class VerifyNeedPayContinue extends Command */ public function handle() { - // Oldmen::where('live_in', Oldmen::STATUS_LIVE) ->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 ]); } diff --git a/app/Http/Controllers/PrintController.php b/app/Http/Controllers/PrintController.php index cef5491..3761be4 100644 --- a/app/Http/Controllers/PrintController.php +++ b/app/Http/Controllers/PrintController.php @@ -19,6 +19,7 @@ class PrintController extends Controller $bigTotal = ''; $adminName = ''; $timeZone = ''; + $idsn = ''; $flow = ConstFlow::find($request->input('id', 0)); if($flow){