Commit db0159b
Add has_plan_assignment? and plan_assignment helpers to PlanOwner
These helpers allow checking if a plan owner has a manual plan
assignment without going through the full plan resolution logic.
Useful for UI conditionals like upsell banners that should not
show when an admin has manually assigned a plan.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>1 parent f29647f commit db0159b
1 file changed
+10
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
203 | 203 | | |
204 | 204 | | |
205 | 205 | | |
| 206 | + | |
| 207 | + | |
| 208 | + | |
| 209 | + | |
| 210 | + | |
| 211 | + | |
| 212 | + | |
| 213 | + | |
| 214 | + | |
| 215 | + | |
206 | 216 | | |
207 | 217 | | |
208 | 218 | | |
| |||
0 commit comments