More works on products
This commit is contained in:
@@ -1,17 +1,20 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* Creates and returns the Service Options Model for an Order.
|
||||
*/
|
||||
namespace App\Traits;
|
||||
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
use Illuminate\Http\Request;
|
||||
|
||||
/**
|
||||
* Creates and returns the Service Options Model for an Order.
|
||||
*
|
||||
* Example
|
||||
*/
|
||||
trait OrderServiceOptions
|
||||
{
|
||||
/*
|
||||
protected $order_attributes = [
|
||||
// Information required during the order process
|
||||
protected array $order_attributes = [
|
||||
'options.input'=>[
|
||||
'request'=>'options.input',
|
||||
'key'=>'column',
|
||||
@@ -20,7 +23,7 @@ trait OrderServiceOptions
|
||||
],
|
||||
];
|
||||
|
||||
protected $order_model = NULL;
|
||||
protected string $order_model = NULL;
|
||||
*/
|
||||
|
||||
public function orderValidation(Request $request): ?Model
|
||||
|
Reference in New Issue
Block a user