feat(giftcard): add customer giftcard/mine endpoint; fix admin/app password digit normalization
This commit is contained in:
@@ -40,4 +40,9 @@ class GiftCardCodes extends Model
|
||||
return $this->belongsTo(Customer::class, 'assigned_to', 'id')->select('id', 'name', 'mobile');
|
||||
}
|
||||
|
||||
public function giftcard()
|
||||
{
|
||||
return $this->belongsTo(GiftCard::class, 'giftcard_id', 'id');
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user