wip
This commit is contained in:
@@ -120,4 +120,14 @@ class CardOrder extends Model
|
||||
return 1;
|
||||
// return floatval($this->cardType->price);
|
||||
}
|
||||
|
||||
/**
|
||||
* Panel url
|
||||
*/
|
||||
public function panelUrl(string $type = 'index'): string
|
||||
{
|
||||
return match ($type) {
|
||||
'index' => sprintf('resources/card-orders'),
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user