예제 #1
0
 /**
  * Execute the console command.
  *
  * @return mixed
  */
 public function handle()
 {
     //Update the payments status from pending to due
     $this->subscriptionChargeService->makeChargesDue();
     //Bill the due charges
     $this->subscriptionChargeService->billMembers();
 }
 /**
  * Execute the console command.
  *
  * @return mixed
  */
 public function handle()
 {
     //Update the payments status from pending to due
     $this->info('Moving sub charges to due');
     $this->subscriptionChargeService->makeChargesDue();
     //Bill the due charges
     $this->info('Billing members');
     $this->subscriptionChargeService->billMembers();
     $this->info('Finished');
 }