Commit Graph

11 Commits

Author SHA1 Message Date
Magomed
7f3bc2eb35 Focus offers grid on MG select so qty can be typed immediately. 2026-07-20 20:02:58 +03:00
Magomed
5c439fe780 Apply client markup_percent from price API and fix truncated download logs.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-20 11:36:20 +03:00
Magomed
a6601567f2 Improve order UX and harden API debugging.
Prompt for Location ID after login, move cart delete there, refine price-list Backspace navigation, and log every API failure with stack and response body.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-16 16:31:00 +03:00
Magomed
74390c4918 Add name/MG browse flow in price list and harden grid hover.
Show names on the left and dosages on the right after selection, then open supplier offers for the chosen pair. Persist TradeName/Dosage on download and avoid crashes when rebinding or pressing Escape.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-16 14:42:30 +03:00
Magomed
c447048b66 Add invoice request from orders and fix overlapping context menus.
Enable Получить накладную for sent orders, build local invoices without refusals, and stop the tab close menu from covering dedicated grid menus. Also fix price-list Backspace search and refresh the Release dist binaries.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-16 14:00:50 +03:00
Magomed
0c73d7e40b Fix price list parsing crashes and invoice grid initialization.
Harden UCPriceList number parsing and selection handling after download, guard ModernDataGridView row header autosize, and refresh price list from menu load action.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-15 12:15:40 +03:00
Magomed
5cc202dea7 Polish cart tabs and dialog chrome for light/dark themes.
Add ModernTabControl/SplitContainer for cart UI without system borders, fix button corner artifacts and dialog text contrast, and use TitleBarTop green for auth header in light mode.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-14 20:32:54 +03:00
Magomed
2e1b13fde6 Add tab context menu and polish orders/price-list clear controls.
Right-click closes active or targeted document tabs, fix order items header overlap, and align the price-list search clear button with centered × glyph.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-14 19:04:39 +03:00
Magomed
a9fd467b5d Fix gradient button paint artifacts and WrapMode crash on .NET Framework.
Use toolbar-themed background fill, lighter shadow, and remove invalid LinearGradientBrush.WrapMode that caused OnPaint failures.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-14 14:39:45 +03:00
Magomed
1ccb2b33cf Apply skill gradient Primary/Danger buttons to Elfisa.UI and add button demos.
Integrate winforms-modern-buttons gradient paint for primary actions and clear (×) controls, align PharmaTrust startup theme, and add Material/gradient/button skill demo projects for comparison.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-14 14:27:31 +03:00
Magomed
d1740d49bf Initial commit: Электронная Фармация desktop client.
WinForms app with Elfisa.UI, API integration, order workflow, invoices/refusals sync, and production-ready fixes from the desktop roadmap.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-14 12:25:38 +03:00