Pierwszy commit Visual studio

This commit is contained in:
2026-06-08 14:39:37 +02:00
parent e2fc5f8ce4
commit f97e94f7ab
4 changed files with 11 additions and 3 deletions
+5 -1
View File
@@ -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);