mirror of
https://gitlab.com/signalytic/client-external/streamline/streamline-emr.git
synced 2026-09-11 18:51:31 +00:00
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.
49 lines
964 B
PHP
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;
|
|
}
|
|
}
|