IMMREX7

aku nok ndi : /home/spdtg/www/schoolmis/app/Console/Commands/
File Up :
aku nok ndi : /home/spdtg/www/schoolmis/app/Console/Commands/PaymentUpdate.php

<?php

namespace App\Console\Commands;

use Illuminate\Console\Command;

class PaymentUpdate extends Command
{
    /**
     * The name and signature of the console command.
     *
     * @var string
     */
    protected $signature = 'app:payment';

    /**
     * The console command description.
     *
     * @var string
     */
    protected $description = 'Send payment reminder to the parents';

    /**
     * Create a new command instance.
     *
     * @return void
     */
    public function __construct()
    {
        parent::__construct();
    }

    /**
     * Execute the console command.
     *
     * @return mixed
     */
    public function handle()
    {
        //
        $school = DB::table('schools')->select('idSchool')->where('isPaymentAutomatic',1)->get()->pluck('idSchool')->toArray();
        
    }
}

Copyright © 2021 - 2025 IMMREX7