diff --git a/.vs/FX2_SP_WORKERS/v18/.suo b/.vs/FX2_SP_WORKERS/v18/.suo index 61fc936..94a6050 100644 Binary files a/.vs/FX2_SP_WORKERS/v18/.suo and b/.vs/FX2_SP_WORKERS/v18/.suo differ diff --git a/.vs/FX2_SP_WORKERS/v18/DocumentLayout.backup.json b/.vs/FX2_SP_WORKERS/v18/DocumentLayout.backup.json index 176391d..98588a7 100644 --- a/.vs/FX2_SP_WORKERS/v18/DocumentLayout.backup.json +++ b/.vs/FX2_SP_WORKERS/v18/DocumentLayout.backup.json @@ -101,7 +101,7 @@ "RelativeDocumentMoniker": "Program.cs", "ToolTip": "\\\\fx2nas\\PROGRAMISCI\\spietrowcow\\VIKING\\FX2_SP_WORKERS\\Program.cs", "RelativeToolTip": "Program.cs", - "ViewState": "AgIAACsAAAAAAAAAAAAiwEEAAABDAAAAAAAAAA==", + "ViewState": "AgIAAGcAAAAAAAAAAAAwwIUAAAAJAAAAAAAAAA==", "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", "WhenOpened": "2026-04-17T06:14:19.546Z", "EditorCaption": "" diff --git a/.vs/FX2_SP_WORKERS/v18/DocumentLayout.json b/.vs/FX2_SP_WORKERS/v18/DocumentLayout.json index 98588a7..17a44e9 100644 --- a/.vs/FX2_SP_WORKERS/v18/DocumentLayout.json +++ b/.vs/FX2_SP_WORKERS/v18/DocumentLayout.json @@ -19,7 +19,7 @@ "DocumentGroups": [ { "DockedWidth": 200, - "SelectedChildIndex": 14, + "SelectedChildIndex": 15, "Children": [ { "$type": "Bookmark", @@ -69,6 +69,10 @@ "$type": "Bookmark", "Name": "ST:0:0:{57d563b6-44a5-47df-85be-f4199ad6b651}" }, + { + "$type": "Bookmark", + "Name": "ST:0:0:{c6f34f0d-7ae5-4f3a-be61-fe0c21ae9eb8}" + }, { "$type": "Document", "DocumentIndex": 1, diff --git a/Program.cs b/Program.cs index 8c75d05..9a535ca 100644 --- a/Program.cs +++ b/Program.cs @@ -13,7 +13,6 @@ using Soneta.Kalend; //Workery [assembly: Worker(typeof(FX2_SP_WORKERS.PrzeksiegowanieProwizjeButton), typeof(DokEwidencji))] [assembly: Worker(typeof(FX2_SP_WORKERS.PrzeksiegowanieKosztyButton), typeof(DokEwidencji))] -//[assembly: Worker(typeof(FX2_SP_WORKERS.UzupelnijPodmiotOperBankButton), typeof(ZapisyKsiegowe))] [assembly: Worker(typeof(FX2_SP_WORKERS.ImportRcpCsvButton), typeof(WejsciaWyjsciaI))] namespace FX2_SP_WORKERS @@ -79,10 +78,12 @@ namespace FX2_SP_WORKERS return PrzeksiegowanieKoszty.PrzeksiegowanieKosztyFun.Visible(cx); } } + internal class UzupelnijPodmiotOperBankButton { [Context] public Context context { get; set; } + [Action( "Uzupelnij Podmiot Operacji Bankowej", Description = "Uzupełnia podmiot operacji bankowej na zapisach księgowych powiązanych z wyciągiem bankowym", @@ -94,6 +95,7 @@ namespace FX2_SP_WORKERS { return UzupelnijPodmiotOperBankFun.Start(context); } + public static bool IsEnabledUzupelnijPodmiotOperBank(Context cx) { return true; @@ -132,10 +134,12 @@ namespace FX2_SP_WORKERS return ImportRCPFun.Start(context, streamReader); } + public static bool IsEnabledImportRcpStart(Context cx) { return ImportRCPFun.Enabled(cx); } + public static bool IsVisibleImportRcpStart(Context cx) { return ImportRCPFun.Visible(cx);