v.2.27
Fixed reports
This commit is contained in:
@@ -6,4 +6,9 @@ use Illuminate\Database\Eloquent\Model;
|
||||
|
||||
class ExchangeDeleted extends Model {
|
||||
protected $table = 'exchange_deleted';
|
||||
|
||||
public function deletedActions() {
|
||||
return $this->hasMany('App\Component\Models\ExchangeActions', 'order_position', 'item_id')
|
||||
->where('exchange_actions.action_type', '=', 5);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user