Files
streamline-emr/docker/streamline-src/app/Console/Commands/RedesignStockTrackingCommand.php
T
alec.turner 4a89356390 Import latest app updates from streamline
An updated set of source files and initialization was provided by streamline to
address issues observed during initial testing. These files have been updated in
order to generate a new set of app images.
2024-04-11 11:16:51 -07:00

49 lines
964 B
PHP

<?php
namespace Streamline\Console\Commands;
use Illuminate\Console\Command;
use Modules\Stores\Http\Controllers\StoresController;
class RedesignStockTrackingCommand extends Command
{
/**
* The name and signature of the console command.
*
* @var string
*/
protected $signature = 'redesign:stock';
/**
* The console command description.
*
* @var string
*/
protected $description = 'Redesign the structure of the stock for existing clients before July 2023';
/**
* Create a new command instance.
*
* @return void
*/
public function __construct()
{
parent::__construct();
}
/**
* Execute the console command.
*
* @return int
*/
public function handle() {
echo "Starting stock redesign...";
$output = (new StoresController())->pre_existing_stock_tracking_redesign();
echo $output;
return 0;
}
}