Skip to content

feat: Fix FIO reference for FireKassa invoicer#167

Open
m1ndg8mer wants to merge 1 commit intolegacyfrom
fix/1844-firekassa-fio
Open

feat: Fix FIO reference for FireKassa invoicer#167
m1ndg8mer wants to merge 1 commit intolegacyfrom
fix/1844-firekassa-fio

Conversation

@m1ndg8mer
Copy link
Copy Markdown

Summary

  • Add FIO_REGEX constant for validating first/last name format
  • Parse order.income_fio to extract last name and first name
  • Raise error "Нету ФИ" if FIO doesn't match expected format (two words, max 14 chars each)

Test plan

  • Test with valid FIO (e.g. "Иванов Иван")
  • Test with invalid FIO (single word, too long words, etc.)

Fixes #1844

🤖 Generated with Claude Code

Parse order.income_fio using regex to extract last and first name.
Raise error if FIO doesn't match expected format (two words, max 14 chars each).

Fixes #1844

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@m1ndg8mer m1ndg8mer force-pushed the fix/1844-firekassa-fio branch from 780f6c9 to 8f7e765 Compare January 30, 2026 14:20
@m1ndg8mer m1ndg8mer changed the base branch from master to legacy January 30, 2026 14:20
@m1ndg8mer m1ndg8mer changed the title feat: Add FIO validation for FireKassa invoicer feat: Fix FIO reference for FireKassa invoicer Jan 30, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant