moon rental pages

This commit is contained in:
2021-07-09 01:06:40 -05:00
parent 1a44be502a
commit b310799bf0
8 changed files with 252 additions and 2 deletions
@@ -0,0 +1,42 @@
<?php
namespace App\Console\Commands;
use Illuminate\Console\Command;
class ExecuteSendMoonRentalInvoices extends Command
{
/**
* The name and signature of the console command.
*
* @var string
*/
protected $signature = 'mr:invoice';
/**
* The console command description.
*
* @var string
*/
protected $description = 'Execute command to send moon rental invoices job';
/**
* Create a new command instance.
*
* @return void
*/
public function __construct()
{
parent::__construct();
}
/**
* Execute the console command.
*
* @return int
*/
public function handle()
{
return 0;
}
}
@@ -51,8 +51,9 @@ class ExecuteUpdateAllianceMoonRentalWorth extends Command
*/
public function handle()
{
//UpdateAllianceMoonRentalWorth::dispatch();
UpdateAllianceMoonRentalWorth::dispatch();
/*
//Declare variables
$lookup = new LookupHelper;
$mHelper = new MoonCalc;
@@ -102,6 +103,7 @@ class ExecuteUpdateAllianceMoonRentalWorth extends Command
'rental_amount' => $rentalAmount,
]);
}
*/
return 0;
}