Fixed order processing, broken after upgrade to Laravel 5.8
This commit is contained in:
@@ -10,9 +10,11 @@ class Service extends Model
|
||||
{
|
||||
use NextKey;
|
||||
|
||||
public $incrementing = FALSE;
|
||||
const RECORD_ID = 'service';
|
||||
|
||||
const CREATED_AT = 'date_orig';
|
||||
const UPDATED_AT = 'date_last';
|
||||
public $incrementing = FALSE;
|
||||
|
||||
protected $table = 'ab_service';
|
||||
protected $with = ['product.descriptions','account.language'];
|
||||
@@ -86,7 +88,7 @@ class Service extends Model
|
||||
*
|
||||
* @return \Illuminate\Database\Eloquent\Relations\BelongsTo
|
||||
*/
|
||||
public function orderedby()
|
||||
public function orderby()
|
||||
{
|
||||
return $this->belongsTo(Account::class);
|
||||
}
|
||||
|
Reference in New Issue
Block a user