Merge branch 'master' of ssh://float.beyondsoft.de/git/beyondSoft/BeWo
# Conflicts: # BeWoPlanerMobil/Models/MainModel.cs # BeWoPlanerMobil/Views/Main/Main.cshtml
This commit is contained in:
@@ -96,7 +96,6 @@
|
||||
</PropertyGroup>
|
||||
<ItemGroup>
|
||||
<Compile Include="Converter\AddressToStringConverter.cs" />
|
||||
<Compile Include="Converter\Features\AiConversationMessageSystemConverter.cs" />
|
||||
<Compile Include="Converter\NewlineConverter.cs" />
|
||||
<Compile Include="Core\Commands\CommandFactory.cs" />
|
||||
<Compile Include="ServiceProxy\GeneratedAiEnhancedService.cs" />
|
||||
@@ -3518,6 +3517,7 @@
|
||||
<Resource Include="Ressources\Icons\chatbot2.png" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Folder Include="Converter\Features\" />
|
||||
<Folder Include="Scripts\" />
|
||||
<Folder Include="View\Controls\Popup\" />
|
||||
</ItemGroup>
|
||||
|
||||
@@ -633,8 +633,8 @@ namespace BeWo
|
||||
//showInfoButtonInCalender = true;
|
||||
//IsInDeveloperMode = true;
|
||||
//IsInDeveloperMode = false;
|
||||
AppSettings.ModuleAiEnabled = true;
|
||||
AppSettings.ModuleAiSettingsEnabled = false;
|
||||
//AppSettings.ModuleAiEnabled = true;
|
||||
//AppSettings.ModuleAiSettingsEnabled = false;
|
||||
AppSettings.IsSchedulerAllowed = true;
|
||||
#endif
|
||||
|
||||
|
||||
@@ -1,32 +0,0 @@
|
||||
using BeWo.View.Navigation.Filter;
|
||||
using BS.Shared.DataContracts;
|
||||
using BS.Shared;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Globalization;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using System.Windows.Data;
|
||||
using BeWo.ViewModel;
|
||||
|
||||
namespace BeWo.Converter.Features
|
||||
{
|
||||
public class AiConversationMessageSystemConverter : IValueConverter
|
||||
{
|
||||
public object Convert(object value, Type targetType, object parameter, CultureInfo culture)
|
||||
{
|
||||
if (BeWoApp.IsInDeveloperMode)
|
||||
return value;
|
||||
|
||||
var ret = (value as IEnumerable<AiConversationMessageVM>).Where(vm => vm.Role != AiConversationMessageRole.System);
|
||||
|
||||
return ret;
|
||||
}
|
||||
|
||||
public object ConvertBack(object value, Type targetType, object parameter, CultureInfo culture)
|
||||
{
|
||||
throw new NotImplementedException();
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -14,11 +14,11 @@ namespace BeWo.Core.Commands
|
||||
public static DelegateCommand GetAiViewCommand(Action openView, UserRightType userRightType, Func<bool> additionalCheckup = null)
|
||||
{
|
||||
bool canExecute() =>
|
||||
BeWoApp.AppSettings.ModuleAiEnabled &&
|
||||
(BeWoApp.AppSettings?.ModuleAiEnabled ?? false) &&
|
||||
BeWoApp.HasLoggedOnUserRight(userRightType) &&
|
||||
(additionalCheckup is null || additionalCheckup());
|
||||
|
||||
return GetTestClientCommand(openView, canExecute, false);
|
||||
return GetTestClientCommand(openView, () => CheckupSafe(canExecute), null);
|
||||
}
|
||||
|
||||
public static DelegateCommand GetTestClientCommand(Action action, Func<bool> canExecute = null, bool? useCommandManager = null)
|
||||
@@ -27,7 +27,19 @@ namespace BeWo.Core.Commands
|
||||
CheckupTestVersion() &&
|
||||
(canExecute is null || canExecute());
|
||||
|
||||
return new DelegateCommand(action, canExecute2, useCommandManager);
|
||||
return new DelegateCommand(action, () => CheckupSafe(canExecute2), useCommandManager);
|
||||
}
|
||||
|
||||
private static bool CheckupSafe(Func<bool> predicate)
|
||||
{
|
||||
try
|
||||
{
|
||||
return predicate();
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
private static bool CheckupTestVersion()
|
||||
|
||||
@@ -145,11 +145,11 @@ namespace BeWo
|
||||
{
|
||||
DebugConfigMode = DebugConfigMode.FeatureAiModule,
|
||||
AutoLogin = true,
|
||||
//SelectView = UIContext.AiConversation,
|
||||
SelectView = UIContext.Customer,
|
||||
//SelectIndex = 8,
|
||||
//DefaultLoginUsername = "m1",
|
||||
//DefaultLoginPassword = "bewobewo",
|
||||
//DefaultProfilename = "5000000000",
|
||||
DefaultLoginUsername = "m1",
|
||||
DefaultLoginPassword = "bewobewo",
|
||||
DefaultProfilename = "5000000000",
|
||||
EnableAutoRemoteDebugging = true
|
||||
});
|
||||
|
||||
|
||||
@@ -3,7 +3,6 @@
|
||||
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
||||
xmlns:ai="clr-namespace:BeWo.View.Detail.AI"
|
||||
xmlns:conv="clr-namespace:BeWo.Converter.Features"
|
||||
xmlns:core="clr-namespace:BS.Shared.Core;assembly=BS.Shared"
|
||||
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
||||
xmlns:dx="http://schemas.devexpress.com/winfx/2008/xaml/core"
|
||||
@@ -31,7 +30,6 @@
|
||||
<ResourceDictionary.MergedDictionaries>
|
||||
<ResourceDictionary Source="..\..\..\Styles\ModernOrangeBlack.xaml" />
|
||||
</ResourceDictionary.MergedDictionaries>
|
||||
<conv:AiConversationMessageSystemConverter x:Key="AiConversationMessageSystemConverter" />
|
||||
</ResourceDictionary>
|
||||
</localView:BeWoView.Resources>
|
||||
<localView:BeWoView.DataContext>
|
||||
@@ -114,7 +112,7 @@
|
||||
|
||||
<Grid Background="#12000000">
|
||||
<ListView
|
||||
x:Name="listbox_conversations"
|
||||
x:Name="listview_conversations"
|
||||
Padding="4"
|
||||
Background="Transparent"
|
||||
BorderThickness="0"
|
||||
@@ -123,7 +121,7 @@
|
||||
ScrollViewer.CanContentScroll="False"
|
||||
ScrollViewer.HorizontalScrollBarVisibility="Disabled"
|
||||
SelectedItem="{Binding SelectedVM, Mode=TwoWay}"
|
||||
SelectionChanged="listbox_conversations_SelectionChanged">
|
||||
SelectionChanged="listview_conversations_SelectionChanged">
|
||||
<ListView.ItemContainerStyle>
|
||||
<Style TargetType="ListViewItem">
|
||||
<Setter Property="HorizontalContentAlignment" Value="Stretch" />
|
||||
@@ -145,14 +143,15 @@
|
||||
<RowDefinition Height="auto" />
|
||||
</Grid.RowDefinitions>
|
||||
<ListView
|
||||
x:Name="listbox_messages"
|
||||
x:Name="listview_messages"
|
||||
Grid.Column="1"
|
||||
Padding="3"
|
||||
HorizontalAlignment="Stretch"
|
||||
VerticalAlignment="Stretch"
|
||||
Background="Transparent"
|
||||
BorderThickness="0"
|
||||
ItemTemplateSelector="{StaticResource AiConversationMessageTemplateSelector}"
|
||||
ItemsSource="{Binding SelectedVM.Messages.VMList, Converter={StaticResource AiConversationMessageSystemConverter}, UpdateSourceTrigger=PropertyChanged}"
|
||||
ItemsSource="{Binding SelectedVM.Messages.VMList}"
|
||||
ScrollViewer.CanContentScroll="False"
|
||||
ScrollViewer.HorizontalScrollBarVisibility="Disabled"
|
||||
Visibility="{Binding IsNewConversationVisible, Converter={StaticResource BoolVisibilityConverter}, ConverterParameter=Reverse}">
|
||||
@@ -410,7 +409,7 @@
|
||||
Background="Transparent"
|
||||
BorderThickness="0"
|
||||
ItemTemplateSelector="{StaticResource AiConversationCloneMessageTemplateSelector}"
|
||||
ItemsSource="{Binding SelectedVM.Messages.VMList, Converter={StaticResource AiConversationMessageSystemConverter}, UpdateSourceTrigger=PropertyChanged}"
|
||||
ItemsSource="{Binding SelectedVM.Messages.VMList, UpdateSourceTrigger=PropertyChanged}"
|
||||
ScrollViewer.CanContentScroll="False"
|
||||
ScrollViewer.HorizontalScrollBarVisibility="Disabled">
|
||||
<ListView.ItemContainerStyle>
|
||||
|
||||
@@ -19,6 +19,7 @@ using System.Windows.Media;
|
||||
using System.Windows.Media.Imaging;
|
||||
using System.Windows.Navigation;
|
||||
using System.Windows.Shapes;
|
||||
using System.Windows.Threading;
|
||||
|
||||
namespace BeWo.View.Detail.AI
|
||||
{
|
||||
@@ -31,7 +32,7 @@ namespace BeWo.View.Detail.AI
|
||||
{
|
||||
InitializeComponent();
|
||||
|
||||
((INotifyCollectionChanged)listbox_messages.Items).CollectionChanged += listbox_messages_SelectionChanged;
|
||||
((INotifyCollectionChanged)listview_messages.Items).CollectionChanged += listview_messages_CollectionChanged;
|
||||
|
||||
popup_settings.Closed += (s, e) => ViewModel.UpdateConfig();
|
||||
|
||||
@@ -62,22 +63,22 @@ namespace BeWo.View.Detail.AI
|
||||
ViewModel.ReloadConversationsCommand.Execute(null);
|
||||
}
|
||||
|
||||
private void listbox_conversations_SelectionChanged(object sender, SelectionChangedEventArgs e)
|
||||
private void listview_conversations_SelectionChanged(object sender, SelectionChangedEventArgs e)
|
||||
{
|
||||
if (ViewModel.IsNewConversationVisible)
|
||||
BeWoWpfUtils.ScrollToTop(listbox_conversations);
|
||||
BeWoWpfUtils.ScrollToTop(listview_conversations);
|
||||
else
|
||||
listbox_conversations.ScrollIntoView(listbox_conversations.SelectedItem);
|
||||
listview_conversations.ScrollIntoView(listview_conversations.SelectedItem);
|
||||
}
|
||||
|
||||
private void listbox_messages_SelectionChanged(object sender, NotifyCollectionChangedEventArgs e)
|
||||
private void listview_messages_CollectionChanged(object sender, NotifyCollectionChangedEventArgs e)
|
||||
{
|
||||
BeWoWpfUtils.ScrollToBottom(listbox_messages);
|
||||
Dispatcher.BeginInvoke(DispatcherPriority.Render, (Action)(() => BeWoWpfUtils.ScrollToBottom(listview_messages)));
|
||||
}
|
||||
|
||||
private void popup_conversation_clone_Loaded(object sender, RoutedEventArgs e)
|
||||
{
|
||||
BeWoWpfUtils.ScrollToBottom(listbox_messages_clone);
|
||||
Dispatcher.BeginInvoke(DispatcherPriority.Render, (Action)(() => BeWoWpfUtils.ScrollToBottom(listbox_messages_clone)));
|
||||
}
|
||||
|
||||
private void Grid_PreviewKeyDown(object sender, KeyEventArgs e)
|
||||
|
||||
@@ -154,10 +154,10 @@ namespace BeWo.View.Detail.Accounting
|
||||
if (!checked_invoice_bases.Any())
|
||||
return;
|
||||
|
||||
var success = ValidatorExtended.TryValidateGkvAbrechnung(gkv_abrechnung, checked_invoice_bases, false);
|
||||
var success = ValidatorExtended.TryValidateGkvAbrechnung(gkv_abrechnung, checked_invoice_bases, out var error, false);
|
||||
if (!success)
|
||||
{
|
||||
var txt = "Sie haben Rechnungen mit verschiedenen Rechnungsadressen ausgewählt.";
|
||||
var txt = error;
|
||||
var result = MessageBox.Show(txt, "Hinweis", MessageBoxButton.OK);
|
||||
return;
|
||||
}
|
||||
|
||||
@@ -350,21 +350,11 @@ namespace BeWo.View.Detail.Zeiterfassung
|
||||
|
||||
OpenAiWindowCommand = CommandFactory.GetAiViewCommand(OpenAiWindow, UserRightType.AiModuleView);
|
||||
OpenAiPopupCommand = CommandFactory.GetAiViewCommand(OpenAiPopup, UserRightType.AiModuleView2);
|
||||
|
||||
if (!BeWoApp.HasLoggedOnUserRight(UserRightType.AiModuleView))
|
||||
{
|
||||
btnOpenAi2.Visibility = Visibility.Collapsed;
|
||||
}
|
||||
if (!BeWoApp.HasLoggedOnUserRight(UserRightType.AiModuleView2))
|
||||
{
|
||||
btnOpenAi3.Visibility = Visibility.Collapsed;
|
||||
}
|
||||
}
|
||||
|
||||
public ICommand OpenAiWindowCommand { get; set; }
|
||||
public ICommand OpenAiPopupCommand { get; set; }
|
||||
|
||||
|
||||
private void SrGridControl_ItemsSourceChanged(object sender, DevExpress.Xpf.Grid.ItemsSourceChangedEventArgs e)
|
||||
{
|
||||
ErstelleRecordInformationString();
|
||||
|
||||
@@ -506,7 +506,9 @@ namespace BeWo.View.Navigation
|
||||
|
||||
private void OnLoaded(object sender, RoutedEventArgs e)
|
||||
{
|
||||
textbox_search.Focus();
|
||||
CommandManager.InvalidateRequerySuggested();
|
||||
|
||||
textbox_search.Focus();
|
||||
}
|
||||
|
||||
private void OnOpenObject()
|
||||
|
||||
@@ -47,7 +47,7 @@ namespace BeWo.ViewModel
|
||||
public AiConversationMessageRole Role => DataContract.Role;
|
||||
public string ModelName => DataContract.ModelName;
|
||||
public int Duration => DataContract.Duration ?? 0;
|
||||
public string DurationSec => ((double)Duration/ 1000).ToString("0.#");
|
||||
public string DurationSec => ((double)Duration / 1000).ToString("0.#");
|
||||
public DateTime Created => DataContract.Created;
|
||||
|
||||
protected override void InitByDataContract(AiConversationMessageDC pDataContract)
|
||||
|
||||
@@ -8,6 +8,7 @@ using BS.Shared;
|
||||
using BS.Shared.DataContracts;
|
||||
using BS.Shared.DataContracts.Feature.AI;
|
||||
using DevExpress.Mvvm;
|
||||
using DevExpress.Xpf.Core.Native;
|
||||
using Newtonsoft.Json;
|
||||
|
||||
namespace BeWo.ViewModel
|
||||
@@ -87,7 +88,7 @@ namespace BeWo.ViewModel
|
||||
_Updated = pDataContract.Updated;
|
||||
|
||||
if (pDataContract.Messages is object)
|
||||
_Messages = new AiConversationMessageListVM(pDataContract.Messages);
|
||||
_Messages = getFilter(pDataContract.Messages);
|
||||
}
|
||||
|
||||
protected override AiConversationDC MapToDataContract(AiConversationDC pDataContract, bool doCommit)
|
||||
@@ -107,7 +108,16 @@ namespace BeWo.ViewModel
|
||||
Updated = pDataContract.Updated;
|
||||
|
||||
if (pDataContract.Messages is object)
|
||||
Messages = new AiConversationMessageListVM(pDataContract.Messages);
|
||||
Messages = getFilter(pDataContract.Messages);
|
||||
}
|
||||
|
||||
private AiConversationMessageListVM getFilter(List<AiConversationMessageDC> messages)
|
||||
{
|
||||
if(!BeWoApp.IsInDeveloperMode && messages is List<AiConversationMessageDC> && messages.Any())
|
||||
{
|
||||
messages.RemoveAll(m => m.Role == AiConversationMessageRole.System);
|
||||
}
|
||||
return new AiConversationMessageListVM(messages);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -921,7 +921,7 @@ namespace BeWo.ViewModel
|
||||
public string SenderTown => DataContract.SenderTown;
|
||||
public string SenderPostCode => DataContract.SenderPostCode;
|
||||
|
||||
public IList<IInvoiceItem> IInvoiceItems => throw new NotImplementedException();
|
||||
public IEnumerable<IInvoiceItem> IInvoiceItems => InvoiceItems.VMList;
|
||||
|
||||
protected override void InitByDataContract(InvoiceBaseDC pDataContract)
|
||||
{
|
||||
|
||||
@@ -3,10 +3,11 @@ using BS.Shared;
|
||||
using BeWo.Core;
|
||||
|
||||
using BS.Shared.DataContracts;
|
||||
using BS.Shared.Interface;
|
||||
|
||||
namespace BeWo.ViewModel
|
||||
{
|
||||
public class InvoiceItemVM : AbstractDCMapperVM<InvoiceItemDC>
|
||||
public class InvoiceItemVM : AbstractDCMapperVM<InvoiceItemDC>, IInvoiceItem
|
||||
{
|
||||
#region Constants and Fields
|
||||
|
||||
|
||||
@@ -2,6 +2,7 @@
|
||||
using BeWo.Core.Commands;
|
||||
using BeWo.ServiceProxy;
|
||||
using BS.Shared;
|
||||
using BS.Shared.Core;
|
||||
using BS.Shared.DataContracts;
|
||||
using BS.Shared.DataContracts.Feature.AI;
|
||||
using BS.Shared.Extensions;
|
||||
@@ -18,6 +19,7 @@ using System.Runtime.Remoting.Contexts;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using System.Windows;
|
||||
using System.Windows.Data;
|
||||
using System.Windows.Input;
|
||||
using System.Windows.Markup;
|
||||
using System.Windows.Threading;
|
||||
@@ -46,7 +48,7 @@ namespace BeWo.ViewModel.ListViewModel
|
||||
|
||||
public AiConversationListVM(List<AiConversationDC> pDCs) : base(pDCs)
|
||||
{
|
||||
Models = new ObservableSortCollection<AiModelDC>();
|
||||
Models = new BS.Shared.Core.ObservableSortCollection<AiModelDC>();
|
||||
|
||||
bool sendCanExecute() => SelectedVM is object && !string.IsNullOrWhiteSpace(MessageInput) && !IsSending;
|
||||
SendNewMessageCommand = new DelegateCommand(SendNewMessage, sendCanExecute);
|
||||
@@ -218,7 +220,7 @@ namespace BeWo.ViewModel.ListViewModel
|
||||
var msg_dc = new AiConversationMessageDC();
|
||||
|
||||
msg_dc.Message = MessageInput;
|
||||
msg_dc.Role = BS.Shared.AiConversationMessageRole.User;
|
||||
msg_dc.Role = AiConversationMessageRole.User;
|
||||
msg_dc.Created = DateTime.Now;
|
||||
|
||||
var msg_vm = new AiConversationMessageVM(msg_dc);
|
||||
|
||||
@@ -11,13 +11,13 @@ using System.ComponentModel;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using System.Windows.Data;
|
||||
using System.Windows.Threading;
|
||||
|
||||
namespace BeWo.ViewModel.ListViewModel
|
||||
{
|
||||
public class AiConversationMessageListVM : AbstractDCListMapperVM<AiConversationMessageDC, AiConversationMessageVM>
|
||||
{
|
||||
public AiConversationMessageListVM() : this(null) { }
|
||||
public AiConversationMessageListVM(List<AiConversationMessageDC> pDCs) : base(pDCs)
|
||||
{
|
||||
VMList.ListChanged += (s, e) =>
|
||||
@@ -29,6 +29,7 @@ namespace BeWo.ViewModel.ListViewModel
|
||||
}
|
||||
};
|
||||
}
|
||||
public AiConversationMessageListVM() : this(null) { }
|
||||
|
||||
private void Item_PropertyChanged(object sender, PropertyChangedEventArgs e)
|
||||
{
|
||||
|
||||
@@ -40,7 +40,7 @@ namespace BeWoPlanerMobil.Controllers
|
||||
protected ActionResult Logout()
|
||||
{
|
||||
#if DEBUG
|
||||
Debug.WriteLine($"+++>Logout aufrufende Methode: {(new StackTrace()).GetFrame(1).GetMethod().Name}");
|
||||
Debug.WriteLine($"+++>Logout aufrufende Methode: {new StackTrace().GetFrame(1).GetMethod().Name}");
|
||||
#endif
|
||||
|
||||
MobileSessionFacade.LogUserOut();
|
||||
|
||||
@@ -1,10 +1,6 @@
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Web.Mvc;
|
||||
using System.Web.Mvc;
|
||||
using BeWoPlanerMobil.Models;
|
||||
using BeWoPlanerMobil.Service;
|
||||
using BeWoPlanerMobil.Util;
|
||||
using BS.Shared.Core;
|
||||
|
||||
namespace BeWoPlanerMobil.Controllers
|
||||
{
|
||||
@@ -21,23 +17,12 @@ namespace BeWoPlanerMobil.Controllers
|
||||
return null;
|
||||
}
|
||||
|
||||
if (_Model == null)
|
||||
if(_Model is null)
|
||||
{
|
||||
_Model = new DebuggingToolsModel();
|
||||
InitModel(_Model);
|
||||
}
|
||||
|
||||
//if (((DebuggingToolsModel)Session[ModelSessionConstants.DebuggingToolsModelKey])?.LoggedInEmployee is null)
|
||||
//{
|
||||
// _Model = new DebuggingToolsModel();
|
||||
// InitModel(_Model);
|
||||
// Session[ModelSessionConstants.DebuggingToolsModelKey] = _Model;
|
||||
//}
|
||||
//else
|
||||
//{
|
||||
// _Model = (DebuggingToolsModel) Session[ModelSessionConstants.DebuggingToolsModelKey];
|
||||
//}
|
||||
|
||||
return _Model;
|
||||
}
|
||||
}
|
||||
@@ -50,14 +35,14 @@ namespace BeWoPlanerMobil.Controllers
|
||||
return RedirectToActionPermanent("Index", "Login");
|
||||
}
|
||||
|
||||
Model.MandatorSettings = new MandatorSettings(MobileSessionFacade.Mandator.Settings);
|
||||
|
||||
return View(Model);
|
||||
}
|
||||
|
||||
[Authorize]
|
||||
public ActionResult LoadSettingsPartial()
|
||||
{
|
||||
Model.MandatorSettings = new MandatorSettings(MobileSessionFacade.Mandator.Settings);
|
||||
|
||||
return PartialView("DevToolsSettingsPartial", Model);
|
||||
}
|
||||
|
||||
|
||||
@@ -1,21 +1,12 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Drawing;
|
||||
using System.Linq;
|
||||
using System.Net;
|
||||
using System.Net.Sockets;
|
||||
using System.Text;
|
||||
using System.Web.Mvc;
|
||||
using System.Windows.Forms;
|
||||
using BeWo.Data.Access;
|
||||
using BeWo.Data.Entities;
|
||||
using BeWo.Service.DCEntityMapper;
|
||||
using BeWo.Service.Plugins;
|
||||
using BeWo.Service.ServiceImplementations;
|
||||
using BeWo.View.Navigation.Filter;
|
||||
using BeWoPlanerMobil.Models;
|
||||
using BeWoPlanerMobil.Service;
|
||||
using BeWoPlanerMobil.Util;
|
||||
|
||||
using static BeWoPlanerMobil.Util.MobileUtils;
|
||||
|
||||
using BS.Shared;
|
||||
using BS.Shared.Core;
|
||||
using BS.Shared.DataContracts;
|
||||
@@ -24,15 +15,23 @@ using BS.Shared.Extensions;
|
||||
using BS.Shared.Services;
|
||||
using DevExpress.XtraScheduler;
|
||||
using DevExpress.XtraScheduler.Compatibility;
|
||||
using DevExpress.XtraScheduler.Native;
|
||||
using Newtonsoft.Json;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Drawing;
|
||||
using System.Linq;
|
||||
using System.Net;
|
||||
using System.Net.Sockets;
|
||||
using System.Text;
|
||||
using System.Web.Mvc;
|
||||
using System.Windows.Forms;
|
||||
using static BeWoPlanerMobil.Util.MobileUtils;
|
||||
using static BS.Shared.ServiceRecordValidationResult;
|
||||
using FormCollection = System.Web.Mvc.FormCollection;
|
||||
using GoalRating = BeWoPlanerMobil.Util.GoalRating;
|
||||
using Image = System.Drawing.Image;
|
||||
using ServiceRecordDC = BS.Shared.DataContracts.ServiceRecordDC;
|
||||
using BeWo.Data.Access;
|
||||
using BeWo.Service.DCEntityMapper;
|
||||
using BeWo.Data.Entities;
|
||||
|
||||
/*
|
||||
* ToDo: Bug, wenn man auf "bearbeiten" bei einem Eintrag klickt, wird die Leistung nicht geladen
|
||||
@@ -54,24 +53,13 @@ namespace BeWoPlanerMobil.Controllers
|
||||
return null;
|
||||
}
|
||||
|
||||
if (_Model == null)
|
||||
if(_Model is null)
|
||||
{
|
||||
_Model = new MainModel();
|
||||
InitModel(_Model);
|
||||
InitViewModel();
|
||||
}
|
||||
|
||||
//if(((MainModel) Session[ModelSessionConstants.MainModelKey])?.LoggedInEmployee is null)
|
||||
//{
|
||||
// _Model = new MainModel();
|
||||
// InitModel(_Model);
|
||||
// Session[ModelSessionConstants.MainModelKey] = _Model;
|
||||
//}
|
||||
//else
|
||||
//{
|
||||
// _Model = (MainModel) Session[ModelSessionConstants.MainModelKey];
|
||||
//}
|
||||
|
||||
return _Model;
|
||||
}
|
||||
}
|
||||
@@ -143,7 +131,6 @@ namespace BeWoPlanerMobil.Controllers
|
||||
|
||||
Model.Employees = Model.Employees.OrderBy(e => e.LastName).ThenBy(e => e.FirstName).ToList();
|
||||
|
||||
|
||||
Model.SelectedConceptCostBearerRelations = new List<SupportConceptCostBearerRelDC>();
|
||||
//Model.MultiBookingSelectedConceptCostBearerRelations = new List<SupportConceptCostBearerRelDC>();
|
||||
|
||||
@@ -154,14 +141,9 @@ namespace BeWoPlanerMobil.Controllers
|
||||
|
||||
private void SetSelectedObjects()
|
||||
{
|
||||
if (Model.SelectedEmployeeOid.HasValue)
|
||||
{
|
||||
Model.SelectedEmployee = Model.AllEmployees.First(f => f.EmployeeOid.Equals(Model.SelectedEmployeeOid.Value));
|
||||
}
|
||||
else
|
||||
{
|
||||
Model.SelectedEmployee = LoggedInUser.Employee;
|
||||
}
|
||||
Model.SelectedEmployee = Model.SelectedEmployeeOid.HasValue ?
|
||||
Model.AllEmployees.First(f => f.EmployeeOid.Equals(Model.SelectedEmployeeOid.Value)) :
|
||||
LoggedInUser.Employee;
|
||||
|
||||
var isInList = Model.SelectedCostBearerSupportConceptOid.HasValue && Model.SupportConceptListObjects.Exists(s => s.CostBearer2SupportConceptOid == Model.SelectedCostBearerSupportConceptOid);
|
||||
|
||||
@@ -390,7 +372,7 @@ namespace BeWoPlanerMobil.Controllers
|
||||
return Logout();
|
||||
}
|
||||
|
||||
if (!Model.SessionInitialized)
|
||||
if(!Model.SessionInitialized)
|
||||
{
|
||||
Model.SessionInitialized = true;
|
||||
var mokSessionTimeout = UserSettingsUtils.GetSettingValueAsInteger(Model.Mandator.Settings, SettingsKeys.MoKSessionTimeout, 20);
|
||||
@@ -418,10 +400,7 @@ namespace BeWoPlanerMobil.Controllers
|
||||
TempData[TempDataConstants.ShowPwChPopupKey] = tempDataValue;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
catch(Exception e)
|
||||
{
|
||||
@@ -431,9 +410,6 @@ namespace BeWoPlanerMobil.Controllers
|
||||
return View(Model);
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
[Authorize]
|
||||
private void UpdateSettings(string key, string value)
|
||||
{
|
||||
@@ -1085,9 +1061,9 @@ namespace BeWoPlanerMobil.Controllers
|
||||
// Falls ein Termin in die Zeiterfassung übernommen werden soll
|
||||
SchedulerAppointmentDC appointmentPrototype = null;
|
||||
|
||||
if(TempData[TempDataConstants.AppointmentOidKey] != null && Int64.TryParse(TempData[TempDataConstants.AppointmentOidKey].ToString(), out var appOid) && Model.LoggedInEmployee.EmployeeOid.HasValue)
|
||||
if(Model.TransferringAppointmentOid.HasValue && Model.LoggedInEmployee.EmployeeOid.HasValue)
|
||||
{
|
||||
var app = DAOFactory.GenericDAO.LoadByID<SchedulerAppointment>(appOid);
|
||||
var app = DAOFactory.GenericDAO.LoadByID<SchedulerAppointment>(Model.TransferringAppointmentOid.Value);
|
||||
appointmentPrototype = MapperFactory.SchedulerAppointmentDCSchedulerAppointment.MapToNewDC(app);
|
||||
}
|
||||
|
||||
@@ -1321,7 +1297,7 @@ namespace BeWoPlanerMobil.Controllers
|
||||
TempData[TempDataConstants.ShowSignatureSuggestionPopup] = true;
|
||||
}
|
||||
|
||||
if(!(appointmentPrototype is null))
|
||||
if(appointmentPrototype is object)
|
||||
{
|
||||
var isRecurring = !(appointmentPrototype.RecurrenceInfo is null);
|
||||
|
||||
@@ -1351,7 +1327,7 @@ namespace BeWoPlanerMobil.Controllers
|
||||
}
|
||||
}
|
||||
|
||||
if(!(appointmentPrototype is null))
|
||||
if(appointmentPrototype is object)
|
||||
{
|
||||
var serviceRecord = OperationsService.GetServiceRecordById(Model.LastCreatedServiceRecordOid);
|
||||
|
||||
@@ -1484,9 +1460,9 @@ namespace BeWoPlanerMobil.Controllers
|
||||
|
||||
var serviceRecords = groupDC.ServiceRecordList;
|
||||
|
||||
if (TempData[TempDataConstants.AppointmentOidKey] != null && Int64.TryParse(TempData[TempDataConstants.AppointmentOidKey].ToString(), out var appOid) && Model.LoggedInEmployee.EmployeeOid.HasValue)
|
||||
if(Model.TransferringAppointmentOid.HasValue && Model.LoggedInEmployee.EmployeeOid.HasValue)
|
||||
{
|
||||
var app = DAOFactory.GenericDAO.LoadByID<SchedulerAppointment>(appOid);
|
||||
var app = DAOFactory.GenericDAO.LoadByID<SchedulerAppointment>(Model.TransferringAppointmentOid.Value);
|
||||
var appointment = MapperFactory.SchedulerAppointmentDCSchedulerAppointment.MapToNewDC(app);
|
||||
|
||||
appointment.ServiceRecordList.AddRange(serviceRecords);
|
||||
@@ -3158,8 +3134,8 @@ namespace BeWoPlanerMobil.Controllers
|
||||
return Logout();
|
||||
}
|
||||
|
||||
TempData[TempDataConstants.IsInTransferModeKey] = null;
|
||||
TempData[TempDataConstants.AppointmentOidKey] = null;
|
||||
Model.TransferringAppointmentOid = null;
|
||||
Model.IsInTransferMode = false;
|
||||
|
||||
var bookingMode = "true,false" == pFormCollection[FormCollectionConstants.IsInGroupBookingModeKey] ? BookingMode.GroupBookingMode : BookingMode.SingleBookingMode;
|
||||
|
||||
@@ -3338,6 +3314,9 @@ namespace BeWoPlanerMobil.Controllers
|
||||
|
||||
ResetModel();
|
||||
|
||||
Model.TransferringAppointmentOid = null;
|
||||
Model.IsInTransferMode = false;
|
||||
|
||||
return RedirectToActionPermanent("Main");
|
||||
}
|
||||
|
||||
@@ -3351,6 +3330,9 @@ namespace BeWoPlanerMobil.Controllers
|
||||
return Logout();
|
||||
}
|
||||
|
||||
Model.TransferringAppointmentOid = null;
|
||||
Model.IsInTransferMode = false;
|
||||
|
||||
ResetModel();
|
||||
|
||||
return RedirectToScheduler();
|
||||
@@ -3364,8 +3346,6 @@ namespace BeWoPlanerMobil.Controllers
|
||||
return;
|
||||
}
|
||||
|
||||
TempData[TempDataConstants.AppointmentOidKey] = null;
|
||||
TempData[TempDataConstants.IsInTransferModeKey] = null;
|
||||
TempData[TempDataConstants.AfterValidationStateKey] = null;
|
||||
|
||||
Model.NewServiceRecord = new ServiceRecordDC();
|
||||
@@ -3889,16 +3869,12 @@ namespace BeWoPlanerMobil.Controllers
|
||||
Model.NewServiceRecord.InsUser = MobileSessionFacade.EmployeeFullname;
|
||||
Model.NewServiceRecord.IsCreatedInMobileClient = true;
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
if(Model.SetStartTimeToEndTimeAfterSave)
|
||||
{
|
||||
var previousStartDate = Model.IsInEditingMode ? Model.SelectedServiceRecord?.Start : Model.NewServiceRecord?.Start;
|
||||
var previousEndDate = Model.IsInEditingMode ? Model.SelectedServiceRecord?.End : Model.NewServiceRecord?.End;
|
||||
|
||||
if(!(previousStartDate is null) && !(previousEndDate is null))
|
||||
if(previousStartDate.HasValue && previousEndDate.HasValue)
|
||||
{
|
||||
var duration = (previousEndDate - previousStartDate).Value.TotalMinutes;
|
||||
|
||||
@@ -3938,7 +3914,7 @@ namespace BeWoPlanerMobil.Controllers
|
||||
/// <summary>
|
||||
/// Bereitet die Übernahme eines Termins in die Zeiterfassung vor. Wird im SchedulerController aufgerufen.
|
||||
/// </summary>
|
||||
/// <returns></returns>
|
||||
/// <returns>Main.cshtml</returns>
|
||||
[Authorize]
|
||||
public ActionResult PrepareServiceRecordInsert()
|
||||
{
|
||||
@@ -3948,11 +3924,11 @@ namespace BeWoPlanerMobil.Controllers
|
||||
return Logout();
|
||||
}
|
||||
|
||||
if (TempData[TempDataConstants.AppointmentOidKey] != null && Int64.TryParse(TempData[TempDataConstants.AppointmentOidKey].ToString(), out var appOid) && Model.LoggedInEmployee.EmployeeOid.HasValue)
|
||||
{
|
||||
TempData[TempDataConstants.IsInTransferModeKey] = true;
|
||||
Model.TransferringAppointmentOid = TempData[TempDataConstants.AppointmentOidKey] as long?;
|
||||
|
||||
var app = DAOFactory.GenericDAO.LoadByID<SchedulerAppointment>(appOid);
|
||||
if(Model.TransferringAppointmentOid.HasValue && Model.LoggedInEmployee.EmployeeOid.HasValue)
|
||||
{
|
||||
var app = DAOFactory.GenericDAO.LoadByID<SchedulerAppointment>(Model.TransferringAppointmentOid.Value);
|
||||
|
||||
var appointment = MapperFactory.SchedulerAppointmentDCSchedulerAppointment.MapToNewDC(app);
|
||||
|
||||
@@ -4092,7 +4068,8 @@ namespace BeWoPlanerMobil.Controllers
|
||||
|
||||
Model.SelectedServiceRecordOid = Model.SelectedServiceRecord?.ServiceRecordOid;
|
||||
|
||||
TempData[TempDataConstants.AppointmentOidKey] = appointment?.SchedulerAppointmentOid;
|
||||
Model.TransferringAppointmentOid = appointment.SchedulerAppointmentOid;
|
||||
Model.IsInTransferMode = true;
|
||||
}
|
||||
|
||||
return View("Main", Model);
|
||||
@@ -4356,8 +4333,8 @@ namespace BeWoPlanerMobil.Controllers
|
||||
return Logout();
|
||||
}
|
||||
|
||||
TempData[TempDataConstants.IsInTransferModeKey] = null;
|
||||
TempData[TempDataConstants.AppointmentOidKey] = null;
|
||||
Model.IsInTransferMode = false;
|
||||
Model.TransferringAppointmentOid = null;
|
||||
|
||||
try
|
||||
{
|
||||
|
||||
@@ -1437,6 +1437,7 @@ namespace BeWoPlanerMobil.Controllers
|
||||
|
||||
TempData[TempDataConstants.AppointmentOidKey] = appointmentListItem.SchedulerAppointment?.SchedulerAppointmentOid;
|
||||
|
||||
|
||||
return RedirectToActionPermanent("PrepareServiceRecordInsert", "Main");
|
||||
}
|
||||
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
using System.Collections.Generic;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using BS.Shared;
|
||||
using BS.Shared.DataContracts;
|
||||
using BS.Shared.Extensions;
|
||||
@@ -39,14 +40,43 @@ namespace BeWoPlanerMobil.Models
|
||||
get => typeof(MandatorSettings).GetPropertyValue(propertyName);
|
||||
set
|
||||
{
|
||||
var property = typeof(MandatorSettings).GetProperty(propertyName);
|
||||
var propertyInfo = typeof(MandatorSettings).GetProperty(propertyName);
|
||||
|
||||
if(property is null)
|
||||
if(propertyInfo is null)
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
typeof(MandatorSettings).SetPropertyValue(propertyName, value);
|
||||
if(value is null)
|
||||
{
|
||||
typeof(MandatorSettings).SetPropertyValue(propertyName, value);
|
||||
return;
|
||||
}
|
||||
|
||||
var propertyType = propertyInfo.PropertyType;
|
||||
|
||||
var valueToReplace = value;
|
||||
|
||||
if(propertyType == typeof(bool))
|
||||
{
|
||||
typeof(MandatorSettings).SetPropertyValue(propertyName, value.ToString() == "1");
|
||||
}
|
||||
else
|
||||
{
|
||||
try
|
||||
{
|
||||
valueToReplace = Convert.ChangeType(value, propertyType);
|
||||
}
|
||||
catch(Exception exception)
|
||||
{
|
||||
valueToReplace = value;
|
||||
}
|
||||
finally
|
||||
{
|
||||
typeof(MandatorSettings).SetPropertyValue(propertyName, valueToReplace);
|
||||
var setValue = typeof(MandatorSettings).GetPropertyValue(propertyName);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -61,14 +91,20 @@ namespace BeWoPlanerMobil.Models
|
||||
public bool IsEndDateVisible { get; set; }
|
||||
public bool IsServiceRecordNoticeMandatory { get; set; }
|
||||
public bool IsZeiterfassDateNormal { get; set; }
|
||||
|
||||
public bool SetStartTimeToEndTimeAfterSave { get; set; }
|
||||
public bool ShowAdditionalService { get; set; }
|
||||
public bool ShowAnnualReport { get; set; }
|
||||
public bool ShowArbeitszeiten { get; set; }
|
||||
public bool ShowBetrag { get; set; }
|
||||
public bool ShowChat { get; set; }
|
||||
public bool ShowCustomerDistanceFields { get; set; }
|
||||
private bool _ShowCustomerDistanceFields;
|
||||
|
||||
public bool ShowCustomerDistanceFields
|
||||
{
|
||||
get => _ShowCustomerDistanceFields;
|
||||
|
||||
set => _ShowCustomerDistanceFields = value;
|
||||
}
|
||||
public bool ShowDatevFields { get; set; }
|
||||
public bool ShowDienstplanung { get; set; }
|
||||
public bool ShowDistanceFields { get; set; }
|
||||
@@ -99,7 +135,6 @@ namespace BeWoPlanerMobil.Models
|
||||
public bool PrinterSettingsUseMargins { get; set; }
|
||||
public bool PrinterSettingsUsePaperKind { get; set; }
|
||||
public bool ShowResources { get; set; }
|
||||
|
||||
public int MaxDaysEditServiceRecordsAllowed { get; set; }
|
||||
public int ZeiterfassungsSchwellwert { get; set; }
|
||||
public int AnzTageZeiterfassErfolgt { get; set; }
|
||||
|
||||
@@ -5,7 +5,6 @@ using System.Diagnostics;
|
||||
using System.Linq;
|
||||
using System.Web.Mvc;
|
||||
using BeWo.View.Navigation.Filter;
|
||||
using BeWoPlanerMobil.Service;
|
||||
using BeWoPlanerMobil.Util;
|
||||
using BS.Shared;
|
||||
using BS.Shared.DataContracts;
|
||||
@@ -29,23 +28,48 @@ namespace BeWoPlanerMobil.Models
|
||||
ErrorWert = 1;
|
||||
}
|
||||
|
||||
public MainSessionModel MainSessionModel
|
||||
public MainSessionModel MainSessionModel => SessionModel as MainSessionModel;
|
||||
|
||||
public bool SessionInitialized
|
||||
{
|
||||
get
|
||||
{
|
||||
return SessionModel as MainSessionModel;
|
||||
}
|
||||
get => MainSessionModel.SessionInitialized;
|
||||
set => MainSessionModel.SessionInitialized = value;
|
||||
}
|
||||
|
||||
public bool SessionInitialized { get { return MainSessionModel.SessionInitialized; } set { MainSessionModel.SessionInitialized = value; } }
|
||||
|
||||
[Display(Name = "Nur meine Klienten anzeigen")]
|
||||
public bool ShowOnlyOwnSupportConcepts { get { return MainSessionModel.ShowOnlyOwnSupportConcepts; } set { MainSessionModel.ShowOnlyOwnSupportConcepts = value; } }
|
||||
public bool ShowOnlyOwnSupportConcepts
|
||||
{
|
||||
get => MainSessionModel.ShowOnlyOwnSupportConcepts;
|
||||
set => MainSessionModel.ShowOnlyOwnSupportConcepts = value;
|
||||
}
|
||||
|
||||
[Display(Name = "Nur Klienten meiner Teams anzeigen")]
|
||||
public bool ShowOnlyMyTeamsSupportConcepts { get { return MainSessionModel.ShowOnlyMyTeamsSupportConcepts; } set { MainSessionModel.ShowOnlyMyTeamsSupportConcepts = value; } }
|
||||
public bool ShowOnlyMyTeamsSupportConcepts
|
||||
{
|
||||
get => MainSessionModel.ShowOnlyMyTeamsSupportConcepts;
|
||||
set => MainSessionModel.ShowOnlyMyTeamsSupportConcepts = value;
|
||||
}
|
||||
|
||||
public CustomerFilterEnum SelectedSupportConceptFilter { get { return MainSessionModel.SelectedSupportConceptFilter; } set { MainSessionModel.SelectedSupportConceptFilter = value; } }
|
||||
public CustomerFilterEnum SelectedSupportConceptFilter
|
||||
{
|
||||
get => MainSessionModel.SelectedSupportConceptFilter;
|
||||
set => MainSessionModel.SelectedSupportConceptFilter = value;
|
||||
}
|
||||
|
||||
public long? TransferringAppointmentOid
|
||||
{
|
||||
get => MainSessionModel.TransferringAppointmentOid;
|
||||
|
||||
set
|
||||
{
|
||||
var callingMethodName = new StackTrace().GetFrame(1).GetMethod().Name;
|
||||
|
||||
Debug.WriteLine($">>>>{callingMethodName} ändert TransferringAppointment von {MainSessionModel.TransferringAppointmentOid} zu {value}");
|
||||
|
||||
MainSessionModel.TransferringAppointmentOid = value;
|
||||
}
|
||||
}
|
||||
public bool IsInTransferMode { get; set; }
|
||||
|
||||
public List<SelectListItem> SupportConceptFilter
|
||||
{
|
||||
@@ -113,14 +137,28 @@ namespace BeWoPlanerMobil.Models
|
||||
}
|
||||
|
||||
[Display(Name = "Abgelaufene Hilfepläne anzeigen")]
|
||||
public bool ShowExpiredSupportConcepts { get { return MainSessionModel.ShowExpiredSupportConcepts; } set { MainSessionModel.ShowExpiredSupportConcepts = value; } }
|
||||
public bool ShowExpiredSupportConcepts
|
||||
{
|
||||
get => MainSessionModel.ShowExpiredSupportConcepts;
|
||||
set => MainSessionModel.ShowExpiredSupportConcepts = value;
|
||||
}
|
||||
|
||||
[Display(Name = "Hilfeplan")]
|
||||
public long? SelectedCostBearerSupportConceptOid { get { return MainSessionModel.SelectedCostBearerSupportConceptOid; } set { MainSessionModel.SelectedCostBearerSupportConceptOid = value; } }
|
||||
public long? SelectedCostBearerSupportConceptOid
|
||||
{
|
||||
get => MainSessionModel.SelectedCostBearerSupportConceptOid;
|
||||
set => MainSessionModel.SelectedCostBearerSupportConceptOid = value;
|
||||
}
|
||||
|
||||
public long? SelectedServiceCategoryOid { get { return MainSessionModel.SelectedServiceCategoryOid; } set { MainSessionModel.SelectedServiceCategoryOid = value; } }
|
||||
public long? SelectedServiceCategoryOid
|
||||
{
|
||||
get => MainSessionModel.SelectedServiceCategoryOid;
|
||||
set => MainSessionModel.SelectedServiceCategoryOid = value;
|
||||
}
|
||||
|
||||
public long? SelectedServiceDescriptionOid { get { return MainSessionModel.SelectedServiceDescriptionOid; } set { MainSessionModel.SelectedServiceDescriptionOid = value; } }
|
||||
public long? SelectedServiceDescriptionOid { get => MainSessionModel.SelectedServiceDescriptionOid;
|
||||
set => MainSessionModel.SelectedServiceDescriptionOid = value;
|
||||
}
|
||||
|
||||
|
||||
public bool IsAllowedToDeleteServiceRecord(ServiceRecordDC serviceRecord)
|
||||
@@ -195,11 +233,19 @@ namespace BeWoPlanerMobil.Models
|
||||
return allowed;
|
||||
}
|
||||
|
||||
public long? SelectedServiceRecordOid { get { return MainSessionModel.SelectedServiceRecordOid; } set { MainSessionModel.SelectedServiceRecordOid = value; } }
|
||||
public long? SelectedServiceRecordOid
|
||||
{
|
||||
get => MainSessionModel.SelectedServiceRecordOid;
|
||||
set => MainSessionModel.SelectedServiceRecordOid = value;
|
||||
}
|
||||
|
||||
public ServiceRecordDC SelectedServiceRecord { get; set; }
|
||||
|
||||
//public long? SelectedSupportConceptOid { get { return MainSessionModel.SelectedSupportConceptOid; } set { MainSessionModel.SelectedSupportConceptOid = value; } }
|
||||
public long? SelectedSupportConceptOid
|
||||
{
|
||||
get => MainSessionModel.SelectedSupportConceptOid;
|
||||
set => MainSessionModel.SelectedSupportConceptOid = value;
|
||||
}
|
||||
|
||||
public SupportConceptDC SelectedSupportConcept { get; set; }
|
||||
|
||||
@@ -209,7 +255,11 @@ namespace BeWoPlanerMobil.Models
|
||||
|
||||
public bool ShowSignature { get; set; }
|
||||
|
||||
public long LastCreatedServiceRecordOid { get { return MainSessionModel.LastCreatedServiceRecordOid; } set { MainSessionModel.LastCreatedServiceRecordOid = value; } }
|
||||
public long LastCreatedServiceRecordOid
|
||||
{
|
||||
get => MainSessionModel.LastCreatedServiceRecordOid;
|
||||
set => MainSessionModel.LastCreatedServiceRecordOid = value;
|
||||
}
|
||||
|
||||
public List<SupportConceptDC> SupportConcepts { get; set; }
|
||||
|
||||
@@ -223,17 +273,22 @@ namespace BeWoPlanerMobil.Models
|
||||
{
|
||||
get
|
||||
{
|
||||
if(_ServiceRecords == null)
|
||||
if(_ServiceRecords is null)
|
||||
{
|
||||
return _ServiceRecords = new List<ServiceRecordDC>();
|
||||
}
|
||||
|
||||
return _ServiceRecords.OrderByDescending(sr => sr.Start).ToList();
|
||||
}
|
||||
|
||||
set => _ServiceRecords = value;
|
||||
}
|
||||
|
||||
public List<long> SelectedGoalOids { get { return MainSessionModel.SelectedGoalOids; } set { MainSessionModel.SelectedGoalOids = value; } }
|
||||
public List<long> SelectedGoalOids
|
||||
{
|
||||
get => MainSessionModel.SelectedGoalOids;
|
||||
set => MainSessionModel.SelectedGoalOids = value;
|
||||
}
|
||||
|
||||
private List<ValueListEntryDC> _SelectedGoals;
|
||||
|
||||
@@ -282,7 +337,7 @@ namespace BeWoPlanerMobil.Models
|
||||
|
||||
public List<long> SelectedConceptCostBearerRelationOids { get { return MainSessionModel.SelectedConceptCostBearerRelations; } set { MainSessionModel.SelectedConceptCostBearerRelations = value; } }
|
||||
|
||||
public List<SupportConceptCostBearerRelDC> SelectedConceptCostBearerRelations { get; set; }
|
||||
public List<SupportConceptCostBearerRelDC> SelectedConceptCostBearerRelations { get; set; } = new List<SupportConceptCostBearerRelDC>();
|
||||
|
||||
public GroupBookingSelectionObject GroupBookingSelectionObject => new GroupBookingSelectionObject(SelectedConceptCostBearerRelations, GroupBookingSelectedGroupOfPeopleOids);
|
||||
|
||||
@@ -321,7 +376,11 @@ namespace BeWoPlanerMobil.Models
|
||||
public List<CompactEmployeeDC> AllEmployees { get; set; }
|
||||
|
||||
[Display(Name = "Mitarbeiter")]
|
||||
public long? SelectedEmployeeOid { get { return MainSessionModel.SelectedEmployeeOid; } set { MainSessionModel.SelectedEmployeeOid = value; } }
|
||||
public long? SelectedEmployeeOid
|
||||
{
|
||||
get => MainSessionModel.SelectedEmployeeOid;
|
||||
set => MainSessionModel.SelectedEmployeeOid = value;
|
||||
}
|
||||
|
||||
public CompactEmployeeDC SelectedEmployee { get; set; }
|
||||
|
||||
@@ -352,7 +411,7 @@ namespace BeWoPlanerMobil.Models
|
||||
{
|
||||
var end = relation.ApprovedEndDate ?? relation.RequestedEndDate;
|
||||
|
||||
if(maxDate == null || end != null && end.Value > maxDate.Value)
|
||||
if(maxDate is null || end != null && end.Value > maxDate.Value)
|
||||
{
|
||||
maxDate = end;
|
||||
}
|
||||
@@ -767,7 +826,7 @@ namespace BeWoPlanerMobil.Models
|
||||
|
||||
foreach(var sc in SupportConcepts.OrderBy(sc => sc.Customer.LastName))
|
||||
{
|
||||
allCostbearerRelations.AddRange(sc.CostBearerRelations.Where(w => ShowExpiredSupportConcepts || w.EndDate == null || w.EndDate.Value >= DateTime.Now).Select(
|
||||
allCostbearerRelations.AddRange(sc.CostBearerRelations.Where(w => ShowExpiredSupportConcepts || w.EndDate is null || w.EndDate.Value >= DateTime.Now).Select(
|
||||
cb => new CostBearer2SupportConceptRelListObject(
|
||||
$"{sc.Customer.SimpleDescription} {(sc.Customer.DateOfBirth.HasValue ? "*" + sc.Customer.DateOfBirth.Value.ToString("dd.MM.yyyy") : string.Empty)}",
|
||||
$"{cb.AuswahlBezeichnung} {cb.StartDate?.ToShortDateString().Remove(6, 2) ?? string.Empty}-{cb.EndDate?.ToShortDateString().Remove(6, 2) ?? string.Empty} {cb.CostBearer.Name}",
|
||||
|
||||
@@ -1,16 +1,7 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
using System.Linq;
|
||||
using System.Web.Mvc;
|
||||
using BeWo.View.Navigation.Filter;
|
||||
using BeWoPlanerMobil.Controllers;
|
||||
using BeWoPlanerMobil.Service;
|
||||
using BeWoPlanerMobil.Util;
|
||||
using BS.Shared;
|
||||
using BS.Shared.DataContracts;
|
||||
using BS.Shared.DataContracts.Compact;
|
||||
using DevExpress.XtraReports.UI;
|
||||
|
||||
namespace BeWoPlanerMobil.Models
|
||||
{
|
||||
@@ -46,6 +37,7 @@ namespace BeWoPlanerMobil.Models
|
||||
public int CurrentPage { get; internal set; }
|
||||
public List<long> SelectedGoalOids { get; internal set; }
|
||||
public long LastCreatedServiceRecordOid { get; internal set; }
|
||||
public long? TransferringAppointmentOid { get; internal set; }
|
||||
|
||||
public void ResetValues()
|
||||
{
|
||||
@@ -83,6 +75,8 @@ namespace BeWoPlanerMobil.Models
|
||||
|
||||
CurrentPage = 0;
|
||||
LastCreatedServiceRecordOid = 0;
|
||||
|
||||
TransferringAppointmentOid = null;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -71,8 +71,6 @@
|
||||
public class TempDataConstants
|
||||
{
|
||||
public static string ShowSignatureSuggestionPopup => "ShowSignatureSuggestionPopup";
|
||||
public static string AppointmentOidKey => "AppointmentOid";
|
||||
public static string IsInTransferModeKey => "IsInTransferMode";
|
||||
public static string AfterValidationStateKey => "AfterValidation";
|
||||
public static string PwChErrKey => "passwd-change-error";
|
||||
public static string ShowPwChPopupKey => "show_pw_change_popup";
|
||||
@@ -85,5 +83,6 @@
|
||||
public static string ErrorAlertPopupMessage => "ErrorAlertPopupMessage";
|
||||
public static string InfoMessageKey => "InfoMessage";
|
||||
public static string ReportMessageKey => "ReportMessage";
|
||||
public static string AppointmentOidKey => "AppointmentOid";
|
||||
}
|
||||
}
|
||||
@@ -338,7 +338,7 @@
|
||||
@* dient nur als Abstandshalter *@
|
||||
</div>
|
||||
<div class="ml-3 bd-highlight">
|
||||
@if(TempData[TempDataConstants.IsInTransferModeKey] is bool isInTransferMode && isInTransferMode)
|
||||
@if(Model.IsInTransferMode)
|
||||
{
|
||||
using(Html.BeginForm("ResetTransferMode", "Main", FormMethod.Post))
|
||||
{
|
||||
|
||||
@@ -114,114 +114,121 @@
|
||||
window.saveCollapsibleState($(this).attr("id"), "@Url.Action("SaveCollapsibleStatus")");
|
||||
});
|
||||
|
||||
@if(TempData[TempDataConstants.PwChErrKey] is string passwordChangeError)
|
||||
{
|
||||
<text>
|
||||
$("#password-change-error-alert").html("@passwordChangeError");
|
||||
$("#password-change-error-alert").removeClass("d-none");
|
||||
$("#password-changing-popup").modal("show");
|
||||
@if(TempData[TempDataConstants.PwChErrKey] is string passwordChangeError)
|
||||
{
|
||||
<text>
|
||||
$("#password-change-error-alert").html("@passwordChangeError");
|
||||
$("#password-change-error-alert").removeClass("d-none");
|
||||
$("#password-changing-popup").modal("show");
|
||||
|
||||
$(".pw-prepend").ready(calcChPwPrepend);
|
||||
</text>
|
||||
}
|
||||
$(".pw-prepend").ready(calcChPwPrepend);
|
||||
</text>
|
||||
}
|
||||
|
||||
const supportConceptOid = parseInt($("#CostBearer2SupportConceptOid").val());
|
||||
const supportConceptOid = parseInt($("#CostBearer2SupportConceptOid").val());
|
||||
|
||||
const isSupportConceptSelected = supportConceptOid !== -1;
|
||||
const isSupportConceptSelected = supportConceptOid !== -1;
|
||||
|
||||
$("#single-booking-employee-container").find(".dropdown-toggle").prop("disabled", (isSupportConceptSelected ? false : true));
|
||||
$("#single-booking-employee-container").find(".dropdown-toggle").prop("disabled", (isSupportConceptSelected ? false : true));
|
||||
|
||||
$(
|
||||
$(
|
||||
"#employeesDropDown, " +
|
||||
"#category-select, " +
|
||||
"#leistung-select, " +
|
||||
"#sb-start-date-input, #sb-end-date-input, #sb-start-time-input, #sb-end-time-input, " +
|
||||
"#sb-duration-input, #sb-hours-minutes-dropdown-btn, #sb-distance-input, " +
|
||||
"#sb-start-date-input, #sb-end-date-input, #sb-start-time-input, #sb-end-time-input, " +
|
||||
"#sb-duration-input, #sb-hours-minutes-dropdown-btn, #sb-distance-input, " +
|
||||
|
||||
"#gb-start-date-input, #gb-end-date-input, #gb-start-time-input, #gb-end-time-input, " +
|
||||
"#gb-duration-input, #gb-hours-minutes-dropdown-btn, #gb-distance-input, " +
|
||||
"#gb-start-date-input, #gb-end-date-input, #gb-start-time-input, #gb-end-time-input, " +
|
||||
"#gb-duration-input, #gb-hours-minutes-dropdown-btn, #gb-distance-input, " +
|
||||
|
||||
"#mb-start-date-input, #mb-end-date-input, #mb-start-time-input, #mb-end-time-input, " +
|
||||
"#mb-duration-input, #mb-hours-minutes-dropdown-btn, #mb-distance-input," +
|
||||
".sb-restore-btn, .gb-restore-btn, .mb-restore-btn" +
|
||||
"#mb-start-date-input, #mb-end-date-input, #mb-start-time-input, #mb-end-time-input, " +
|
||||
"#mb-duration-input, #mb-hours-minutes-dropdown-btn, #mb-distance-input," +
|
||||
".sb-restore-btn, .gb-restore-btn, .mb-restore-btn" +
|
||||
|
||||
"#textbausteine-button, " +
|
||||
"#goals-button, " +
|
||||
"textarea, " +
|
||||
"#reset-button, " +
|
||||
"#create-button, " +
|
||||
"#statistics-button, " +
|
||||
"#timeFrameSelect, " +
|
||||
"#marker-cb, " +
|
||||
"#betrag"
|
||||
"#textbausteine-button, " +
|
||||
"#goals-button, " +
|
||||
"textarea, " +
|
||||
"#reset-button, " +
|
||||
"#create-button, " +
|
||||
"#statistics-button, " +
|
||||
"#timeFrameSelect, " +
|
||||
"#marker-cb, " +
|
||||
"#betrag"
|
||||
).prop("disabled", (isSupportConceptSelected ? false : true));
|
||||
|
||||
if("@Model.IsInGroupBookingMode".toLowerCase() === "true") {
|
||||
const hasSelectedSupportConcepts = "@Model.SelectedConceptCostBearerRelations.Any()".toLowerCase() === "true";
|
||||
if("@Model.IsInGroupBookingMode".toLowerCase() === "true") {
|
||||
const hasSelectedSupportConcepts = "@Model.SelectedConceptCostBearerRelations.Any()".toLowerCase() === "true";
|
||||
|
||||
$(
|
||||
"#employees-button, " +
|
||||
"#category-select, " +
|
||||
"#leistung-select, " +
|
||||
"#gb-start-date-input, " +
|
||||
"#gb-end-date-input, " +
|
||||
"#gb-start-time-input, " +
|
||||
"#gb-end-time-input, " +
|
||||
"#gb-duration-input, " +
|
||||
"#distance, " +
|
||||
"textarea, " +
|
||||
"#reset-button, " +
|
||||
"#create-button, " +
|
||||
"#textbausteine-button, " +
|
||||
"#gb-hours-minutes-dropdown-btn, " +
|
||||
"#marker-cb, " +
|
||||
"#betrag," +
|
||||
".gb-restore-btn"
|
||||
).prop("disabled", (hasSelectedSupportConcepts ? false : true));
|
||||
}
|
||||
$(
|
||||
"#employees-button, " +
|
||||
"#category-select, " +
|
||||
"#leistung-select, " +
|
||||
"#gb-start-date-input, " +
|
||||
"#gb-end-date-input, " +
|
||||
"#gb-start-time-input, " +
|
||||
"#gb-end-time-input, " +
|
||||
"#gb-duration-input, " +
|
||||
"#distance, " +
|
||||
"textarea, " +
|
||||
"#reset-button, " +
|
||||
"#create-button, " +
|
||||
"#textbausteine-button, " +
|
||||
"#gb-hours-minutes-dropdown-btn, " +
|
||||
"#marker-cb, " +
|
||||
"#betrag," +
|
||||
".gb-restore-btn"
|
||||
).prop("disabled", (hasSelectedSupportConcepts ? false : true));
|
||||
}
|
||||
|
||||
$("#fehlerdetail-textarea").prop("disabled", false);
|
||||
$("#fehlerdetail-textarea").prop("disabled", false);
|
||||
|
||||
if ("@Model.IsInMultiBookingMode".toLowerCase() === "true") {
|
||||
const isMultiBookingFormDisabled = "@Model.SelectedConceptCostBearerRelations.Any()".toLowerCase() === "false";
|
||||
|
||||
window.toggleMultiBookingForm(isMultiBookingFormDisabled);
|
||||
}
|
||||
window.toggleMultiBookingForm(isMultiBookingFormDisabled);
|
||||
}
|
||||
|
||||
initializeSignatureImagePopup();
|
||||
initializeSignatureImagePopup();
|
||||
|
||||
@if(TempData[TempDataConstants.ShowPwChPopupKey] is string passwordWarning && !string.IsNullOrEmpty(passwordWarning))
|
||||
{
|
||||
<text>
|
||||
showMessagePopupWithHtml("Achtung!", "@Html.Raw(passwordWarning)");
|
||||
</text>
|
||||
}
|
||||
@if(TempData[TempDataConstants.ShowPwChPopupKey] is string passwordWarning && !string.IsNullOrEmpty(passwordWarning))
|
||||
{
|
||||
<text>
|
||||
showMessagePopupWithHtml("Achtung!", "@Html.Raw(passwordWarning)");
|
||||
</text>
|
||||
}
|
||||
|
||||
setInputFilter();
|
||||
setInputFilter();
|
||||
|
||||
@if(Model.IsInGroupBookingMode)
|
||||
{
|
||||
<text>
|
||||
$("#create-button").prop("disabled", @Model.GroupBookingSelectedEmployees.Count === 0 ? true : false);
|
||||
</text>
|
||||
}
|
||||
@if(Model.IsInGroupBookingMode)
|
||||
{
|
||||
<text>
|
||||
$("#create-button").prop("disabled", @Model.GroupBookingSelectedEmployees.Count === 0 ? true : false);
|
||||
</text>
|
||||
}
|
||||
|
||||
@{
|
||||
var shouldShowSignaturePopup = TempData[TempDataConstants.ShowSignatureSuggestionPopup]?.GetType() == typeof(bool) && (bool) TempData[TempDataConstants.ShowSignatureSuggestionPopup];
|
||||
@{
|
||||
var shouldShowSignaturePopup = TempData[TempDataConstants.ShowSignatureSuggestionPopup]?.GetType() == typeof(bool) && (bool) TempData[TempDataConstants.ShowSignatureSuggestionPopup];
|
||||
|
||||
if(Model.LastCreatedServiceRecordOid > 0)
|
||||
{
|
||||
if(shouldShowSignaturePopup && Model.ShowSignature)
|
||||
{
|
||||
<text>
|
||||
showMessagePopupWithCallback("Erfolgreich gespeichert", "Möchten Sie den Eintrag unterschreiben lassen?", function() {
|
||||
initializeSignature(@Model.LastCreatedServiceRecordOid);
|
||||
}, false);
|
||||
</text>
|
||||
}
|
||||
}
|
||||
}
|
||||
} catch(error) {
|
||||
if(Model.LastCreatedServiceRecordOid > 0)
|
||||
{
|
||||
if(shouldShowSignaturePopup && Model.ShowSignature)
|
||||
{
|
||||
<text>
|
||||
showMessagePopupWithCallback("Erfolgreich gespeichert", "Möchten Sie den Eintrag unterschreiben lassen?", function() {
|
||||
initializeSignature(@Model.LastCreatedServiceRecordOid);
|
||||
}, false);
|
||||
</text>
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@if(TempData[TempDataConstants.AppointmentOidKey] is long && false == Model.IsInGroupBookingMode && false == Model.IsInMultiBookingMode)
|
||||
{
|
||||
<text>
|
||||
loadServiceRecords();
|
||||
</text>
|
||||
}
|
||||
} catch(error) {
|
||||
window.showErrorPopup(error);
|
||||
}
|
||||
});
|
||||
@@ -715,7 +722,7 @@
|
||||
<button type="submit" class="btn btn-primary" onclick="showSpinner()">Schließen</button>
|
||||
}
|
||||
}
|
||||
else if (TempData[TempDataConstants.IsInTransferModeKey] is bool isInTransferMode && isInTransferMode)
|
||||
else if(Model.IsInTransferMode)
|
||||
{
|
||||
using(Html.BeginForm("ResetTransferMode", "Main", FormMethod.Post))
|
||||
{
|
||||
|
||||
@@ -579,7 +579,8 @@
|
||||
</li>
|
||||
}
|
||||
@{
|
||||
var nextButtonsClass = Model.CurrentPage == Model.ServiceRecordPageCount || Model.ServiceRecordPageCount < 6 ? "disabled" : string.Empty;
|
||||
//var nextButtonsClass = Model.CurrentPage == Model.ServiceRecordPageCount || Model.ServiceRecordPageCount < 6 ? "disabled" : string.Empty;
|
||||
var nextButtonsClass = Model.CurrentPage == Model.ServiceRecordPageCount ? "disabled" : string.Empty;
|
||||
}
|
||||
<li class="page-item @nextButtonsClass">
|
||||
<button type="button" class="page-link" tabindex="-1" onclick="goToServiceRecordListPage(@nextPage)">
|
||||
|
||||
@@ -519,7 +519,7 @@
|
||||
<button type="submit" class="btn btn-primary float-right" onclick="showSpinner()">Abbrechen</button>
|
||||
}
|
||||
}
|
||||
else if(TempData[TempDataConstants.IsInTransferModeKey] is bool isInTransferMode && isInTransferMode)
|
||||
else if(Model.IsInTransferMode)
|
||||
{
|
||||
using(Html.BeginForm("ResetTransferMode", "Main", FormMethod.Post))
|
||||
{
|
||||
|
||||
@@ -1,12 +1,7 @@
|
||||
using BeWo.Data.Entities;
|
||||
using BeWo.Data.Entities.Light;
|
||||
using BS.Shared.Core;
|
||||
using NHibernate.Criterion;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace BeWo.Data.Access
|
||||
{
|
||||
|
||||
@@ -830,6 +830,6 @@ namespace BeWo.Data.Entities
|
||||
public virtual string SenderStreet => SenderAddress?.Street;
|
||||
public virtual string SenderTown => SenderAddress?.Town;
|
||||
public virtual string SenderPostCode => SenderAddress?.PostalCode;
|
||||
public virtual IList<IInvoiceItem> IInvoiceItems => InvoiceItems.Select(x => x as IInvoiceItem).ToList();
|
||||
public virtual IEnumerable<IInvoiceItem> IInvoiceItems => InvoiceItems.Select(x => x as IInvoiceItem).ToList();
|
||||
}
|
||||
}
|
||||
@@ -1,6 +1,4 @@
|
||||
using System.Collections.Generic;
|
||||
using System.Diagnostics;
|
||||
using BS.Shared;
|
||||
using System.Diagnostics;
|
||||
using BS.Shared.Interface;
|
||||
|
||||
namespace BeWo.Data.Entities.Light
|
||||
|
||||
@@ -1,7 +1,5 @@
|
||||
using System.Collections.Generic;
|
||||
|
||||
using BS.Shared;
|
||||
using BS.Shared.DataContracts;
|
||||
|
||||
namespace BeWo.Data.Entities
|
||||
{
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
ALTER TABLE `organisation`
|
||||
ADD COLUMN `HausanschriftAddressOid` BIGINT NULL DEFAULT NULL AFTER `CostBearerOid`,
|
||||
ADD COLUMN `PostfachanschriftAddressOid` BIGINT NULL DEFAULT NULL AFTER `HausanschriftAddressOid`,
|
||||
ADD COLUMN `GroßkundenanschriftAddressOid` BIGINT NULL DEFAULT NULL AFTER `PostfachanschriftAddressOid`,
|
||||
ADD COLUMN `GrosskundenanschriftAddressOid` BIGINT NULL DEFAULT NULL AFTER `PostfachanschriftAddressOid`,
|
||||
ADD INDEX `FK_ORGANISA_HAUSADD_idx` (`HausanschriftAddressOid` ASC) VISIBLE,
|
||||
ADD INDEX `FK_ORGANISA_POSTADD_idx` (`PostfachanschriftAddressOid` ASC) VISIBLE,
|
||||
ADD INDEX `FK_ORGANISA_GROSADD_idx` (`GroßkundenanschriftAddressOid` ASC) VISIBLE;
|
||||
ADD INDEX `FK_ORGANISA_GROSADD_idx` (`GrosskundenanschriftAddressOid` ASC) VISIBLE;
|
||||
;
|
||||
ALTER TABLE `organisation`
|
||||
ADD CONSTRAINT `FK_ORGANISA_HAUSADD`
|
||||
@@ -18,7 +18,7 @@ ADD CONSTRAINT `FK_ORGANISA_POSTADD`
|
||||
ON DELETE CASCADE
|
||||
ON UPDATE CASCADE,
|
||||
ADD CONSTRAINT `FK_ORGANISA_GROSADD`
|
||||
FOREIGN KEY (`GroßkundenanschriftAddressOid`)
|
||||
FOREIGN KEY (`GrosskundenanschriftAddressOid`)
|
||||
REFERENCES `address` (`Oid`)
|
||||
ON DELETE CASCADE
|
||||
ON UPDATE CASCADE;
|
||||
@@ -48,6 +48,9 @@ namespace BeWo.Report.DefaultReports
|
||||
}
|
||||
lblAddress.Text = sb.ToString();
|
||||
|
||||
if (pRO.RecipientSalutation == "Sehr geehrte Damen und Herren,")
|
||||
pRO.RecipientSalutation = "Guten Tag,";
|
||||
|
||||
this.bindingSource1.DataSource = pRO;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -348,7 +348,7 @@ namespace BeWo.Report.DefaultReports
|
||||
if (abwesenheit.AbsenceSpan.ContainsDate(new DateTime(monthAndYear.Year, monthAndYear.Month, tag)))
|
||||
{
|
||||
cell.Row.Cells[index].BackColor = Color.White;
|
||||
cell.Row.Cells[index].Text = abwesenheit.Reason.Description[0].ToString();
|
||||
cell.Row.Cells[index].Text = abwesenheit.Reason.Description[0].ToString(); // Der Text erscheint nicht, scheint überschrieben zu werden
|
||||
cell.Row.Cells[index].ForeColor = Color.Red;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -28,7 +28,7 @@ namespace BeWo.Report.DefaultReports
|
||||
|
||||
if (pRO.CustomerSalutation.IsNullOrEmpty())
|
||||
{
|
||||
lblAnrede.Text = "Guten Tag " + pRO.CustomerFirstName + " " + pRO.CustomerLastName + ",";
|
||||
lblAnrede.Text = "Guten Tag,";
|
||||
}
|
||||
|
||||
SetzeAdresse(pRO);
|
||||
|
||||
@@ -81,7 +81,7 @@ namespace BeWo.Report.DefaultReports.Alt
|
||||
|
||||
if (pRO.Salutation1.IsNullOrEmpty() && pRO.Salutation2.IsNullOrEmpty())
|
||||
{
|
||||
lblAnrede.Text = "Guten Tag " + pRO.CustomerFirstName + " " + pRO.CustomerLastName + ",";
|
||||
lblAnrede.Text = "Guten Tag,";
|
||||
}
|
||||
|
||||
this.bindingSource1.DataSource = pRO;
|
||||
|
||||
@@ -52,7 +52,7 @@ namespace BeWo.Report.DefaultReports
|
||||
|
||||
if (pRO.Salutation1.IsNullOrEmpty() && pRO.Salutation2.IsNullOrEmpty())
|
||||
{
|
||||
lblAnrede.Text = "Guten Tag " + pRO.CustomerFirstName + " " + pRO.CustomerLastName + ",";
|
||||
lblAnrede.Text = "Guten Tag,";
|
||||
}
|
||||
|
||||
this.bindingSource1.DataSource = pRO;
|
||||
|
||||
@@ -335,6 +335,10 @@ namespace BeWo.Report.ReportObjects
|
||||
lResult.ApprovalNoticeDate = pDC.ApprovalNoticeDate.Value;
|
||||
lResult.CustomerReferenceNumberAndDate += " - Bewilligungsbescheid vom " + String.Format("{0:dd.MM.yyyy}", pDC.ApprovalNoticeDate);
|
||||
}
|
||||
else if (lCb2Sc.SupportConcept.ApprovalDate != null)
|
||||
{
|
||||
lResult.ApprovalNoticeDate = lCb2Sc.SupportConcept.ApprovalDate.Value;
|
||||
}
|
||||
|
||||
lResult.InvoiceDate = pDC.InvoiceDate.Value;
|
||||
lResult.InvoiceNumber = pDC.InvoiceNumber;
|
||||
|
||||
@@ -63,6 +63,12 @@
|
||||
<Reference Include="System.Xml" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Compile Include="Finanzauswertung.cs">
|
||||
<SubType>Component</SubType>
|
||||
</Compile>
|
||||
<Compile Include="Finanzauswertung.designer.cs">
|
||||
<DependentUpon>Finanzauswertung.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="Invoicing\SettlementInvoiceCreation.cs" />
|
||||
<Compile Include="Properties\AssemblyInfo.cs" />
|
||||
<Compile Include="SettlementReport2.cs">
|
||||
@@ -91,6 +97,10 @@
|
||||
</ProjectReference>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<EmbeddedResource Include="Finanzauswertung.resx">
|
||||
<DependentUpon>Finanzauswertung.cs</DependentUpon>
|
||||
<SubType>Designer</SubType>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="Properties\licenses.licx" />
|
||||
<EmbeddedResource Include="SettlementReport2.resx">
|
||||
<DependentUpon>SettlementReport2.cs</DependentUpon>
|
||||
|
||||
81
ReportImp/ASBBergischLandWuppertal/Finanzauswertung.cs
Normal file
81
ReportImp/ASBBergischLandWuppertal/Finanzauswertung.cs
Normal file
@@ -0,0 +1,81 @@
|
||||
using System;
|
||||
using System.Linq;
|
||||
using BeWo.Report;
|
||||
using BeWo.Report.ReportObjects;
|
||||
|
||||
namespace ASBBergischLandWuppertal
|
||||
{
|
||||
public partial class Finanzauswertung : DevExpress.XtraReports.UI.XtraReport, IBeWoReport<FinanceRO>
|
||||
{
|
||||
public Finanzauswertung()
|
||||
{
|
||||
InitializeComponent();
|
||||
}
|
||||
|
||||
public void SetReportDataSource(FinanceRO pRO)
|
||||
{
|
||||
pRO.CalculateBillableAmountInReportTimeSpan();
|
||||
|
||||
if (pRO.ReportStartDate.HasValue && pRO.ReportEndDate.HasValue)
|
||||
{
|
||||
DateTime start = pRO.ReportStartDate.Value;
|
||||
DateTime end = pRO.ReportEndDate.Value;
|
||||
|
||||
if (start.Year == end.Year && start.Month == end.Month && start.Day == 1 &&
|
||||
end.Day == DateTime.DaysInMonth(end.Year, end.Month))
|
||||
{
|
||||
lblTitel.Text = String.Format("Finanzauswertung {0:MMMM yyyy}", start);
|
||||
cellBewilligtImZeitraumHeader.Text = String.Format("bewilligte FLS {0:MMMM}", start);
|
||||
cellGeleistetImZeitraumHeader.Text = String.Format("geleistete Std. {0:MMMM}", start);
|
||||
cellFehlkontakteHeader.Text = String.Format("Fehl-\nkontakte {0:MMMM}", start);
|
||||
}
|
||||
else
|
||||
{
|
||||
lblTitel.Text = String.Format("Finanzauswertung {0:dd.MM.yyyy}-{1:dd.MM.yyyy}", start, end);
|
||||
cellBewilligtImZeitraumHeader.Text = String.Format("bewilligte FLS {0:dd.MM.yyyy}-{1:dd.MM.yyyy}", start, end);
|
||||
cellGeleistetImZeitraumHeader.Text = String.Format("geleistete Std. {0:dd.MM.yyyy}-{1:dd.MM.yyyy}", start, end);
|
||||
//cellFehlkontakteHeader.Text = String.Format("Fehl-\nkontakte {0:dd.MM.yyyy}-{1:dd.MM.yyyy}", start, end);
|
||||
}
|
||||
if (pRO.RateFactor.HasValue)
|
||||
{
|
||||
cellRateFactorHeader.Text = String.Format("geleistete Std. x {0:0.##}", pRO.RateFactor);
|
||||
}
|
||||
else
|
||||
{
|
||||
//cellRateFactorHeader.Visible = false;
|
||||
//cellRateFactor.Visible = false;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
cellBewilligtImZeitraumHeader.Visible = false;
|
||||
cellBewilligteFLSImBereich.Visible = false;
|
||||
cellGeleistetImBereich.Visible = false;
|
||||
cellGeleistetImZeitraumHeader.Visible = false;
|
||||
cellRateFactorHeader.Visible = false;
|
||||
cellRateFactor.Visible = false;
|
||||
}
|
||||
|
||||
if (pRO.GruppierungLeistungskategorie && pRO.SupportConceptFinanceList != null)
|
||||
{
|
||||
GroupHeader1.Visible = true;
|
||||
GroupFooter1.Visible = true;
|
||||
foreach (var scRo in pRO.SupportConceptFinanceList)
|
||||
{
|
||||
if (String.IsNullOrEmpty(scRo.Leistungskategorie))
|
||||
{
|
||||
scRo.GruppierungsKategorie = " ";
|
||||
}
|
||||
else
|
||||
{
|
||||
scRo.GruppierungsKategorie = String.Format("Leistungskategorie {0}", scRo.Leistungskategorie);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
pRO.SupportConceptFinanceList = pRO.SupportConceptFinanceList.Where(s => s.Costbearer2Supportconcept.SupportConcept.ActivationType == BS.Shared.ActivationTypeId.Active).ToList();
|
||||
|
||||
this.bindingSource1.DataSource = pRO;
|
||||
}
|
||||
}
|
||||
}
|
||||
1137
ReportImp/ASBBergischLandWuppertal/Finanzauswertung.designer.cs
generated
Normal file
1137
ReportImp/ASBBergischLandWuppertal/Finanzauswertung.designer.cs
generated
Normal file
File diff suppressed because it is too large
Load Diff
123
ReportImp/ASBBergischLandWuppertal/Finanzauswertung.resx
Normal file
123
ReportImp/ASBBergischLandWuppertal/Finanzauswertung.resx
Normal file
@@ -0,0 +1,123 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<root>
|
||||
<!--
|
||||
Microsoft ResX Schema
|
||||
|
||||
Version 2.0
|
||||
|
||||
The primary goals of this format is to allow a simple XML format
|
||||
that is mostly human readable. The generation and parsing of the
|
||||
various data types are done through the TypeConverter classes
|
||||
associated with the data types.
|
||||
|
||||
Example:
|
||||
|
||||
... ado.net/XML headers & schema ...
|
||||
<resheader name="resmimetype">text/microsoft-resx</resheader>
|
||||
<resheader name="version">2.0</resheader>
|
||||
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
|
||||
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
|
||||
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
|
||||
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
|
||||
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
|
||||
<value>[base64 mime encoded serialized .NET Framework object]</value>
|
||||
</data>
|
||||
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
|
||||
<comment>This is a comment</comment>
|
||||
</data>
|
||||
|
||||
There are any number of "resheader" rows that contain simple
|
||||
name/value pairs.
|
||||
|
||||
Each data row contains a name, and value. The row also contains a
|
||||
type or mimetype. Type corresponds to a .NET class that support
|
||||
text/value conversion through the TypeConverter architecture.
|
||||
Classes that don't support this are serialized and stored with the
|
||||
mimetype set.
|
||||
|
||||
The mimetype is used for serialized objects, and tells the
|
||||
ResXResourceReader how to depersist the object. This is currently not
|
||||
extensible. For a given mimetype the value must be set accordingly:
|
||||
|
||||
Note - application/x-microsoft.net.object.binary.base64 is the format
|
||||
that the ResXResourceWriter will generate, however the reader can
|
||||
read any of the formats listed below.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.binary.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.soap.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.bytearray.base64
|
||||
value : The object must be serialized into a byte array
|
||||
: using a System.ComponentModel.TypeConverter
|
||||
: and then encoded with base64 encoding.
|
||||
-->
|
||||
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
|
||||
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
|
||||
<xsd:element name="root" msdata:IsDataSet="true">
|
||||
<xsd:complexType>
|
||||
<xsd:choice maxOccurs="unbounded">
|
||||
<xsd:element name="metadata">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" use="required" type="xsd:string" />
|
||||
<xsd:attribute name="type" type="xsd:string" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="assembly">
|
||||
<xsd:complexType>
|
||||
<xsd:attribute name="alias" type="xsd:string" />
|
||||
<xsd:attribute name="name" type="xsd:string" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="data">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
|
||||
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="resheader">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:choice>
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:schema>
|
||||
<resheader name="resmimetype">
|
||||
<value>text/microsoft-resx</value>
|
||||
</resheader>
|
||||
<resheader name="version">
|
||||
<value>2.0</value>
|
||||
</resheader>
|
||||
<resheader name="reader">
|
||||
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<resheader name="writer">
|
||||
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<metadata name="bindingSource1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>17, 17</value>
|
||||
</metadata>
|
||||
</root>
|
||||
@@ -592,7 +592,10 @@ namespace AWOMuensterlandRecklinghausen
|
||||
{
|
||||
if (item.RoundedDuration > 0)
|
||||
{
|
||||
ath.StundenUrlaub += Math.Round(item.RoundedDuration / 60 / empDetail.SollProTag, 2, MidpointRounding.AwayFromZero);
|
||||
if (empDetail.SollProTag != 0)
|
||||
{
|
||||
ath.StundenUrlaub += Math.Round(item.RoundedDuration / 60 / empDetail.SollProTag, 2, MidpointRounding.AwayFromZero);
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
@@ -540,7 +540,7 @@ namespace AWOMuensterlandRecklinghausen
|
||||
this.ExportOptions.PrintPreview.DefaultFileName = "Spitzabrechnung";
|
||||
this.FormattingRuleSheet.AddRange(new DevExpress.XtraReports.UI.FormattingRule[] {
|
||||
this.ruleRateFactorNull});
|
||||
this.Margins = new DevExpress.Drawing.DXMargins(76.04166F, 46.875F, 100F, 100F);
|
||||
this.Margins = new DevExpress.Drawing.DXMargins(72F, 35F, 100F, 100F);
|
||||
this.PageHeight = 1169;
|
||||
this.PageWidth = 827;
|
||||
this.PaperKind = DevExpress.Drawing.Printing.DXPaperKind.A4;
|
||||
|
||||
File diff suppressed because one or more lines are too long
@@ -112,6 +112,8 @@ namespace AWOMuensterlandRecklinghausen
|
||||
|
||||
// splitten der Sollarbeitszeit auf mehrere Einträge
|
||||
var selbeTageCount = ed.Days.Where(d => d.Date.Day == day.Date.Day).Count();
|
||||
if (selbeTageCount == 0)
|
||||
selbeTageCount = 1;
|
||||
|
||||
decimal ueberstunden = 0;
|
||||
ueberstunden = day.MinutesTotal - day.SollStunden / selbeTageCount; // Hier Fehler wenn mehrere Termine an einem Tag sind
|
||||
|
||||
@@ -70,6 +70,11 @@
|
||||
<Compile Include="Invoicing\DefaultInvoiceCreation.cs" />
|
||||
<Compile Include="Invoicing\PauschalenHelper.cs" />
|
||||
<Compile Include="Properties\AssemblyInfo.cs" />
|
||||
<Compile Include="Properties\Resources.Designer.cs">
|
||||
<AutoGen>True</AutoGen>
|
||||
<DesignTime>True</DesignTime>
|
||||
<DependentUpon>Resources.resx</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="RechnungPa.cs">
|
||||
<SubType>Component</SubType>
|
||||
</Compile>
|
||||
@@ -140,6 +145,10 @@
|
||||
<SubType>Designer</SubType>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="Properties\licenses.licx" />
|
||||
<EmbeddedResource Include="Properties\Resources.resx">
|
||||
<Generator>ResXFileCodeGenerator</Generator>
|
||||
<LastGenOutput>Resources.Designer.cs</LastGenOutput>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="RechnungPa.resx">
|
||||
<DependentUpon>RechnungPa.cs</DependentUpon>
|
||||
<SubType>Designer</SubType>
|
||||
|
||||
@@ -13,23 +13,20 @@ namespace AlzeyTeilhabe.Invoicing
|
||||
|
||||
public override InvoiceCreation CreateInvoiceCreator(string specificId, string tenant, Dictionary<CompactSupportConceptDC, List<ServiceRecordDC>> supportConcepts2ServiceRecords)
|
||||
{
|
||||
// foreach (var item in supportConcepts2ServiceRecords)
|
||||
// {
|
||||
// var csc = item.Key;
|
||||
// var cb2sc = DAOFactory.GenericDAO.LoadByID<CostBearer2SupportConcept>(csc.CostBearerRelOids[0]);
|
||||
foreach (var item in supportConcepts2ServiceRecords)
|
||||
{
|
||||
var csc = item.Key;
|
||||
var cb2sc = DAOFactory.GenericDAO.LoadByID<CostBearer2SupportConcept>(csc.CostBearerRelOids[0]);
|
||||
|
||||
// var org = cb2sc.CostBearer.Organisation;
|
||||
var org = cb2sc.CostBearer.Organisation;
|
||||
|
||||
// if (org.Name != null && (org.Name.Contains("Jugendamt") || org.Name.Contains("Amt für Soziales, Pflege und Wohnen")))
|
||||
// {
|
||||
// return new JugendamtInvoiceCreation();
|
||||
if (org.Function != null && org.Function.Value == "Kostenträger Soziotherapie")
|
||||
{
|
||||
return new DefaultInvoiceCreation();
|
||||
}
|
||||
}
|
||||
|
||||
// }
|
||||
|
||||
|
||||
// }
|
||||
return new DefaultInvoiceCreation();
|
||||
|
||||
return new InvoiceCreation();
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -115,25 +115,28 @@ namespace AlzeyTeilhabe.Invoicing
|
||||
|
||||
var list = new List<InvoiceBase>();
|
||||
|
||||
foreach (var ib in EquityInvoiceList)
|
||||
if (EquityInvoiceList != null)
|
||||
{
|
||||
if (ib.AccountingPeriodStart.HasValue && ib.AccountingPeriodEnd.HasValue)
|
||||
foreach (var ib in EquityInvoiceList)
|
||||
{
|
||||
if (ib.AccountingPeriodStart <= invoice.InvoiceBase.AccountingPeriodEnd &&
|
||||
ib.AccountingPeriodEnd >= invoice.InvoiceBase.AccountingPeriodStart)
|
||||
if (ib.AccountingPeriodStart.HasValue && ib.AccountingPeriodEnd.HasValue)
|
||||
{
|
||||
list.Add(ib);
|
||||
if (ib.AccountingPeriodStart <= invoice.InvoiceBase.AccountingPeriodEnd &&
|
||||
ib.AccountingPeriodEnd >= invoice.InvoiceBase.AccountingPeriodStart)
|
||||
{
|
||||
list.Add(ib);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
foreach (InvoiceBase iEquityInvoice in list)
|
||||
{
|
||||
foreach (InvoiceItem item in iEquityInvoice.InvoiceItems)
|
||||
foreach (InvoiceBase iEquityInvoice in list)
|
||||
{
|
||||
if (item.AmountTotal != null)
|
||||
foreach (InvoiceItem item in iEquityInvoice.InvoiceItems)
|
||||
{
|
||||
equity += item.AmountTotal.Value;
|
||||
if (item.AmountTotal != null)
|
||||
{
|
||||
equity += item.AmountTotal.Value;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
63
ReportImp/AlzeyTeilhabe/Properties/Resources.Designer.cs
generated
Normal file
63
ReportImp/AlzeyTeilhabe/Properties/Resources.Designer.cs
generated
Normal file
@@ -0,0 +1,63 @@
|
||||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// Dieser Code wurde von einem Tool generiert.
|
||||
// Laufzeitversion:4.0.30319.42000
|
||||
//
|
||||
// Änderungen an dieser Datei können falsches Verhalten verursachen und gehen verloren, wenn
|
||||
// der Code erneut generiert wird.
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
namespace AlzeyTeilhabe.Properties {
|
||||
using System;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// Eine stark typisierte Ressourcenklasse zum Suchen von lokalisierten Zeichenfolgen usw.
|
||||
/// </summary>
|
||||
// Diese Klasse wurde von der StronglyTypedResourceBuilder automatisch generiert
|
||||
// -Klasse über ein Tool wie ResGen oder Visual Studio automatisch generiert.
|
||||
// Um einen Member hinzuzufügen oder zu entfernen, bearbeiten Sie die .ResX-Datei und führen dann ResGen
|
||||
// mit der /str-Option erneut aus, oder Sie erstellen Ihr VS-Projekt neu.
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "16.0.0.0")]
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
|
||||
internal class Resources {
|
||||
|
||||
private static global::System.Resources.ResourceManager resourceMan;
|
||||
|
||||
private static global::System.Globalization.CultureInfo resourceCulture;
|
||||
|
||||
[global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
|
||||
internal Resources() {
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gibt die zwischengespeicherte ResourceManager-Instanz zurück, die von dieser Klasse verwendet wird.
|
||||
/// </summary>
|
||||
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
|
||||
internal static global::System.Resources.ResourceManager ResourceManager {
|
||||
get {
|
||||
if (object.ReferenceEquals(resourceMan, null)) {
|
||||
global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("AlzeyTeilhabe.Properties.Resources", typeof(Resources).Assembly);
|
||||
resourceMan = temp;
|
||||
}
|
||||
return resourceMan;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Überschreibt die CurrentUICulture-Eigenschaft des aktuellen Threads für alle
|
||||
/// Ressourcenzuordnungen, die diese stark typisierte Ressourcenklasse verwenden.
|
||||
/// </summary>
|
||||
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
|
||||
internal static global::System.Globalization.CultureInfo Culture {
|
||||
get {
|
||||
return resourceCulture;
|
||||
}
|
||||
set {
|
||||
resourceCulture = value;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
120
ReportImp/AlzeyTeilhabe/Properties/Resources.resx
Normal file
120
ReportImp/AlzeyTeilhabe/Properties/Resources.resx
Normal file
@@ -0,0 +1,120 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<root>
|
||||
<!--
|
||||
Microsoft ResX Schema
|
||||
|
||||
Version 2.0
|
||||
|
||||
The primary goals of this format is to allow a simple XML format
|
||||
that is mostly human readable. The generation and parsing of the
|
||||
various data types are done through the TypeConverter classes
|
||||
associated with the data types.
|
||||
|
||||
Example:
|
||||
|
||||
... ado.net/XML headers & schema ...
|
||||
<resheader name="resmimetype">text/microsoft-resx</resheader>
|
||||
<resheader name="version">2.0</resheader>
|
||||
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
|
||||
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
|
||||
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
|
||||
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
|
||||
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
|
||||
<value>[base64 mime encoded serialized .NET Framework object]</value>
|
||||
</data>
|
||||
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
|
||||
<comment>This is a comment</comment>
|
||||
</data>
|
||||
|
||||
There are any number of "resheader" rows that contain simple
|
||||
name/value pairs.
|
||||
|
||||
Each data row contains a name, and value. The row also contains a
|
||||
type or mimetype. Type corresponds to a .NET class that support
|
||||
text/value conversion through the TypeConverter architecture.
|
||||
Classes that don't support this are serialized and stored with the
|
||||
mimetype set.
|
||||
|
||||
The mimetype is used for serialized objects, and tells the
|
||||
ResXResourceReader how to depersist the object. This is currently not
|
||||
extensible. For a given mimetype the value must be set accordingly:
|
||||
|
||||
Note - application/x-microsoft.net.object.binary.base64 is the format
|
||||
that the ResXResourceWriter will generate, however the reader can
|
||||
read any of the formats listed below.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.binary.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.soap.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.bytearray.base64
|
||||
value : The object must be serialized into a byte array
|
||||
: using a System.ComponentModel.TypeConverter
|
||||
: and then encoded with base64 encoding.
|
||||
-->
|
||||
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
|
||||
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
|
||||
<xsd:element name="root" msdata:IsDataSet="true">
|
||||
<xsd:complexType>
|
||||
<xsd:choice maxOccurs="unbounded">
|
||||
<xsd:element name="metadata">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" use="required" type="xsd:string" />
|
||||
<xsd:attribute name="type" type="xsd:string" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="assembly">
|
||||
<xsd:complexType>
|
||||
<xsd:attribute name="alias" type="xsd:string" />
|
||||
<xsd:attribute name="name" type="xsd:string" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="data">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
|
||||
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="resheader">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:choice>
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:schema>
|
||||
<resheader name="resmimetype">
|
||||
<value>text/microsoft-resx</value>
|
||||
</resheader>
|
||||
<resheader name="version">
|
||||
<value>2.0</value>
|
||||
</resheader>
|
||||
<resheader name="reader">
|
||||
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<resheader name="writer">
|
||||
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
</root>
|
||||
124
ReportImp/AlzeyTeilhabe/RechnungPa.Designer.cs
generated
124
ReportImp/AlzeyTeilhabe/RechnungPa.Designer.cs
generated
@@ -30,6 +30,7 @@ namespace AlzeyTeilhabe
|
||||
{
|
||||
this.components = new System.ComponentModel.Container();
|
||||
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(RechnungPa));
|
||||
DevExpress.XtraReports.UI.XRWatermark xrWatermark1 = new DevExpress.XtraReports.UI.XRWatermark();
|
||||
this.Detail = new DevExpress.XtraReports.UI.DetailBand();
|
||||
this.ReportHeader = new DevExpress.XtraReports.UI.ReportHeaderBand();
|
||||
this.ruleRateFactorNull = new DevExpress.XtraReports.UI.FormattingRule();
|
||||
@@ -87,16 +88,19 @@ namespace AlzeyTeilhabe
|
||||
this.xrTableCell45 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell47 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.GroupFooter1 = new DevExpress.XtraReports.UI.GroupFooterBand();
|
||||
this.bindingSource1 = new System.Windows.Forms.BindingSource(this.components);
|
||||
this.xrLabel10 = new DevExpress.XtraReports.UI.XRLabel();
|
||||
this.xrLabel6 = new DevExpress.XtraReports.UI.XRLabel();
|
||||
this.xrLabel1 = new DevExpress.XtraReports.UI.XRLabel();
|
||||
this.ReportFooter = new DevExpress.XtraReports.UI.ReportFooterBand();
|
||||
this.xrRichText1 = new DevExpress.XtraReports.UI.XRRichText();
|
||||
this.xrLabel7 = new DevExpress.XtraReports.UI.XRLabel();
|
||||
this.xrPictureBox4 = new DevExpress.XtraReports.UI.XRPictureBox();
|
||||
this.bindingSource1 = new System.Windows.Forms.BindingSource(this.components);
|
||||
((System.ComponentModel.ISupportInitialize)(this.xrTable2)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.xrRichText2)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.xrTable5)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.xrTable1)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.xrTable6)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.xrRichText1)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.bindingSource1)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this)).BeginInit();
|
||||
//
|
||||
@@ -109,7 +113,7 @@ namespace AlzeyTeilhabe
|
||||
//
|
||||
// ReportHeader
|
||||
//
|
||||
this.ReportHeader.Font = new System.Drawing.Font("Verdana", 10F);
|
||||
this.ReportHeader.Font = new DevExpress.Drawing.DXFont("Verdana", 10F);
|
||||
this.ReportHeader.HeightF = 0F;
|
||||
this.ReportHeader.Name = "ReportHeader";
|
||||
this.ReportHeader.StylePriority.UseFont = false;
|
||||
@@ -136,7 +140,8 @@ namespace AlzeyTeilhabe
|
||||
//
|
||||
// xrTable2
|
||||
//
|
||||
this.xrTable2.Font = new System.Drawing.Font("Arial", 6F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.xrTable2.Font = new DevExpress.Drawing.DXFont("Arial", 6F, DevExpress.Drawing.DXFontStyle.Regular, DevExpress.Drawing.DXGraphicsUnit.Point, new DevExpress.Drawing.DXFontAdditionalProperty[] {
|
||||
new DevExpress.Drawing.DXFontAdditionalProperty("GdiCharSet", ((byte)(0)))});
|
||||
this.xrTable2.LocationFloat = new DevExpress.Utils.PointFloat(170.6432F, 35.00003F);
|
||||
this.xrTable2.Name = "xrTable2";
|
||||
this.xrTable2.Rows.AddRange(new DevExpress.XtraReports.UI.XRTableRow[] {
|
||||
@@ -211,7 +216,8 @@ namespace AlzeyTeilhabe
|
||||
// xrTableCell5
|
||||
//
|
||||
this.xrTableCell5.CanGrow = false;
|
||||
this.xrTableCell5.Font = new System.Drawing.Font("Arial", 6F, System.Drawing.FontStyle.Underline, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.xrTableCell5.Font = new DevExpress.Drawing.DXFont("Arial", 6F, DevExpress.Drawing.DXFontStyle.Underline, DevExpress.Drawing.DXGraphicsUnit.Point, new DevExpress.Drawing.DXFontAdditionalProperty[] {
|
||||
new DevExpress.Drawing.DXFontAdditionalProperty("GdiCharSet", ((byte)(0)))});
|
||||
this.xrTableCell5.Name = "xrTableCell5";
|
||||
this.xrTableCell5.StylePriority.UseFont = false;
|
||||
this.xrTableCell5.StylePriority.UsePadding = false;
|
||||
@@ -302,7 +308,7 @@ namespace AlzeyTeilhabe
|
||||
//
|
||||
// xrPictureBox3
|
||||
//
|
||||
this.xrPictureBox3.Image = ((System.Drawing.Image)(resources.GetObject("xrPictureBox3.Image")));
|
||||
this.xrPictureBox3.ImageSource = new DevExpress.XtraPrinting.Drawing.ImageSource("img", resources.GetString("xrPictureBox3.ImageSource"));
|
||||
this.xrPictureBox3.LocationFloat = new DevExpress.Utils.PointFloat(0.00111262F, 21.16667F);
|
||||
this.xrPictureBox3.Name = "xrPictureBox3";
|
||||
this.xrPictureBox3.SizeF = new System.Drawing.SizeF(141.695F, 36F);
|
||||
@@ -311,7 +317,8 @@ namespace AlzeyTeilhabe
|
||||
// xrRichText2
|
||||
//
|
||||
this.xrRichText2.CanGrow = false;
|
||||
this.xrRichText2.Font = new System.Drawing.Font("Arial", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.xrRichText2.Font = new DevExpress.Drawing.DXFont("Arial", 10F, DevExpress.Drawing.DXFontStyle.Regular, DevExpress.Drawing.DXGraphicsUnit.Point, new DevExpress.Drawing.DXFontAdditionalProperty[] {
|
||||
new DevExpress.Drawing.DXFontAdditionalProperty("GdiCharSet", ((byte)(0)))});
|
||||
this.xrRichText2.LocationFloat = new DevExpress.Utils.PointFloat(170.6432F, 10.00002F);
|
||||
this.xrRichText2.Name = "xrRichText2";
|
||||
this.xrRichText2.SerializableRtfString = resources.GetString("xrRichText2.SerializableRtfString");
|
||||
@@ -413,7 +420,7 @@ namespace AlzeyTeilhabe
|
||||
//
|
||||
this.xrLabel8.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
|
||||
new DevExpress.XtraReports.UI.XRBinding("Text", null, "AccountingPeriodEnd", "{0:dd.MM.yyyy}")});
|
||||
this.xrLabel8.Font = new System.Drawing.Font("Arial", 12F);
|
||||
this.xrLabel8.Font = new DevExpress.Drawing.DXFont("Arial", 12F);
|
||||
this.xrLabel8.LocationFloat = new DevExpress.Utils.PointFloat(419.7223F, 263.9127F);
|
||||
this.xrLabel8.Name = "xrLabel8";
|
||||
this.xrLabel8.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
|
||||
@@ -424,7 +431,8 @@ namespace AlzeyTeilhabe
|
||||
//
|
||||
// xrTable1
|
||||
//
|
||||
this.xrTable1.Font = new System.Drawing.Font("Arial", 8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.xrTable1.Font = new DevExpress.Drawing.DXFont("Arial", 8F, DevExpress.Drawing.DXFontStyle.Regular, DevExpress.Drawing.DXGraphicsUnit.Point, new DevExpress.Drawing.DXFontAdditionalProperty[] {
|
||||
new DevExpress.Drawing.DXFontAdditionalProperty("GdiCharSet", ((byte)(0)))});
|
||||
this.xrTable1.LocationFloat = new DevExpress.Utils.PointFloat(444F, 183F);
|
||||
this.xrTable1.Name = "xrTable1";
|
||||
this.xrTable1.Rows.AddRange(new DevExpress.XtraReports.UI.XRTableRow[] {
|
||||
@@ -492,7 +500,8 @@ namespace AlzeyTeilhabe
|
||||
// xrLabel5
|
||||
//
|
||||
this.xrLabel5.CanGrow = false;
|
||||
this.xrLabel5.Font = new System.Drawing.Font("Arial", 8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.xrLabel5.Font = new DevExpress.Drawing.DXFont("Arial", 8F, DevExpress.Drawing.DXFontStyle.Regular, DevExpress.Drawing.DXGraphicsUnit.Point, new DevExpress.Drawing.DXFontAdditionalProperty[] {
|
||||
new DevExpress.Drawing.DXFontAdditionalProperty("GdiCharSet", ((byte)(0)))});
|
||||
this.xrLabel5.LocationFloat = new DevExpress.Utils.PointFloat(419.7223F, 153.1411F);
|
||||
this.xrLabel5.Multiline = true;
|
||||
this.xrLabel5.Name = "xrLabel5";
|
||||
@@ -504,7 +513,7 @@ namespace AlzeyTeilhabe
|
||||
//
|
||||
// xrPictureBox2
|
||||
//
|
||||
this.xrPictureBox2.Image = ((System.Drawing.Image)(resources.GetObject("xrPictureBox2.Image")));
|
||||
this.xrPictureBox2.ImageSource = new DevExpress.XtraPrinting.Drawing.ImageSource("img", resources.GetString("xrPictureBox2.ImageSource"));
|
||||
this.xrPictureBox2.LocationFloat = new DevExpress.Utils.PointFloat(417.7222F, 185.8554F);
|
||||
this.xrPictureBox2.Name = "xrPictureBox2";
|
||||
this.xrPictureBox2.SizeF = new System.Drawing.SizeF(24F, 50F);
|
||||
@@ -512,7 +521,8 @@ namespace AlzeyTeilhabe
|
||||
//
|
||||
// xrLabel4
|
||||
//
|
||||
this.xrLabel4.Font = new System.Drawing.Font("Arial", 6F, System.Drawing.FontStyle.Underline, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.xrLabel4.Font = new DevExpress.Drawing.DXFont("Arial", 6F, DevExpress.Drawing.DXFontStyle.Underline, DevExpress.Drawing.DXGraphicsUnit.Point, new DevExpress.Drawing.DXFontAdditionalProperty[] {
|
||||
new DevExpress.Drawing.DXFontAdditionalProperty("GdiCharSet", ((byte)(0)))});
|
||||
this.xrLabel4.LocationFloat = new DevExpress.Utils.PointFloat(0.00111262F, 153.1411F);
|
||||
this.xrLabel4.Multiline = true;
|
||||
this.xrLabel4.Name = "xrLabel4";
|
||||
@@ -524,7 +534,7 @@ namespace AlzeyTeilhabe
|
||||
//
|
||||
// xrPictureBox1
|
||||
//
|
||||
this.xrPictureBox1.Image = ((System.Drawing.Image)(resources.GetObject("xrPictureBox1.Image")));
|
||||
this.xrPictureBox1.ImageSource = new DevExpress.XtraPrinting.Drawing.ImageSource("img", resources.GetString("xrPictureBox1.ImageSource"));
|
||||
this.xrPictureBox1.LocationFloat = new DevExpress.Utils.PointFloat(419.7223F, 0F);
|
||||
this.xrPictureBox1.Name = "xrPictureBox1";
|
||||
this.xrPictureBox1.SizeF = new System.Drawing.SizeF(242.7789F, 111.4167F);
|
||||
@@ -532,7 +542,7 @@ namespace AlzeyTeilhabe
|
||||
//
|
||||
// lblAbrechnungstext
|
||||
//
|
||||
this.lblAbrechnungstext.Font = new System.Drawing.Font("Arial", 10F);
|
||||
this.lblAbrechnungstext.Font = new DevExpress.Drawing.DXFont("Arial", 10F);
|
||||
this.lblAbrechnungstext.LocationFloat = new DevExpress.Utils.PointFloat(0.001097379F, 472.222F);
|
||||
this.lblAbrechnungstext.Multiline = true;
|
||||
this.lblAbrechnungstext.Name = "lblAbrechnungstext";
|
||||
@@ -542,7 +552,7 @@ namespace AlzeyTeilhabe
|
||||
//
|
||||
// xrLabel3
|
||||
//
|
||||
this.xrLabel3.Font = new System.Drawing.Font("Arial", 10F);
|
||||
this.xrLabel3.Font = new DevExpress.Drawing.DXFont("Arial", 10F);
|
||||
this.xrLabel3.LocationFloat = new DevExpress.Utils.PointFloat(0.001097379F, 408.9273F);
|
||||
this.xrLabel3.Multiline = true;
|
||||
this.xrLabel3.Name = "xrLabel3";
|
||||
@@ -556,7 +566,7 @@ namespace AlzeyTeilhabe
|
||||
//
|
||||
this.xrLabel2.BackColor = System.Drawing.Color.Transparent;
|
||||
this.xrLabel2.CanShrink = true;
|
||||
this.xrLabel2.Font = new System.Drawing.Font("Arial", 14F, System.Drawing.FontStyle.Bold);
|
||||
this.xrLabel2.Font = new DevExpress.Drawing.DXFont("Arial", 14F, DevExpress.Drawing.DXFontStyle.Bold);
|
||||
this.xrLabel2.LocationFloat = new DevExpress.Utils.PointFloat(0.001097379F, 362.8425F);
|
||||
this.xrLabel2.Name = "xrLabel2";
|
||||
this.xrLabel2.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
|
||||
@@ -568,7 +578,8 @@ namespace AlzeyTeilhabe
|
||||
//
|
||||
// lblAdresse
|
||||
//
|
||||
this.lblAdresse.Font = new System.Drawing.Font("Arial", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.lblAdresse.Font = new DevExpress.Drawing.DXFont("Arial", 10F, DevExpress.Drawing.DXFontStyle.Regular, DevExpress.Drawing.DXGraphicsUnit.Point, new DevExpress.Drawing.DXFontAdditionalProperty[] {
|
||||
new DevExpress.Drawing.DXFontAdditionalProperty("GdiCharSet", ((byte)(0)))});
|
||||
this.lblAdresse.LocationFloat = new DevExpress.Utils.PointFloat(0F, 166.6059F);
|
||||
this.lblAdresse.Multiline = true;
|
||||
this.lblAdresse.Name = "lblAdresse";
|
||||
@@ -589,7 +600,7 @@ namespace AlzeyTeilhabe
|
||||
//
|
||||
// Detail1
|
||||
//
|
||||
this.Detail1.Font = new System.Drawing.Font("Arial", 10F, System.Drawing.FontStyle.Bold);
|
||||
this.Detail1.Font = new DevExpress.Drawing.DXFont("Arial", 10F, DevExpress.Drawing.DXFontStyle.Bold);
|
||||
this.Detail1.HeightF = 0F;
|
||||
this.Detail1.Name = "Detail1";
|
||||
this.Detail1.StylePriority.UseFont = false;
|
||||
@@ -608,7 +619,7 @@ namespace AlzeyTeilhabe
|
||||
//
|
||||
this.Detail3.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
|
||||
this.xrTable6});
|
||||
this.Detail3.Font = new System.Drawing.Font("Arial", 10F);
|
||||
this.Detail3.Font = new DevExpress.Drawing.DXFont("Arial", 10F);
|
||||
this.Detail3.HeightF = 25F;
|
||||
this.Detail3.Name = "Detail3";
|
||||
this.Detail3.StylePriority.UseFont = false;
|
||||
@@ -688,32 +699,18 @@ namespace AlzeyTeilhabe
|
||||
// GroupFooter1
|
||||
//
|
||||
this.GroupFooter1.Expanded = false;
|
||||
this.GroupFooter1.Font = new System.Drawing.Font("Arial", 10F);
|
||||
this.GroupFooter1.Font = new DevExpress.Drawing.DXFont("Arial", 10F);
|
||||
this.GroupFooter1.HeightF = 0F;
|
||||
this.GroupFooter1.Name = "GroupFooter1";
|
||||
this.GroupFooter1.StylePriority.UseFont = false;
|
||||
//
|
||||
// bindingSource1
|
||||
//
|
||||
this.bindingSource1.DataSource = typeof(BeWo.Report.ReportObjects.ServiceInvoiceRO);
|
||||
//
|
||||
// xrLabel10
|
||||
//
|
||||
this.xrLabel10.LocationFloat = new DevExpress.Utils.PointFloat(0.00111262F, 46.4584F);
|
||||
this.xrLabel10.Multiline = true;
|
||||
this.xrLabel10.Name = "xrLabel10";
|
||||
this.xrLabel10.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
|
||||
this.xrLabel10.SizeF = new System.Drawing.SizeF(662.5F, 96.24994F);
|
||||
this.xrLabel10.StylePriority.UseFont = false;
|
||||
this.xrLabel10.Text = "Mit freundlichen Grüßen\r\n\r\n\r\n\r\n[CreatorName]";
|
||||
//
|
||||
// xrLabel6
|
||||
//
|
||||
this.xrLabel6.BorderDashStyle = DevExpress.XtraPrinting.BorderDashStyle.Double;
|
||||
this.xrLabel6.Borders = DevExpress.XtraPrinting.BorderSide.Bottom;
|
||||
this.xrLabel6.BorderWidth = 5F;
|
||||
this.xrLabel6.CanGrow = false;
|
||||
this.xrLabel6.Font = new System.Drawing.Font("Arial", 10F, System.Drawing.FontStyle.Bold);
|
||||
this.xrLabel6.Font = new DevExpress.Drawing.DXFont("Arial", 10F, DevExpress.Drawing.DXFontStyle.Bold);
|
||||
this.xrLabel6.LocationFloat = new DevExpress.Utils.PointFloat(422.9746F, 0F);
|
||||
this.xrLabel6.Name = "xrLabel6";
|
||||
this.xrLabel6.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 5, 0, 0, 100F);
|
||||
@@ -735,7 +732,7 @@ namespace AlzeyTeilhabe
|
||||
this.xrLabel1.CanGrow = false;
|
||||
this.xrLabel1.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
|
||||
new DevExpress.XtraReports.UI.XRBinding("Text", null, "GrossClaim")});
|
||||
this.xrLabel1.Font = new System.Drawing.Font("Arial", 10F, System.Drawing.FontStyle.Bold);
|
||||
this.xrLabel1.Font = new DevExpress.Drawing.DXFont("Arial", 10F, DevExpress.Drawing.DXFontStyle.Bold);
|
||||
this.xrLabel1.LocationFloat = new DevExpress.Utils.PointFloat(562.1412F, 0F);
|
||||
this.xrLabel1.Name = "xrLabel1";
|
||||
this.xrLabel1.Padding = new DevExpress.XtraPrinting.PaddingInfo(0, 2, 0, 0, 100F);
|
||||
@@ -751,12 +748,47 @@ namespace AlzeyTeilhabe
|
||||
// ReportFooter
|
||||
//
|
||||
this.ReportFooter.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
|
||||
this.xrPictureBox4,
|
||||
this.xrLabel7,
|
||||
this.xrRichText1,
|
||||
this.xrLabel1,
|
||||
this.xrLabel6,
|
||||
this.xrLabel10});
|
||||
this.ReportFooter.HeightF = 142.7083F;
|
||||
this.xrLabel6});
|
||||
this.ReportFooter.HeightF = 280.0564F;
|
||||
this.ReportFooter.Name = "ReportFooter";
|
||||
//
|
||||
// xrRichText1
|
||||
//
|
||||
this.xrRichText1.Font = new DevExpress.Drawing.DXFont("Arial", 10F, DevExpress.Drawing.DXFontStyle.Regular, DevExpress.Drawing.DXGraphicsUnit.Point, new DevExpress.Drawing.DXFontAdditionalProperty[] {
|
||||
new DevExpress.Drawing.DXFontAdditionalProperty("GdiCharSet", ((byte)(0)))});
|
||||
this.xrRichText1.LocationFloat = new DevExpress.Utils.PointFloat(0F, 46.61166F);
|
||||
this.xrRichText1.Name = "xrRichText1";
|
||||
this.xrRichText1.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
|
||||
this.xrRichText1.SerializableRtfString = resources.GetString("xrRichText1.SerializableRtfString");
|
||||
this.xrRichText1.SizeF = new System.Drawing.SizeF(662.5013F, 134.264F);
|
||||
//
|
||||
// xrLabel7
|
||||
//
|
||||
this.xrLabel7.LocationFloat = new DevExpress.Utils.PointFloat(0.00111262F, 261.5148F);
|
||||
this.xrLabel7.Multiline = true;
|
||||
this.xrLabel7.Name = "xrLabel7";
|
||||
this.xrLabel7.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
|
||||
this.xrLabel7.SizeF = new System.Drawing.SizeF(662.5001F, 18.5416F);
|
||||
this.xrLabel7.StylePriority.UseFont = false;
|
||||
this.xrLabel7.Text = "Petra Hofmann\r\n\r\n\r\n\r\n";
|
||||
//
|
||||
// xrPictureBox4
|
||||
//
|
||||
this.xrPictureBox4.ImageAlignment = DevExpress.XtraPrinting.ImageAlignment.MiddleCenter;
|
||||
this.xrPictureBox4.ImageSource = new DevExpress.XtraPrinting.Drawing.ImageSource("img", resources.GetString("xrPictureBox4.ImageSource"));
|
||||
this.xrPictureBox4.LocationFloat = new DevExpress.Utils.PointFloat(0F, 191.2923F);
|
||||
this.xrPictureBox4.Name = "xrPictureBox4";
|
||||
this.xrPictureBox4.SizeF = new System.Drawing.SizeF(176.0833F, 60.20839F);
|
||||
this.xrPictureBox4.Sizing = DevExpress.XtraPrinting.ImageSizeMode.ZoomImage;
|
||||
//
|
||||
// bindingSource1
|
||||
//
|
||||
this.bindingSource1.DataSource = typeof(BeWo.Report.ReportObjects.ServiceInvoiceRO);
|
||||
//
|
||||
// RechnungPa
|
||||
//
|
||||
this.Bands.AddRange(new DevExpress.XtraReports.UI.Band[] {
|
||||
@@ -769,19 +801,23 @@ namespace AlzeyTeilhabe
|
||||
this.ReportFooter});
|
||||
this.DataSource = this.bindingSource1;
|
||||
this.ExportOptions.PrintPreview.DefaultFileName = "Spitzabrechnung";
|
||||
this.Font = new System.Drawing.Font("Arial", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.Font = new DevExpress.Drawing.DXFont("Arial", 10F, DevExpress.Drawing.DXFontStyle.Regular, DevExpress.Drawing.DXGraphicsUnit.Point, new DevExpress.Drawing.DXFontAdditionalProperty[] {
|
||||
new DevExpress.Drawing.DXFontAdditionalProperty("GdiCharSet", ((byte)(0)))});
|
||||
this.FormattingRuleSheet.AddRange(new DevExpress.XtraReports.UI.FormattingRule[] {
|
||||
this.ruleRateFactorNull});
|
||||
this.Margins = new System.Drawing.Printing.Margins(60, 16, 40, 91);
|
||||
this.Margins = new DevExpress.Drawing.DXMargins(60F, 16F, 40F, 90.89494F);
|
||||
this.PageHeight = 1169;
|
||||
this.PageWidth = 827;
|
||||
this.PaperKind = DevExpress.Drawing.Printing.DXPaperKind.A4;
|
||||
this.Version = "17.1";
|
||||
this.Version = "23.2";
|
||||
xrWatermark1.Id = "Watermark1";
|
||||
this.Watermarks.Add(xrWatermark1);
|
||||
((System.ComponentModel.ISupportInitialize)(this.xrTable2)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.xrRichText2)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.xrTable5)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.xrTable1)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.xrTable6)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.xrRichText1)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.bindingSource1)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this)).EndInit();
|
||||
|
||||
@@ -810,7 +846,6 @@ namespace AlzeyTeilhabe
|
||||
private DevExpress.XtraReports.UI.XRLabel lblAdresse;
|
||||
private DevExpress.XtraReports.UI.XRLabel xrLabel6;
|
||||
private DevExpress.XtraReports.UI.XRLabel xrLabel2;
|
||||
private DevExpress.XtraReports.UI.XRLabel xrLabel10;
|
||||
private DevExpress.XtraReports.UI.XRLabel xrLabel3;
|
||||
private DevExpress.XtraReports.UI.XRLabel lblAbrechnungstext;
|
||||
private DevExpress.XtraReports.UI.XRLabel xrLabel4;
|
||||
@@ -850,5 +885,8 @@ namespace AlzeyTeilhabe
|
||||
private DevExpress.XtraReports.UI.XRTableCell xrTableCell36;
|
||||
private DevExpress.XtraReports.UI.XRTableCell xrTableCell34;
|
||||
private DevExpress.XtraReports.UI.ReportFooterBand ReportFooter;
|
||||
private DevExpress.XtraReports.UI.XRRichText xrRichText1;
|
||||
private DevExpress.XtraReports.UI.XRLabel xrLabel7;
|
||||
private DevExpress.XtraReports.UI.XRPictureBox xrPictureBox4;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,5 +1,7 @@
|
||||
using System;
|
||||
using System.Text;
|
||||
using BeWo.Data.Access;
|
||||
using BeWo.Data.Entities;
|
||||
using BeWo.Report;
|
||||
using BeWo.Report.ReportObjects;
|
||||
|
||||
@@ -52,13 +54,35 @@ namespace AlzeyTeilhabe
|
||||
|
||||
DateTime start = pRO.AccountingPeriodStart;
|
||||
DateTime end = pRO.AccountingPeriodEnd;
|
||||
|
||||
var salutation = "Guten Tag " + pRO.RecipientContactPerson + ",";
|
||||
if (pRO.InvoiceBase != null && pRO.InvoiceBase.RecipientPersonOid.HasValue)
|
||||
{
|
||||
var person = DAOFactory.GenericDAO.GetByID<Person>(pRO.InvoiceBase.RecipientPersonOid.Value);
|
||||
if (person != null && person.Sex != null && person.Sex == BS.Shared.Sex.Male)
|
||||
salutation = "Sehr geehrter Herr " + person.LastName + ",";
|
||||
else if (person != null && person.Sex != null && person.Sex == BS.Shared.Sex.Female)
|
||||
salutation = "Sehr geehrte Frau " + person.LastName + ",";
|
||||
}
|
||||
|
||||
if (pRO.CustomerSalutation == "Herr")
|
||||
lblAbrechnungstext.Text = string.Format("{0}\n\nfür die Betreuung unseres Klienten Herr {1}, geboren am {2:dd.MM.yyyy}," +
|
||||
"erlauben wir uns Ihnen hiermit für den", salutation, pRO.CustomerLastName, pRO.CustomerBirthdate.HasValue ? pRO.CustomerBirthdate.Value : new DateTime());
|
||||
else if (pRO.CustomerSalutation == "Frau")
|
||||
lblAbrechnungstext.Text = string.Format("{0}\n\nfür die Betreuung unserer Klientin Frau {1}, geboren am {2:dd.MM.yyyy}," +
|
||||
"erlauben wir uns Ihnen hiermit für den", salutation, pRO.CustomerLastName, pRO.CustomerBirthdate.HasValue ? pRO.CustomerBirthdate.Value : new DateTime());
|
||||
else
|
||||
lblAbrechnungstext.Text = string.Format("{0}\n\nfür die Betreuung unserer Klient*in {1} {2}, geboren am {3:dd.MM.yyyy}," +
|
||||
"erlauben wir uns Ihnen hiermit für den", salutation, pRO.CustomerFirstName, pRO.CustomerLastName, pRO.CustomerBirthdate.HasValue ? pRO.CustomerBirthdate.Value : new DateTime());
|
||||
|
||||
|
||||
if (start.Month == end.Month && start.Year == end.Year)
|
||||
{
|
||||
lblAbrechnungstext.Text = String.Format("Hiermit berechnen wir für den Monat {0:MMMM yyyy} folgende erbrachte Tätigkeiten:", start);
|
||||
lblAbrechnungstext.Text += String.Format(" Monat {0:MMMM yyyy} folgende Leistungen in Rechnung stellen:", start);
|
||||
}
|
||||
else
|
||||
{
|
||||
lblAbrechnungstext.Text = String.Format("Hiermit berechnen wir für den Zeitraum {0:MMMM yyyy} - {1:MMMM yyyy} folgende erbrachte Tätigkeiten:", start, end);
|
||||
lblAbrechnungstext.Text += String.Format(" Zeitraum {0:MMMM yyyy} - {1:MMMM yyyy} folgende Leistungen in Rechnung stellen:", start, end);
|
||||
}
|
||||
|
||||
foreach (var sip in pRO.ServiceInvoicePeriods)
|
||||
|
||||
File diff suppressed because one or more lines are too long
270
ReportImp/AlzeyTeilhabe/StundenzettelWo.Designer.cs
generated
270
ReportImp/AlzeyTeilhabe/StundenzettelWo.Designer.cs
generated
@@ -30,6 +30,7 @@ namespace AlzeyTeilhabe
|
||||
private void InitializeComponent()
|
||||
{
|
||||
this.components = new System.ComponentModel.Container();
|
||||
DevExpress.XtraReports.UI.XRWatermark xrWatermark1 = new DevExpress.XtraReports.UI.XRWatermark();
|
||||
this.Detail = new DevExpress.XtraReports.UI.DetailBand();
|
||||
this.xrTableServiceRecords1 = new DevExpress.XtraReports.UI.XRTable();
|
||||
this.xrTableRow2 = new DevExpress.XtraReports.UI.XRTableRow();
|
||||
@@ -46,7 +47,6 @@ namespace AlzeyTeilhabe
|
||||
this.xrTableCell2 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell15 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.picSignature = new DevExpress.XtraReports.UI.XRPictureBox();
|
||||
this.bindingSource1 = new System.Windows.Forms.BindingSource(this.components);
|
||||
this.formattingRuleStartDate = new DevExpress.XtraReports.UI.FormattingRule();
|
||||
this.ReportHeader = new DevExpress.XtraReports.UI.ReportHeaderBand();
|
||||
this.xrLabel22 = new DevExpress.XtraReports.UI.XRLabel();
|
||||
@@ -72,9 +72,9 @@ namespace AlzeyTeilhabe
|
||||
this.ReportFooter = new DevExpress.XtraReports.UI.ReportFooterBand();
|
||||
this.xrLabel4 = new DevExpress.XtraReports.UI.XRLabel();
|
||||
this.xrLabel6 = new DevExpress.XtraReports.UI.XRLabel();
|
||||
this.xrLabel7 = new DevExpress.XtraReports.UI.XRLabel();
|
||||
this.xrLabel8 = new DevExpress.XtraReports.UI.XRLabel();
|
||||
this.xrLabel9 = new DevExpress.XtraReports.UI.XRLabel();
|
||||
this.lblGesamtFLS = new DevExpress.XtraReports.UI.XRLabel();
|
||||
this.lblVerguetungssatzFLS = new DevExpress.XtraReports.UI.XRLabel();
|
||||
this.lblRechnungsbetragFLS = new DevExpress.XtraReports.UI.XRLabel();
|
||||
this.xrLabel11 = new DevExpress.XtraReports.UI.XRLabel();
|
||||
this.xrLabel10 = new DevExpress.XtraReports.UI.XRLabel();
|
||||
this.xrLabel20 = new DevExpress.XtraReports.UI.XRLabel();
|
||||
@@ -83,7 +83,7 @@ namespace AlzeyTeilhabe
|
||||
this.xrTable1 = new DevExpress.XtraReports.UI.XRTable();
|
||||
this.xrTableRow1 = new DevExpress.XtraReports.UI.XRTableRow();
|
||||
this.xrTableCell5 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell6 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.tcSummeFLS = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrLabel2 = new DevExpress.XtraReports.UI.XRLabel();
|
||||
this.xrLabel5 = new DevExpress.XtraReports.UI.XRLabel();
|
||||
this.fieldAbrechenbareMinuten = new DevExpress.XtraReports.UI.CalculatedField();
|
||||
@@ -91,10 +91,19 @@ namespace AlzeyTeilhabe
|
||||
this.fieldAbrechenbareFLS = new DevExpress.XtraReports.UI.CalculatedField();
|
||||
this.fieldStunden = new DevExpress.XtraReports.UI.CalculatedField();
|
||||
this.fieldTotalSum = new DevExpress.XtraReports.UI.CalculatedField();
|
||||
this.xrTableCell7 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell8 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.tcSummeWegepauschalen = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.bindingSource1 = new System.Windows.Forms.BindingSource(this.components);
|
||||
this.lblRechnungsbetragWegepauschalen = new DevExpress.XtraReports.UI.XRLabel();
|
||||
this.lblVerguetungssatzWegepauschalen = new DevExpress.XtraReports.UI.XRLabel();
|
||||
this.lblGesamtWegepauschalen = new DevExpress.XtraReports.UI.XRLabel();
|
||||
this.xrLabel28 = new DevExpress.XtraReports.UI.XRLabel();
|
||||
this.lblRechnungsbetragGesamt = new DevExpress.XtraReports.UI.XRLabel();
|
||||
((System.ComponentModel.ISupportInitialize)(this.xrTableServiceRecords1)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.xrTable3)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.bindingSource1)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.xrTable1)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.bindingSource1)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this)).BeginInit();
|
||||
//
|
||||
// Detail
|
||||
@@ -109,8 +118,8 @@ namespace AlzeyTeilhabe
|
||||
//
|
||||
// xrTableServiceRecords1
|
||||
//
|
||||
this.xrTableServiceRecords1.Borders = ((DevExpress.XtraPrinting.BorderSide)((((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top)
|
||||
| DevExpress.XtraPrinting.BorderSide.Right)
|
||||
this.xrTableServiceRecords1.Borders = ((DevExpress.XtraPrinting.BorderSide)((((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top)
|
||||
| DevExpress.XtraPrinting.BorderSide.Right)
|
||||
| DevExpress.XtraPrinting.BorderSide.Bottom)));
|
||||
this.xrTableServiceRecords1.LocationFloat = new DevExpress.Utils.PointFloat(0F, 0F);
|
||||
this.xrTableServiceRecords1.Name = "xrTableServiceRecords1";
|
||||
@@ -129,6 +138,7 @@ namespace AlzeyTeilhabe
|
||||
this.xrTableRow2.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
|
||||
this.xrTableCell3,
|
||||
this.xrTableCell4,
|
||||
this.xrTableCell7,
|
||||
this.xrTableCell1,
|
||||
this.xrTableCell11});
|
||||
this.xrTableRow2.Name = "xrTableRow2";
|
||||
@@ -198,14 +208,14 @@ namespace AlzeyTeilhabe
|
||||
// xrTable3
|
||||
//
|
||||
this.xrTable3.BorderColor = System.Drawing.Color.Black;
|
||||
this.xrTable3.Borders = ((DevExpress.XtraPrinting.BorderSide)(((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Right)
|
||||
this.xrTable3.Borders = ((DevExpress.XtraPrinting.BorderSide)(((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Right)
|
||||
| DevExpress.XtraPrinting.BorderSide.Bottom)));
|
||||
this.xrTable3.LocationFloat = new DevExpress.Utils.PointFloat(0F, 0F);
|
||||
this.xrTable3.Name = "xrTable3";
|
||||
this.xrTable3.Padding = new DevExpress.XtraPrinting.PaddingInfo(0, 0, 0, 0, 100F);
|
||||
this.xrTable3.Rows.AddRange(new DevExpress.XtraReports.UI.XRTableRow[] {
|
||||
this.xrTableRow6});
|
||||
this.xrTable3.SizeF = new System.Drawing.SizeF(696.9999F, 20F);
|
||||
this.xrTable3.SizeF = new System.Drawing.SizeF(697F, 20F);
|
||||
this.xrTable3.StylePriority.UseFont = false;
|
||||
this.xrTable3.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft;
|
||||
//
|
||||
@@ -214,6 +224,7 @@ namespace AlzeyTeilhabe
|
||||
this.xrTableRow6.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
|
||||
this.xrTableCell13,
|
||||
this.xrTableCell14,
|
||||
this.xrTableCell8,
|
||||
this.xrTableCell2,
|
||||
this.xrTableCell15});
|
||||
this.xrTableRow6.Name = "xrTableRow6";
|
||||
@@ -236,7 +247,7 @@ namespace AlzeyTeilhabe
|
||||
// xrTableCell14
|
||||
//
|
||||
this.xrTableCell14.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
|
||||
new DevExpress.XtraReports.UI.XRBinding("Text", null, "Services.fieldStunden", "{0:0.00}")});
|
||||
new DevExpress.XtraReports.UI.XRBinding("Text", null, "Services.Notice4", "{0:0.00}")});
|
||||
this.xrTableCell14.Name = "xrTableCell14";
|
||||
this.xrTableCell14.StylePriority.UseFont = false;
|
||||
this.xrTableCell14.StylePriority.UsePadding = false;
|
||||
@@ -281,10 +292,6 @@ namespace AlzeyTeilhabe
|
||||
this.picSignature.StylePriority.UseBorders = false;
|
||||
this.picSignature.BeforePrint += new DevExpress.XtraReports.UI.BeforePrintEventHandler(this.picSignature_BeforePrint);
|
||||
//
|
||||
// bindingSource1
|
||||
//
|
||||
this.bindingSource1.DataSource = typeof(BeWo.Report.ReportObjects.ServicesOverviewRO);
|
||||
//
|
||||
// formattingRuleStartDate
|
||||
//
|
||||
this.formattingRuleStartDate.Condition = "[StartDate2] < [StartDate]";
|
||||
@@ -310,7 +317,7 @@ namespace AlzeyTeilhabe
|
||||
this.xrLabel13,
|
||||
this.xrLabel12,
|
||||
this.xrLabel1});
|
||||
this.ReportHeader.Font = new System.Drawing.Font("Arial", 11F);
|
||||
this.ReportHeader.Font = new DevExpress.Drawing.DXFont("Arial", 11F);
|
||||
this.ReportHeader.HeightF = 240F;
|
||||
this.ReportHeader.Name = "ReportHeader";
|
||||
this.ReportHeader.StylePriority.UseFont = false;
|
||||
@@ -338,7 +345,7 @@ namespace AlzeyTeilhabe
|
||||
this.xrLabel17.Borders = DevExpress.XtraPrinting.BorderSide.Bottom;
|
||||
this.xrLabel17.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
|
||||
new DevExpress.XtraReports.UI.XRBinding("Text", null, "MainAttendant")});
|
||||
this.xrLabel17.Font = new System.Drawing.Font("Arial", 11F);
|
||||
this.xrLabel17.Font = new DevExpress.Drawing.DXFont("Arial", 11F);
|
||||
this.xrLabel17.LocationFloat = new DevExpress.Utils.PointFloat(288F, 205F);
|
||||
this.xrLabel17.Name = "xrLabel17";
|
||||
this.xrLabel17.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
|
||||
@@ -360,7 +367,7 @@ namespace AlzeyTeilhabe
|
||||
this.xrLabel29.Borders = DevExpress.XtraPrinting.BorderSide.Bottom;
|
||||
this.xrLabel29.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
|
||||
new DevExpress.XtraReports.UI.XRBinding("Text", null, "ApprovedFLSPerMonthTotal", "{0:0.00}")});
|
||||
this.xrLabel29.Font = new System.Drawing.Font("Arial", 11F);
|
||||
this.xrLabel29.Font = new DevExpress.Drawing.DXFont("Arial", 11F);
|
||||
this.xrLabel29.LocationFloat = new DevExpress.Utils.PointFloat(288F, 180F);
|
||||
this.xrLabel29.Name = "xrLabel29";
|
||||
this.xrLabel29.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
|
||||
@@ -373,7 +380,7 @@ namespace AlzeyTeilhabe
|
||||
this.xrLabel26.Borders = DevExpress.XtraPrinting.BorderSide.Bottom;
|
||||
this.xrLabel26.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
|
||||
new DevExpress.XtraReports.UI.XRBinding("Text", null, "ApprovedFLSTotal", "{0:0.00}")});
|
||||
this.xrLabel26.Font = new System.Drawing.Font("Arial", 11F);
|
||||
this.xrLabel26.Font = new DevExpress.Drawing.DXFont("Arial", 11F);
|
||||
this.xrLabel26.LocationFloat = new DevExpress.Utils.PointFloat(288F, 155F);
|
||||
this.xrLabel26.Name = "xrLabel26";
|
||||
this.xrLabel26.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
|
||||
@@ -384,7 +391,7 @@ namespace AlzeyTeilhabe
|
||||
// xrLabel25
|
||||
//
|
||||
this.xrLabel25.Borders = DevExpress.XtraPrinting.BorderSide.Bottom;
|
||||
this.xrLabel25.Font = new System.Drawing.Font("Arial", 11F);
|
||||
this.xrLabel25.Font = new DevExpress.Drawing.DXFont("Arial", 11F);
|
||||
this.xrLabel25.LocationFloat = new DevExpress.Utils.PointFloat(200F, 130F);
|
||||
this.xrLabel25.Name = "xrLabel25";
|
||||
this.xrLabel25.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
|
||||
@@ -398,7 +405,7 @@ namespace AlzeyTeilhabe
|
||||
this.xrLabel24.Borders = DevExpress.XtraPrinting.BorderSide.Bottom;
|
||||
this.xrLabel24.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
|
||||
new DevExpress.XtraReports.UI.XRBinding("Text", null, "CustomerFirstName")});
|
||||
this.xrLabel24.Font = new System.Drawing.Font("Arial", 11F);
|
||||
this.xrLabel24.Font = new DevExpress.Drawing.DXFont("Arial", 11F);
|
||||
this.xrLabel24.LocationFloat = new DevExpress.Utils.PointFloat(200F, 105F);
|
||||
this.xrLabel24.Name = "xrLabel24";
|
||||
this.xrLabel24.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
|
||||
@@ -411,7 +418,7 @@ namespace AlzeyTeilhabe
|
||||
this.xrLabel23.Borders = DevExpress.XtraPrinting.BorderSide.Bottom;
|
||||
this.xrLabel23.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
|
||||
new DevExpress.XtraReports.UI.XRBinding("Text", null, "CustomerLastName")});
|
||||
this.xrLabel23.Font = new System.Drawing.Font("Arial", 11F);
|
||||
this.xrLabel23.Font = new DevExpress.Drawing.DXFont("Arial", 11F);
|
||||
this.xrLabel23.LocationFloat = new DevExpress.Utils.PointFloat(200F, 79.99998F);
|
||||
this.xrLabel23.Name = "xrLabel23";
|
||||
this.xrLabel23.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
|
||||
@@ -466,7 +473,7 @@ namespace AlzeyTeilhabe
|
||||
//
|
||||
// xrLabel1
|
||||
//
|
||||
this.xrLabel1.Font = new System.Drawing.Font("Arial", 12F, ((System.Drawing.FontStyle)((System.Drawing.FontStyle.Bold | System.Drawing.FontStyle.Underline))));
|
||||
this.xrLabel1.Font = new DevExpress.Drawing.DXFont("Arial", 12F, ((DevExpress.Drawing.DXFontStyle)((DevExpress.Drawing.DXFontStyle.Bold | DevExpress.Drawing.DXFontStyle.Underline))));
|
||||
this.xrLabel1.LocationFloat = new DevExpress.Utils.PointFloat(0F, 0F);
|
||||
this.xrLabel1.Multiline = true;
|
||||
this.xrLabel1.Name = "xrLabel1";
|
||||
@@ -500,7 +507,7 @@ namespace AlzeyTeilhabe
|
||||
//
|
||||
// topMarginBand1
|
||||
//
|
||||
this.topMarginBand1.Font = new System.Drawing.Font("Times New Roman", 9.75F);
|
||||
this.topMarginBand1.Font = new DevExpress.Drawing.DXFont("Times New Roman", 9.75F);
|
||||
this.topMarginBand1.HeightF = 50F;
|
||||
this.topMarginBand1.Name = "topMarginBand1";
|
||||
this.topMarginBand1.StylePriority.UseFont = false;
|
||||
@@ -513,11 +520,16 @@ namespace AlzeyTeilhabe
|
||||
// ReportFooter
|
||||
//
|
||||
this.ReportFooter.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
|
||||
this.lblRechnungsbetragGesamt,
|
||||
this.lblRechnungsbetragWegepauschalen,
|
||||
this.lblVerguetungssatzWegepauschalen,
|
||||
this.lblGesamtWegepauschalen,
|
||||
this.xrLabel28,
|
||||
this.xrLabel4,
|
||||
this.xrLabel6,
|
||||
this.xrLabel7,
|
||||
this.xrLabel8,
|
||||
this.xrLabel9,
|
||||
this.lblGesamtFLS,
|
||||
this.lblVerguetungssatzFLS,
|
||||
this.lblRechnungsbetragFLS,
|
||||
this.xrLabel11,
|
||||
this.xrLabel10,
|
||||
this.xrLabel20,
|
||||
@@ -526,14 +538,15 @@ namespace AlzeyTeilhabe
|
||||
this.xrTable1,
|
||||
this.xrLabel2,
|
||||
this.xrLabel5});
|
||||
this.ReportFooter.Font = new System.Drawing.Font("Arial", 11F);
|
||||
this.ReportFooter.HeightF = 247.2917F;
|
||||
this.ReportFooter.Font = new DevExpress.Drawing.DXFont("Arial", 11F);
|
||||
this.ReportFooter.HeightF = 281.6667F;
|
||||
this.ReportFooter.Name = "ReportFooter";
|
||||
this.ReportFooter.StylePriority.UseFont = false;
|
||||
//
|
||||
// xrLabel4
|
||||
//
|
||||
this.xrLabel4.Font = new System.Drawing.Font("Arial", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.xrLabel4.Font = new DevExpress.Drawing.DXFont("Arial", 11.25F, DevExpress.Drawing.DXFontStyle.Bold, DevExpress.Drawing.DXGraphicsUnit.Point, new DevExpress.Drawing.DXFontAdditionalProperty[] {
|
||||
new DevExpress.Drawing.DXFontAdditionalProperty("GdiCharSet", ((byte)(0)))});
|
||||
this.xrLabel4.LocationFloat = new DevExpress.Utils.PointFloat(9.536743E-05F, 92.84382F);
|
||||
this.xrLabel4.Name = "xrLabel4";
|
||||
this.xrLabel4.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
|
||||
@@ -550,41 +563,33 @@ namespace AlzeyTeilhabe
|
||||
this.xrLabel6.StylePriority.UseFont = false;
|
||||
this.xrLabel6.Text = "Anzahl FLStd.";
|
||||
//
|
||||
// xrLabel7
|
||||
// lblGesamtFLS
|
||||
//
|
||||
this.xrLabel7.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
|
||||
new DevExpress.XtraReports.UI.XRBinding("Text", null, "fieldBillableFLS", "{0:0.00}")});
|
||||
this.xrLabel7.LocationFloat = new DevExpress.Utils.PointFloat(194.7918F, 142.4688F);
|
||||
this.xrLabel7.Name = "xrLabel7";
|
||||
this.xrLabel7.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
|
||||
this.xrLabel7.SizeF = new System.Drawing.SizeF(72.37503F, 19.79172F);
|
||||
this.xrLabel7.StylePriority.UseFont = false;
|
||||
this.xrLabel7.Text = "Zusätzliche Fachkraft:";
|
||||
this.lblGesamtFLS.LocationFloat = new DevExpress.Utils.PointFloat(194.7918F, 142.4688F);
|
||||
this.lblGesamtFLS.Name = "lblGesamtFLS";
|
||||
this.lblGesamtFLS.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
|
||||
this.lblGesamtFLS.SizeF = new System.Drawing.SizeF(72.37503F, 19.79172F);
|
||||
this.lblGesamtFLS.StylePriority.UseFont = false;
|
||||
//
|
||||
// xrLabel8
|
||||
// lblVerguetungssatzFLS
|
||||
//
|
||||
this.xrLabel8.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
|
||||
new DevExpress.XtraReports.UI.XRBinding("Text", null, "RateFactor", "{0:0.00} €")});
|
||||
this.xrLabel8.LocationFloat = new DevExpress.Utils.PointFloat(267.1668F, 142.4688F);
|
||||
this.xrLabel8.Name = "xrLabel8";
|
||||
this.xrLabel8.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
|
||||
this.xrLabel8.SizeF = new System.Drawing.SizeF(125.5F, 19.79172F);
|
||||
this.xrLabel8.StylePriority.UseFont = false;
|
||||
this.xrLabel8.StylePriority.UseTextAlignment = false;
|
||||
this.xrLabel8.Text = "Zusätzliche Fachkraft:";
|
||||
this.xrLabel8.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopCenter;
|
||||
this.lblVerguetungssatzFLS.LocationFloat = new DevExpress.Utils.PointFloat(267.1668F, 142.4688F);
|
||||
this.lblVerguetungssatzFLS.Name = "lblVerguetungssatzFLS";
|
||||
this.lblVerguetungssatzFLS.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
|
||||
this.lblVerguetungssatzFLS.SizeF = new System.Drawing.SizeF(125.5F, 19.79172F);
|
||||
this.lblVerguetungssatzFLS.StylePriority.UseFont = false;
|
||||
this.lblVerguetungssatzFLS.StylePriority.UseTextAlignment = false;
|
||||
this.lblVerguetungssatzFLS.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopCenter;
|
||||
//
|
||||
// xrLabel9
|
||||
// lblRechnungsbetragFLS
|
||||
//
|
||||
this.xrLabel9.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
|
||||
new DevExpress.XtraReports.UI.XRBinding("Text", null, "fieldTotalSum", "{0:0.00} €")});
|
||||
this.xrLabel9.LocationFloat = new DevExpress.Utils.PointFloat(392.6666F, 142.4688F);
|
||||
this.xrLabel9.Name = "xrLabel9";
|
||||
this.xrLabel9.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
|
||||
this.xrLabel9.SizeF = new System.Drawing.SizeF(125.5F, 19.79172F);
|
||||
this.xrLabel9.StylePriority.UseFont = false;
|
||||
this.xrLabel9.StylePriority.UseTextAlignment = false;
|
||||
this.xrLabel9.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopCenter;
|
||||
this.lblRechnungsbetragFLS.LocationFloat = new DevExpress.Utils.PointFloat(392.6666F, 142.4688F);
|
||||
this.lblRechnungsbetragFLS.Name = "lblRechnungsbetragFLS";
|
||||
this.lblRechnungsbetragFLS.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
|
||||
this.lblRechnungsbetragFLS.SizeF = new System.Drawing.SizeF(125.5F, 19.79172F);
|
||||
this.lblRechnungsbetragFLS.StylePriority.UseFont = false;
|
||||
this.lblRechnungsbetragFLS.StylePriority.UseTextAlignment = false;
|
||||
this.lblRechnungsbetragFLS.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopCenter;
|
||||
//
|
||||
// xrLabel11
|
||||
//
|
||||
@@ -610,7 +615,7 @@ namespace AlzeyTeilhabe
|
||||
//
|
||||
// xrLabel20
|
||||
//
|
||||
this.xrLabel20.LocationFloat = new DevExpress.Utils.PointFloat(9.536743E-05F, 182.5729F);
|
||||
this.xrLabel20.LocationFloat = new DevExpress.Utils.PointFloat(9.536743E-05F, 206.9479F);
|
||||
this.xrLabel20.Name = "xrLabel20";
|
||||
this.xrLabel20.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
|
||||
this.xrLabel20.SizeF = new System.Drawing.SizeF(392.6667F, 19.79166F);
|
||||
@@ -620,7 +625,7 @@ namespace AlzeyTeilhabe
|
||||
//
|
||||
// lblUebertragFLS
|
||||
//
|
||||
this.lblUebertragFLS.LocationFloat = new DevExpress.Utils.PointFloat(392.6666F, 182.5728F);
|
||||
this.lblUebertragFLS.LocationFloat = new DevExpress.Utils.PointFloat(392.6666F, 206.9478F);
|
||||
this.lblUebertragFLS.Name = "lblUebertragFLS";
|
||||
this.lblUebertragFLS.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
|
||||
this.lblUebertragFLS.SizeF = new System.Drawing.SizeF(130.7083F, 19.79172F);
|
||||
@@ -643,14 +648,14 @@ namespace AlzeyTeilhabe
|
||||
// xrTable1
|
||||
//
|
||||
this.xrTable1.BorderColor = System.Drawing.Color.Black;
|
||||
this.xrTable1.Borders = ((DevExpress.XtraPrinting.BorderSide)(((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Right)
|
||||
this.xrTable1.Borders = ((DevExpress.XtraPrinting.BorderSide)(((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Right)
|
||||
| DevExpress.XtraPrinting.BorderSide.Bottom)));
|
||||
this.xrTable1.LocationFloat = new DevExpress.Utils.PointFloat(0F, 0F);
|
||||
this.xrTable1.Name = "xrTable1";
|
||||
this.xrTable1.Padding = new DevExpress.XtraPrinting.PaddingInfo(0, 0, 0, 0, 100F);
|
||||
this.xrTable1.Rows.AddRange(new DevExpress.XtraReports.UI.XRTableRow[] {
|
||||
this.xrTableRow1});
|
||||
this.xrTable1.SizeF = new System.Drawing.SizeF(200F, 40F);
|
||||
this.xrTable1.SizeF = new System.Drawing.SizeF(262.3589F, 40F);
|
||||
this.xrTable1.StylePriority.UseFont = false;
|
||||
this.xrTable1.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft;
|
||||
//
|
||||
@@ -658,7 +663,8 @@ namespace AlzeyTeilhabe
|
||||
//
|
||||
this.xrTableRow1.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
|
||||
this.xrTableCell5,
|
||||
this.xrTableCell6});
|
||||
this.tcSummeFLS,
|
||||
this.tcSummeWegepauschalen});
|
||||
this.xrTableRow1.Name = "xrTableRow1";
|
||||
this.xrTableRow1.Padding = new DevExpress.XtraPrinting.PaddingInfo(0, 0, 0, 0, 100F);
|
||||
this.xrTableRow1.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft;
|
||||
@@ -671,25 +677,23 @@ namespace AlzeyTeilhabe
|
||||
this.xrTableCell5.StylePriority.UseFont = false;
|
||||
this.xrTableCell5.StylePriority.UsePadding = false;
|
||||
this.xrTableCell5.StylePriority.UseTextAlignment = false;
|
||||
this.xrTableCell5.Text = "Summe\r\nFLStd.";
|
||||
this.xrTableCell5.Text = "Summen";
|
||||
this.xrTableCell5.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
|
||||
this.xrTableCell5.Weight = 0.12626259807949769D;
|
||||
this.xrTableCell5.Weight = 0.11042036573041793D;
|
||||
//
|
||||
// xrTableCell6
|
||||
// tcSummeFLS
|
||||
//
|
||||
this.xrTableCell6.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
|
||||
new DevExpress.XtraReports.UI.XRBinding("Text", null, "fieldBillableFLS", "{0:0.00}")});
|
||||
this.xrTableCell6.Name = "xrTableCell6";
|
||||
this.xrTableCell6.StylePriority.UseFont = false;
|
||||
this.xrTableCell6.StylePriority.UsePadding = false;
|
||||
this.xrTableCell6.StylePriority.UseTextAlignment = false;
|
||||
this.xrTableCell6.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
|
||||
this.xrTableCell6.Weight = 0.12626260328760389D;
|
||||
this.tcSummeFLS.Name = "tcSummeFLS";
|
||||
this.tcSummeFLS.StylePriority.UseFont = false;
|
||||
this.tcSummeFLS.StylePriority.UsePadding = false;
|
||||
this.tcSummeFLS.StylePriority.UseTextAlignment = false;
|
||||
this.tcSummeFLS.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
|
||||
this.tcSummeFLS.Weight = 0.11042039020466815D;
|
||||
//
|
||||
// xrLabel2
|
||||
//
|
||||
this.xrLabel2.Borders = DevExpress.XtraPrinting.BorderSide.Top;
|
||||
this.xrLabel2.LocationFloat = new DevExpress.Utils.PointFloat(356.1667F, 229.2917F);
|
||||
this.xrLabel2.LocationFloat = new DevExpress.Utils.PointFloat(356.1667F, 253.6667F);
|
||||
this.xrLabel2.Name = "xrLabel2";
|
||||
this.xrLabel2.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
|
||||
this.xrLabel2.SizeF = new System.Drawing.SizeF(340.8333F, 17.99997F);
|
||||
@@ -700,7 +704,7 @@ namespace AlzeyTeilhabe
|
||||
// xrLabel5
|
||||
//
|
||||
this.xrLabel5.Borders = DevExpress.XtraPrinting.BorderSide.Top;
|
||||
this.xrLabel5.LocationFloat = new DevExpress.Utils.PointFloat(0F, 229.2917F);
|
||||
this.xrLabel5.LocationFloat = new DevExpress.Utils.PointFloat(0F, 253.6667F);
|
||||
this.xrLabel5.Name = "xrLabel5";
|
||||
this.xrLabel5.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
|
||||
this.xrLabel5.SizeF = new System.Drawing.SizeF(117.2917F, 17.99997F);
|
||||
@@ -739,6 +743,90 @@ namespace AlzeyTeilhabe
|
||||
this.fieldTotalSum.Expression = "Round([TotalFLMBillable] / 60, 2) * [RateFactor]";
|
||||
this.fieldTotalSum.Name = "fieldTotalSum";
|
||||
//
|
||||
// xrTableCell7
|
||||
//
|
||||
this.xrTableCell7.Multiline = true;
|
||||
this.xrTableCell7.Name = "xrTableCell7";
|
||||
this.xrTableCell7.Padding = new DevExpress.XtraPrinting.PaddingInfo(5, 2, 0, 0, 100F);
|
||||
this.xrTableCell7.StylePriority.UseFont = false;
|
||||
this.xrTableCell7.StylePriority.UseTextAlignment = false;
|
||||
this.xrTableCell7.Text = "Wege-pauschale";
|
||||
this.xrTableCell7.Weight = 0.24385917973591581D;
|
||||
//
|
||||
// xrTableCell8
|
||||
//
|
||||
this.xrTableCell8.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
|
||||
new DevExpress.XtraReports.UI.XRBinding("Text", null, "Services.Notice5")});
|
||||
this.xrTableCell8.Multiline = true;
|
||||
this.xrTableCell8.Name = "xrTableCell8";
|
||||
this.xrTableCell8.StylePriority.UseFont = false;
|
||||
this.xrTableCell8.StylePriority.UsePadding = false;
|
||||
this.xrTableCell8.StylePriority.UseTextAlignment = false;
|
||||
this.xrTableCell8.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopCenter;
|
||||
this.xrTableCell8.Weight = 0.12626260328760389D;
|
||||
//
|
||||
// tcSummeWegepauschalen
|
||||
//
|
||||
this.tcSummeWegepauschalen.Multiline = true;
|
||||
this.tcSummeWegepauschalen.Name = "tcSummeWegepauschalen";
|
||||
this.tcSummeWegepauschalen.StylePriority.UseFont = false;
|
||||
this.tcSummeWegepauschalen.StylePriority.UsePadding = false;
|
||||
this.tcSummeWegepauschalen.StylePriority.UseTextAlignment = false;
|
||||
this.tcSummeWegepauschalen.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
|
||||
this.tcSummeWegepauschalen.Weight = 0.11042039983774019D;
|
||||
//
|
||||
// bindingSource1
|
||||
//
|
||||
this.bindingSource1.DataSource = typeof(BeWo.Report.ReportObjects.ServicesOverviewRO);
|
||||
//
|
||||
// lblRechnungsbetragWegepauschalen
|
||||
//
|
||||
this.lblRechnungsbetragWegepauschalen.LocationFloat = new DevExpress.Utils.PointFloat(392.6666F, 162.2604F);
|
||||
this.lblRechnungsbetragWegepauschalen.Name = "lblRechnungsbetragWegepauschalen";
|
||||
this.lblRechnungsbetragWegepauschalen.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
|
||||
this.lblRechnungsbetragWegepauschalen.SizeF = new System.Drawing.SizeF(125.5F, 19.79172F);
|
||||
this.lblRechnungsbetragWegepauschalen.StylePriority.UseFont = false;
|
||||
this.lblRechnungsbetragWegepauschalen.StylePriority.UseTextAlignment = false;
|
||||
this.lblRechnungsbetragWegepauschalen.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopCenter;
|
||||
//
|
||||
// lblVerguetungssatzWegepauschalen
|
||||
//
|
||||
this.lblVerguetungssatzWegepauschalen.LocationFloat = new DevExpress.Utils.PointFloat(267.1668F, 162.2604F);
|
||||
this.lblVerguetungssatzWegepauschalen.Name = "lblVerguetungssatzWegepauschalen";
|
||||
this.lblVerguetungssatzWegepauschalen.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
|
||||
this.lblVerguetungssatzWegepauschalen.SizeF = new System.Drawing.SizeF(125.5F, 19.79172F);
|
||||
this.lblVerguetungssatzWegepauschalen.StylePriority.UseFont = false;
|
||||
this.lblVerguetungssatzWegepauschalen.StylePriority.UseTextAlignment = false;
|
||||
this.lblVerguetungssatzWegepauschalen.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopCenter;
|
||||
//
|
||||
// lblGesamtWegepauschalen
|
||||
//
|
||||
this.lblGesamtWegepauschalen.LocationFloat = new DevExpress.Utils.PointFloat(194.7918F, 162.2604F);
|
||||
this.lblGesamtWegepauschalen.Name = "lblGesamtWegepauschalen";
|
||||
this.lblGesamtWegepauschalen.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
|
||||
this.lblGesamtWegepauschalen.SizeF = new System.Drawing.SizeF(72.37503F, 19.79172F);
|
||||
this.lblGesamtWegepauschalen.StylePriority.UseFont = false;
|
||||
//
|
||||
// xrLabel28
|
||||
//
|
||||
this.xrLabel28.LocationFloat = new DevExpress.Utils.PointFloat(9.536743E-05F, 162.2605F);
|
||||
this.xrLabel28.Name = "xrLabel28";
|
||||
this.xrLabel28.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
|
||||
this.xrLabel28.SizeF = new System.Drawing.SizeF(194.7917F, 19.79166F);
|
||||
this.xrLabel28.StylePriority.UseFont = false;
|
||||
this.xrLabel28.Text = "Anzahl Wegepauschalen";
|
||||
//
|
||||
// lblRechnungsbetragGesamt
|
||||
//
|
||||
this.lblRechnungsbetragGesamt.Font = new DevExpress.Drawing.DXFont("Arial", 11F, DevExpress.Drawing.DXFontStyle.Bold);
|
||||
this.lblRechnungsbetragGesamt.LocationFloat = new DevExpress.Utils.PointFloat(392.6668F, 182.0521F);
|
||||
this.lblRechnungsbetragGesamt.Name = "lblRechnungsbetragGesamt";
|
||||
this.lblRechnungsbetragGesamt.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
|
||||
this.lblRechnungsbetragGesamt.SizeF = new System.Drawing.SizeF(125.5F, 19.79172F);
|
||||
this.lblRechnungsbetragGesamt.StylePriority.UseFont = false;
|
||||
this.lblRechnungsbetragGesamt.StylePriority.UseTextAlignment = false;
|
||||
this.lblRechnungsbetragGesamt.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopCenter;
|
||||
//
|
||||
// StundenzettelWo
|
||||
//
|
||||
this.Bands.AddRange(new DevExpress.XtraReports.UI.Band[] {
|
||||
@@ -755,22 +843,24 @@ namespace AlzeyTeilhabe
|
||||
this.fieldStunden,
|
||||
this.fieldTotalSum});
|
||||
this.DataSource = this.bindingSource1;
|
||||
this.Font = new System.Drawing.Font("Arial", 11F);
|
||||
this.Font = new DevExpress.Drawing.DXFont("Arial", 11F);
|
||||
this.FormattingRuleSheet.AddRange(new DevExpress.XtraReports.UI.FormattingRule[] {
|
||||
this.formattingRuleStartDate,
|
||||
this.formattingRuleServiceDesc,
|
||||
this.formattingRuleCostBearer,
|
||||
this.formattingRuleEmployeeName});
|
||||
this.Margins = new System.Drawing.Printing.Margins(70, 60, 50, 30);
|
||||
this.Margins = new DevExpress.Drawing.DXMargins(70F, 60F, 50F, 30F);
|
||||
this.PageHeight = 1169;
|
||||
this.PageWidth = 827;
|
||||
this.PaperKind = DevExpress.Drawing.Printing.DXPaperKind.A4;
|
||||
this.SnapGridSize = 9F;
|
||||
this.Version = "17.1";
|
||||
this.Version = "23.2";
|
||||
xrWatermark1.Id = "Watermark1";
|
||||
this.Watermarks.Add(xrWatermark1);
|
||||
((System.ComponentModel.ISupportInitialize)(this.xrTableServiceRecords1)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.xrTable3)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.bindingSource1)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.xrTable1)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.bindingSource1)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this)).EndInit();
|
||||
|
||||
}
|
||||
@@ -825,18 +915,26 @@ namespace AlzeyTeilhabe
|
||||
private DevExpress.XtraReports.UI.XRTable xrTable1;
|
||||
private DevExpress.XtraReports.UI.XRTableRow xrTableRow1;
|
||||
private DevExpress.XtraReports.UI.XRTableCell xrTableCell5;
|
||||
private DevExpress.XtraReports.UI.XRTableCell xrTableCell6;
|
||||
private DevExpress.XtraReports.UI.XRTableCell tcSummeFLS;
|
||||
private DevExpress.XtraReports.UI.XRLabel xrLabel3;
|
||||
private DevExpress.XtraReports.UI.XRLabel xrLabel4;
|
||||
private DevExpress.XtraReports.UI.XRLabel xrLabel6;
|
||||
private DevExpress.XtraReports.UI.XRLabel xrLabel7;
|
||||
private DevExpress.XtraReports.UI.XRLabel xrLabel8;
|
||||
private DevExpress.XtraReports.UI.XRLabel xrLabel9;
|
||||
private DevExpress.XtraReports.UI.XRLabel lblGesamtFLS;
|
||||
private DevExpress.XtraReports.UI.XRLabel lblVerguetungssatzFLS;
|
||||
private DevExpress.XtraReports.UI.XRLabel lblRechnungsbetragFLS;
|
||||
private DevExpress.XtraReports.UI.XRLabel xrLabel11;
|
||||
private DevExpress.XtraReports.UI.XRLabel xrLabel10;
|
||||
private DevExpress.XtraReports.UI.XRLabel xrLabel20;
|
||||
private DevExpress.XtraReports.UI.XRLabel lblUebertragFLS;
|
||||
private DevExpress.XtraReports.UI.CalculatedField fieldTotalSum;
|
||||
private DevExpress.XtraReports.UI.XRPictureBox picSignature;
|
||||
private DevExpress.XtraReports.UI.XRTableCell xrTableCell7;
|
||||
private DevExpress.XtraReports.UI.XRTableCell xrTableCell8;
|
||||
private DevExpress.XtraReports.UI.XRTableCell tcSummeWegepauschalen;
|
||||
private DevExpress.XtraReports.UI.XRLabel lblRechnungsbetragWegepauschalen;
|
||||
private DevExpress.XtraReports.UI.XRLabel lblVerguetungssatzWegepauschalen;
|
||||
private DevExpress.XtraReports.UI.XRLabel lblGesamtWegepauschalen;
|
||||
private DevExpress.XtraReports.UI.XRLabel xrLabel28;
|
||||
private DevExpress.XtraReports.UI.XRLabel lblRechnungsbetragGesamt;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -15,6 +15,8 @@ using BS.Shared.DataContracts;
|
||||
using System.Text.RegularExpressions;
|
||||
using System.IO;
|
||||
using System.Drawing;
|
||||
using BeWo.Data.Access;
|
||||
using BeWo.Data.Entities;
|
||||
|
||||
namespace AlzeyTeilhabe
|
||||
{
|
||||
@@ -27,24 +29,56 @@ namespace AlzeyTeilhabe
|
||||
|
||||
public void SetReportDataSource(ServicesOverviewRO pRO)
|
||||
{
|
||||
int pauschalen = 0;
|
||||
double flm = 0;
|
||||
|
||||
if (pRO.Services != null)
|
||||
{
|
||||
List<ServicesOverviewRO.ServiceDetail> servicesBillable = new List<ServicesOverviewRO.ServiceDetail>();
|
||||
|
||||
|
||||
foreach (ServicesOverviewRO.ServiceDetail s in pRO.Services)
|
||||
{
|
||||
if (s.IsBillable)
|
||||
{
|
||||
if (s.ServiceDescription.ToLower().Contains("wegepauschale"))
|
||||
{
|
||||
s.Notice5 = "1";
|
||||
pauschalen++;
|
||||
}
|
||||
else
|
||||
{
|
||||
s.Notice4 = string.Format("{0:0.00}", s.Minutes / 60);
|
||||
flm += s.Minutes;
|
||||
}
|
||||
|
||||
ServicesOverviewRO.CreateSignatureString(s);
|
||||
servicesBillable.Add(s);
|
||||
}
|
||||
}
|
||||
|
||||
tcSummeFLS.Text = string.Format("{0:0.00}", flm / 60);
|
||||
tcSummeWegepauschalen.Text = string.Format("{0:0}", pauschalen);
|
||||
|
||||
pRO.Services = servicesBillable;
|
||||
}
|
||||
|
||||
decimal stundensatz = GetStundensatz(pRO);
|
||||
pRO.RateFactor = stundensatz;
|
||||
decimal stundensatzFLS = GetStundensatz(pRO);
|
||||
decimal stundensatzWegepauschalen = GetStundensatzWegepauschalen(pRO);
|
||||
|
||||
var betragFls = Convert.ToDecimal(flm) / 60 * stundensatzFLS;
|
||||
var betragWegepauschalen = pauschalen * stundensatzWegepauschalen;
|
||||
var betragGesamt = betragFls + betragWegepauschalen;
|
||||
|
||||
lblGesamtFLS.Text = string.Format("{0:0.00}", Convert.ToDecimal(flm) / 60);
|
||||
lblGesamtWegepauschalen.Text = string.Format("{0:0}", pauschalen);
|
||||
|
||||
lblVerguetungssatzFLS.Text = string.Format("{0:0.00} EUR", stundensatzFLS);
|
||||
lblVerguetungssatzWegepauschalen.Text = string.Format("{0:0.00} EUR", stundensatzWegepauschalen);
|
||||
|
||||
lblRechnungsbetragFLS.Text = string.Format("{0:0.00} EUR", betragFls);
|
||||
lblRechnungsbetragWegepauschalen.Text = string.Format("{0:0.00} EUR", betragWegepauschalen);
|
||||
lblRechnungsbetragGesamt.Text = string.Format("{0:0.00} EUR", betragGesamt);
|
||||
|
||||
|
||||
decimal uebertragFLS = 0;
|
||||
if (pRO.SupportConceptCostBearer != null)
|
||||
@@ -110,6 +144,21 @@ namespace AlzeyTeilhabe
|
||||
|
||||
return 0;
|
||||
}
|
||||
private decimal GetStundensatzWegepauschalen(ServicesOverviewRO pRO)
|
||||
{
|
||||
var list = DAOFactory.GenericDAO.GetAllActive<ServiceDescription>();
|
||||
var wegepauschale = list.FirstOrDefault(s => s.ServiceCategory.Name == "EGH_2025 neuer LRV" && s.Name == "Wegepauschale" ||
|
||||
s.ServiceCategory.Name == "EGH_2025 neuer LVR" && s.Name == "Wegepauschale");
|
||||
if (wegepauschale != null && wegepauschale.CostRatePeriods != null && wegepauschale.CostRatePeriods.Count > 0)
|
||||
{
|
||||
var crpList = MapperFactory.CostRatePeriodDC_CostRatePeriod.MapToNewDCs(wegepauschale.CostRatePeriods);
|
||||
var crp = crpList.GetCostRatePeriodForDate(CostRatePeriodType.AmountOfMoney, pRO.StartDate);
|
||||
|
||||
if (crp != null && crp.CostRateValue.HasValue)
|
||||
return crp.CostRateValue.Value;
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
private void picSignature_BeforePrint(object sender, CancelEventArgs e)
|
||||
{
|
||||
XRPictureBox xrBox = sender as XRPictureBox;
|
||||
@@ -119,7 +168,7 @@ namespace AlzeyTeilhabe
|
||||
{
|
||||
var base64Data = Regex.Match(base64String, @"data:image/(?<type>.+?),(?<data>.+)").Groups["data"].Value;
|
||||
var binData = Convert.FromBase64String(base64Data);
|
||||
Image img = ByteArrayToImage(binData);
|
||||
System.Drawing.Image img = ByteArrayToImage(binData);
|
||||
xrBox.Image = Utils.CropImage(img);
|
||||
}
|
||||
else
|
||||
@@ -128,11 +177,11 @@ namespace AlzeyTeilhabe
|
||||
}
|
||||
}
|
||||
|
||||
public Image ByteArrayToImage(byte[] byteArrayIn)
|
||||
public System.Drawing.Image ByteArrayToImage(byte[] byteArrayIn)
|
||||
{
|
||||
using (var memoryStream = new MemoryStream(byteArrayIn))
|
||||
{
|
||||
return Image.FromStream(memoryStream);
|
||||
return System.Drawing.Image.FromStream(memoryStream);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
BIN
ReportImp/AlzeyTeilhabe/UnterschriftHofmann.jpg
Normal file
BIN
ReportImp/AlzeyTeilhabe/UnterschriftHofmann.jpg
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 19 KiB |
@@ -55,8 +55,27 @@
|
||||
<Reference Include="System.Xml" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Compile Include="Invoicing\CustomInvoiceFactory.cs" />
|
||||
<Compile Include="Invoicing\CustomSettlementInvoiceCreation.cs" />
|
||||
<Compile Include="Properties\AssemblyInfo.cs" />
|
||||
<Compile Include="Properties\Resources.Designer.cs">
|
||||
<AutoGen>True</AutoGen>
|
||||
<DesignTime>True</DesignTime>
|
||||
<DependentUpon>Resources.resx</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="Quittierungsbeleg.cs">
|
||||
<SubType>Component</SubType>
|
||||
</Compile>
|
||||
<Compile Include="Quittierungsbeleg.Designer.cs">
|
||||
<DependentUpon>Quittierungsbeleg.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="Service\CustomVacationService.cs" />
|
||||
<Compile Include="SettlementReport2.cs">
|
||||
<SubType>Component</SubType>
|
||||
</Compile>
|
||||
<Compile Include="SettlementReport2.Designer.cs">
|
||||
<DependentUpon>SettlementReport2.cs</DependentUpon>
|
||||
</Compile>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ProjectReference Include="..\..\Data\Data.csproj">
|
||||
@@ -76,5 +95,20 @@
|
||||
<Name>Shared</Name>
|
||||
</ProjectReference>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<EmbeddedResource Include="Properties\licenses.licx" />
|
||||
<EmbeddedResource Include="Properties\Resources.resx">
|
||||
<Generator>ResXFileCodeGenerator</Generator>
|
||||
<LastGenOutput>Resources.Designer.cs</LastGenOutput>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="Quittierungsbeleg.resx">
|
||||
<DependentUpon>Quittierungsbeleg.cs</DependentUpon>
|
||||
<SubType>Designer</SubType>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="SettlementReport2.resx">
|
||||
<DependentUpon>SettlementReport2.cs</DependentUpon>
|
||||
<SubType>Designer</SubType>
|
||||
</EmbeddedResource>
|
||||
</ItemGroup>
|
||||
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
||||
</Project>
|
||||
BIN
ReportImp/BEWODIREKTGmbH/Bewo_Direkt_Logo.png
Normal file
BIN
ReportImp/BEWODIREKTGmbH/Bewo_Direkt_Logo.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 107 KiB |
18
ReportImp/BEWODIREKTGmbH/Invoicing/CustomInvoiceFactory.cs
Normal file
18
ReportImp/BEWODIREKTGmbH/Invoicing/CustomInvoiceFactory.cs
Normal file
@@ -0,0 +1,18 @@
|
||||
using BeWo.Data.Entities;
|
||||
using BeWo.Service.Invoicing;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace BEWODIREKTGmbH.Invoicing
|
||||
{
|
||||
public class CustomInvoiceFactory : InvoiceFactory
|
||||
{
|
||||
public override SettlementInvoiceCreation CreateSettlementInvoiceCreator(string costbearerId, string tenant, CostBearer2SupportConcept lCb2Sc)
|
||||
{
|
||||
return new CustomSettlementInvoiceCreation();
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,19 @@
|
||||
using BeWo.Data.Entities;
|
||||
using BeWo.Service.Invoicing;
|
||||
using BS.Shared.DataContracts;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace BEWODIREKTGmbH.Invoicing
|
||||
{
|
||||
class CustomSettlementInvoiceCreation : SettlementInvoiceCreation
|
||||
{
|
||||
public override bool CanCreateInvoiceTheOldWay(Settlement2DC si, CostBearer2SupportConcept c2s)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
}
|
||||
}
|
||||
63
ReportImp/BEWODIREKTGmbH/Properties/Resources.Designer.cs
generated
Normal file
63
ReportImp/BEWODIREKTGmbH/Properties/Resources.Designer.cs
generated
Normal file
@@ -0,0 +1,63 @@
|
||||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// Dieser Code wurde von einem Tool generiert.
|
||||
// Laufzeitversion:4.0.30319.42000
|
||||
//
|
||||
// Änderungen an dieser Datei können falsches Verhalten verursachen und gehen verloren, wenn
|
||||
// der Code erneut generiert wird.
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
namespace BEWODIREKTGmbH.Properties {
|
||||
using System;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// Eine stark typisierte Ressourcenklasse zum Suchen von lokalisierten Zeichenfolgen usw.
|
||||
/// </summary>
|
||||
// Diese Klasse wurde von der StronglyTypedResourceBuilder automatisch generiert
|
||||
// -Klasse über ein Tool wie ResGen oder Visual Studio automatisch generiert.
|
||||
// Um einen Member hinzuzufügen oder zu entfernen, bearbeiten Sie die .ResX-Datei und führen dann ResGen
|
||||
// mit der /str-Option erneut aus, oder Sie erstellen Ihr VS-Projekt neu.
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "16.0.0.0")]
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
|
||||
internal class Resources {
|
||||
|
||||
private static global::System.Resources.ResourceManager resourceMan;
|
||||
|
||||
private static global::System.Globalization.CultureInfo resourceCulture;
|
||||
|
||||
[global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
|
||||
internal Resources() {
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gibt die zwischengespeicherte ResourceManager-Instanz zurück, die von dieser Klasse verwendet wird.
|
||||
/// </summary>
|
||||
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
|
||||
internal static global::System.Resources.ResourceManager ResourceManager {
|
||||
get {
|
||||
if (object.ReferenceEquals(resourceMan, null)) {
|
||||
global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("BEWODIREKTGmbH.Properties.Resources", typeof(Resources).Assembly);
|
||||
resourceMan = temp;
|
||||
}
|
||||
return resourceMan;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Überschreibt die CurrentUICulture-Eigenschaft des aktuellen Threads für alle
|
||||
/// Ressourcenzuordnungen, die diese stark typisierte Ressourcenklasse verwenden.
|
||||
/// </summary>
|
||||
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
|
||||
internal static global::System.Globalization.CultureInfo Culture {
|
||||
get {
|
||||
return resourceCulture;
|
||||
}
|
||||
set {
|
||||
resourceCulture = value;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
120
ReportImp/BEWODIREKTGmbH/Properties/Resources.resx
Normal file
120
ReportImp/BEWODIREKTGmbH/Properties/Resources.resx
Normal file
@@ -0,0 +1,120 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<root>
|
||||
<!--
|
||||
Microsoft ResX Schema
|
||||
|
||||
Version 2.0
|
||||
|
||||
The primary goals of this format is to allow a simple XML format
|
||||
that is mostly human readable. The generation and parsing of the
|
||||
various data types are done through the TypeConverter classes
|
||||
associated with the data types.
|
||||
|
||||
Example:
|
||||
|
||||
... ado.net/XML headers & schema ...
|
||||
<resheader name="resmimetype">text/microsoft-resx</resheader>
|
||||
<resheader name="version">2.0</resheader>
|
||||
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
|
||||
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
|
||||
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
|
||||
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
|
||||
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
|
||||
<value>[base64 mime encoded serialized .NET Framework object]</value>
|
||||
</data>
|
||||
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
|
||||
<comment>This is a comment</comment>
|
||||
</data>
|
||||
|
||||
There are any number of "resheader" rows that contain simple
|
||||
name/value pairs.
|
||||
|
||||
Each data row contains a name, and value. The row also contains a
|
||||
type or mimetype. Type corresponds to a .NET class that support
|
||||
text/value conversion through the TypeConverter architecture.
|
||||
Classes that don't support this are serialized and stored with the
|
||||
mimetype set.
|
||||
|
||||
The mimetype is used for serialized objects, and tells the
|
||||
ResXResourceReader how to depersist the object. This is currently not
|
||||
extensible. For a given mimetype the value must be set accordingly:
|
||||
|
||||
Note - application/x-microsoft.net.object.binary.base64 is the format
|
||||
that the ResXResourceWriter will generate, however the reader can
|
||||
read any of the formats listed below.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.binary.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.soap.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.bytearray.base64
|
||||
value : The object must be serialized into a byte array
|
||||
: using a System.ComponentModel.TypeConverter
|
||||
: and then encoded with base64 encoding.
|
||||
-->
|
||||
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
|
||||
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
|
||||
<xsd:element name="root" msdata:IsDataSet="true">
|
||||
<xsd:complexType>
|
||||
<xsd:choice maxOccurs="unbounded">
|
||||
<xsd:element name="metadata">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" use="required" type="xsd:string" />
|
||||
<xsd:attribute name="type" type="xsd:string" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="assembly">
|
||||
<xsd:complexType>
|
||||
<xsd:attribute name="alias" type="xsd:string" />
|
||||
<xsd:attribute name="name" type="xsd:string" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="data">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
|
||||
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="resheader">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:choice>
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:schema>
|
||||
<resheader name="resmimetype">
|
||||
<value>text/microsoft-resx</value>
|
||||
</resheader>
|
||||
<resheader name="version">
|
||||
<value>2.0</value>
|
||||
</resheader>
|
||||
<resheader name="reader">
|
||||
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<resheader name="writer">
|
||||
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
</root>
|
||||
1
ReportImp/BEWODIREKTGmbH/Properties/licenses.licx
Normal file
1
ReportImp/BEWODIREKTGmbH/Properties/licenses.licx
Normal file
@@ -0,0 +1 @@
|
||||
DevExpress.XtraReports.UI.XtraReport, DevExpress.XtraReports.v23.2, Version=23.2.4.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a
|
||||
1519
ReportImp/BEWODIREKTGmbH/Quittierungsbeleg.Designer.cs
generated
Normal file
1519
ReportImp/BEWODIREKTGmbH/Quittierungsbeleg.Designer.cs
generated
Normal file
File diff suppressed because it is too large
Load Diff
144
ReportImp/BEWODIREKTGmbH/Quittierungsbeleg.cs
Normal file
144
ReportImp/BEWODIREKTGmbH/Quittierungsbeleg.cs
Normal file
@@ -0,0 +1,144 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Drawing;
|
||||
using System.IO;
|
||||
using System.Text.RegularExpressions;
|
||||
using BeWo.Report.ReportObjects;
|
||||
using BS.Shared.Core;
|
||||
using DevExpress.XtraReports.UI;
|
||||
|
||||
namespace BeWo.Report.DefaultReports
|
||||
{
|
||||
public partial class Quittierungsbeleg : XtraReport, IBeWoReport<ServicesOverviewRO>
|
||||
{
|
||||
public Quittierungsbeleg()
|
||||
{
|
||||
InitializeComponent();
|
||||
}
|
||||
|
||||
public void SetReportDataSource(ServicesOverviewRO pRO)
|
||||
{
|
||||
|
||||
// Get calling method name
|
||||
//StackTrace stackTrace = new StackTrace();
|
||||
//Debug.WriteLine(stackTrace.GetFrame(1).GetMethod().Name);
|
||||
|
||||
bool hatGruppen = false;
|
||||
|
||||
//if (pRO == null)
|
||||
// return;
|
||||
|
||||
if (pRO.Services != null)
|
||||
{
|
||||
List<ServicesOverviewRO.ServiceDetail> servicesBillable = new List<ServicesOverviewRO.ServiceDetail>();
|
||||
|
||||
foreach (var sd in pRO.Services)
|
||||
{
|
||||
if (sd.IsBillable || sd.ServiceDescription.ToLower().Contains("fehlkontakt") || sd.ServiceCategory.ToLower().Contains("fehlkontakt"))
|
||||
{
|
||||
ServicesOverviewRO.CreateSignatureString(sd);
|
||||
sd.Notice5 = "E";
|
||||
if (sd.IsGroup)
|
||||
{
|
||||
//sd.Notice5 = String.Format("{0} Teilnehmer", sd.CustomerCount);
|
||||
sd.Notice5 = "GR";
|
||||
hatGruppen = true;
|
||||
}
|
||||
if (sd.ServiceDescription.ToLower().Contains("fehlkontakt") || sd.ServiceCategory.ToLower().Contains("fehlkontakt") || (sd.ProzentAbrechenbar < 100))
|
||||
{
|
||||
sd.Notice5 = "F";
|
||||
}
|
||||
servicesBillable.Add(sd);
|
||||
}
|
||||
}
|
||||
|
||||
pRO.Services = servicesBillable;
|
||||
}
|
||||
|
||||
if (String.IsNullOrWhiteSpace(pRO.AbsenceTimes))
|
||||
{
|
||||
lblHatAbwesenheiten.Text = "X";
|
||||
}
|
||||
|
||||
if (!hatGruppen)
|
||||
{
|
||||
lblHatGruppen.Text = "X";
|
||||
}
|
||||
|
||||
ErstelleAbwesenheitenTabelle(pRO);
|
||||
|
||||
bindingSource1.DataSource = pRO;
|
||||
}
|
||||
|
||||
private void ErstelleAbwesenheitenTabelle(ServicesOverviewRO pRo)
|
||||
{
|
||||
if (pRo.Abwesenheiten != null)
|
||||
{
|
||||
int newRows = 0;
|
||||
int index = 1;
|
||||
foreach (var at in pRo.Abwesenheiten)
|
||||
{
|
||||
DevExpress.XtraReports.UI.XRTableRow row = null;
|
||||
if (index < xrTableAbwesenheiten.Rows.Count)
|
||||
{
|
||||
row = xrTableAbwesenheiten.Rows[index];
|
||||
}
|
||||
else
|
||||
{
|
||||
row = xrTableAbwesenheiten.InsertRowBelow(xrTableAbwesenheiten.Rows[xrTableAbwesenheiten.Rows.Count - 1]);
|
||||
newRows++;
|
||||
}
|
||||
|
||||
row.Cells[0].Text = String.Format("{0:dd.MM.yyyy}", at.Start);
|
||||
int? days = null;
|
||||
|
||||
if (at.End.HasValue)
|
||||
{
|
||||
row.Cells[1].Text = String.Format("{0:dd.MM.yyyy}", at.End);
|
||||
days = (int)at.End.Value.Subtract(at.Start.Value).TotalDays + 1;
|
||||
}
|
||||
else
|
||||
{
|
||||
row.Cells[1].Text = "unbekannt";
|
||||
}
|
||||
|
||||
row.Cells[2].Text = String.Format("{0:0}", days);
|
||||
|
||||
index++;
|
||||
}
|
||||
|
||||
if (newRows > 0)
|
||||
{
|
||||
lblUnterschriftKlient.Top += newRows * 20;
|
||||
lblUnterschriftMitarbeiter.Top += newRows * 20;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
private void picSignature_BeforePrint(object sender, System.ComponentModel.CancelEventArgs e)
|
||||
{
|
||||
XRPictureBox xrBox = sender as XRPictureBox;
|
||||
//var test = this.GetCurrent
|
||||
string base64String = xrBox.Tag as string;
|
||||
if (!String.IsNullOrWhiteSpace(base64String))
|
||||
{
|
||||
var base64Data = Regex.Match(base64String, @"data:image/(?<type>.+?),(?<data>.+)").Groups["data"].Value;
|
||||
var binData = Convert.FromBase64String(base64Data);
|
||||
Image img = ByteArrayToImage(binData);
|
||||
xrBox.Image = Utils.CropImage(img);
|
||||
}
|
||||
else
|
||||
{
|
||||
xrBox.Image = null;
|
||||
}
|
||||
}
|
||||
|
||||
public Image ByteArrayToImage(byte[] byteArrayIn)
|
||||
{
|
||||
using(var memoryStream = new MemoryStream(byteArrayIn))
|
||||
{
|
||||
return Image.FromStream(memoryStream);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
129
ReportImp/BEWODIREKTGmbH/Quittierungsbeleg.resx
Normal file
129
ReportImp/BEWODIREKTGmbH/Quittierungsbeleg.resx
Normal file
File diff suppressed because one or more lines are too long
1542
ReportImp/BEWODIREKTGmbH/SettlementReport2.Designer.cs
generated
Normal file
1542
ReportImp/BEWODIREKTGmbH/SettlementReport2.Designer.cs
generated
Normal file
File diff suppressed because it is too large
Load Diff
59
ReportImp/BEWODIREKTGmbH/SettlementReport2.cs
Normal file
59
ReportImp/BEWODIREKTGmbH/SettlementReport2.cs
Normal file
@@ -0,0 +1,59 @@
|
||||
using System;
|
||||
using System.Drawing;
|
||||
using System.Collections;
|
||||
using System.ComponentModel;
|
||||
using DevExpress.XtraReports.UI;
|
||||
using BeWo.Report.ReportObjects;
|
||||
using BeWo.Report;
|
||||
using System.Text.RegularExpressions;
|
||||
using BS.Shared.Extensions;
|
||||
|
||||
namespace BeWo.Report.DefaultReports
|
||||
{
|
||||
public partial class Spitzabrechnung : DevExpress.XtraReports.UI.XtraReport, IBeWoReport<Settlement2RO>
|
||||
{
|
||||
public Spitzabrechnung()
|
||||
{
|
||||
InitializeComponent();
|
||||
}
|
||||
|
||||
public void SetReportDataSource(Settlement2RO pRO)
|
||||
{
|
||||
decimal rateFactor = 1;
|
||||
|
||||
foreach (var ii in pRO.InvoiceItems)
|
||||
{
|
||||
if (ii.RateFactor.HasValue)
|
||||
{
|
||||
ii.RateFactor = (100 + ii.RateFactor.Value) / 100;
|
||||
}
|
||||
|
||||
if (!pRO.FehlkontakteString.IsNullOrEmpty() && ii.RateFactor == 0)
|
||||
{
|
||||
//Zwischensumme.Visible = true;
|
||||
//if (!ii.ItemDescription.IsNullOrEmpty())
|
||||
//{
|
||||
//ii.AbrechnungsText = Regex.Replace(ii.DetailDescription, ii.ItemDescription, "Fehlkontakte");
|
||||
//}
|
||||
ii.AbrechnungsText = ii.AbrechnungsText.Replace("FLS", "Std.");
|
||||
ii.ItemDescription = "Fehlkontakte";
|
||||
}
|
||||
else if (ii.ItemDescription.IsNullOrEmpty())
|
||||
{
|
||||
ii.ItemDescription = "Fachleistungsstunden";
|
||||
}
|
||||
}
|
||||
pRO.RateFactor = (double)rateFactor;
|
||||
|
||||
if (pRO.Salutation1.IsNullOrEmpty() && pRO.Salutation2.IsNullOrEmpty())
|
||||
{
|
||||
lblAnrede.Text = "Guten Tag " + pRO.CustomerFirstName + " " + pRO.CustomerLastName + ",";
|
||||
}
|
||||
|
||||
pRO.AbsenceTimes = pRO.AbsenceTimes.Replace("Abwesenheitszeiten: ", "");
|
||||
pRO.ApprovedFLS = pRO.ApprovedFLS.Replace(" FLS", "");
|
||||
|
||||
this.bindingSource1.DataSource = pRO;
|
||||
}
|
||||
}
|
||||
}
|
||||
126
ReportImp/BEWODIREKTGmbH/SettlementReport2.resx
Normal file
126
ReportImp/BEWODIREKTGmbH/SettlementReport2.resx
Normal file
File diff suppressed because one or more lines are too long
151
ReportImp/BeWoAmrath/SupportConceptReport.Designer.cs
generated
151
ReportImp/BeWoAmrath/SupportConceptReport.Designer.cs
generated
@@ -36,6 +36,7 @@ namespace BeWoAmrath
|
||||
DevExpress.XtraReports.UI.XRSummary xrSummary4 = new DevExpress.XtraReports.UI.XRSummary();
|
||||
DevExpress.XtraReports.UI.XRSummary xrSummary5 = new DevExpress.XtraReports.UI.XRSummary();
|
||||
DevExpress.XtraReports.UI.XRSummary xrSummary6 = new DevExpress.XtraReports.UI.XRSummary();
|
||||
DevExpress.XtraReports.UI.XRWatermark xrWatermark1 = new DevExpress.XtraReports.UI.XRWatermark();
|
||||
this.Detail = new DevExpress.XtraReports.UI.DetailBand();
|
||||
this.ReportHeader = new DevExpress.XtraReports.UI.ReportHeaderBand();
|
||||
this.xrPageInfo1 = new DevExpress.XtraReports.UI.XRPageInfo();
|
||||
@@ -65,7 +66,6 @@ namespace BeWoAmrath
|
||||
this.xrTableCell34 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.ruleNotApprovedAndExpiringNext4Months = new DevExpress.XtraReports.UI.FormattingRule();
|
||||
this.ruleNotApprovedAndExpiringNext8Months = new DevExpress.XtraReports.UI.FormattingRule();
|
||||
this.bindingSource1 = new System.Windows.Forms.BindingSource(this.components);
|
||||
this.PageHeader = new DevExpress.XtraReports.UI.PageHeaderBand();
|
||||
this.xrTable1 = new DevExpress.XtraReports.UI.XRTable();
|
||||
this.xrTableRow1 = new DevExpress.XtraReports.UI.XRTableRow();
|
||||
@@ -107,7 +107,7 @@ namespace BeWoAmrath
|
||||
this.xrTableCell45 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell46 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell47 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell48 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.FkQuoteGesamt = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell57 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell49 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell50 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
@@ -115,10 +115,14 @@ namespace BeWoAmrath
|
||||
this.xrTableCell52 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell53 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell54 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell48 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell58 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.tcQuoteGesamt = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.bindingSource1 = new System.Windows.Forms.BindingSource(this.components);
|
||||
((System.ComponentModel.ISupportInitialize)(this.xrTable2)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.bindingSource1)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.xrTable1)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.xrTable3)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.bindingSource1)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this)).BeginInit();
|
||||
//
|
||||
// Detail
|
||||
@@ -203,6 +207,7 @@ namespace BeWoAmrath
|
||||
this.xrTableCell26,
|
||||
this.xrTableCell27,
|
||||
this.xrTableCell56,
|
||||
this.xrTableCell58,
|
||||
this.xrTableCell28,
|
||||
this.xrTableCell29,
|
||||
this.xrTableCell30,
|
||||
@@ -338,7 +343,7 @@ namespace BeWoAmrath
|
||||
this.xrTableCell56.StylePriority.UseFont = false;
|
||||
this.xrTableCell56.StylePriority.UseTextAlignment = false;
|
||||
this.xrTableCell56.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopCenter;
|
||||
this.xrTableCell56.Weight = 0.11142541478797531D;
|
||||
this.xrTableCell56.Weight = 0.11142558457825544D;
|
||||
//
|
||||
// xrTableCell28
|
||||
//
|
||||
@@ -348,7 +353,7 @@ namespace BeWoAmrath
|
||||
this.xrTableCell28.StylePriority.UseTextAlignment = false;
|
||||
this.xrTableCell28.Text = "xrTableCell28";
|
||||
this.xrTableCell28.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopRight;
|
||||
this.xrTableCell28.Weight = 0.133710500154541D;
|
||||
this.xrTableCell28.Weight = 0.13371033013285166D;
|
||||
//
|
||||
// xrTableCell29
|
||||
//
|
||||
@@ -358,7 +363,7 @@ namespace BeWoAmrath
|
||||
this.xrTableCell29.StylePriority.UseTextAlignment = false;
|
||||
this.xrTableCell29.Text = "xrTableCell29";
|
||||
this.xrTableCell29.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopRight;
|
||||
this.xrTableCell29.Weight = 0.14517488487060853D;
|
||||
this.xrTableCell29.Weight = 0.14485320383437927D;
|
||||
//
|
||||
// xrTableCell30
|
||||
//
|
||||
@@ -368,7 +373,7 @@ namespace BeWoAmrath
|
||||
this.xrTableCell30.StylePriority.UseTextAlignment = false;
|
||||
this.xrTableCell30.Text = "xrTableCell30";
|
||||
this.xrTableCell30.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopRight;
|
||||
this.xrTableCell30.Weight = 0.15224914713984677D;
|
||||
this.xrTableCell30.Weight = 0.11142506929098851D;
|
||||
//
|
||||
// xrTableCell31
|
||||
//
|
||||
@@ -378,7 +383,7 @@ namespace BeWoAmrath
|
||||
this.xrTableCell31.StylePriority.UseTextAlignment = false;
|
||||
this.xrTableCell31.Text = "xrTableCell31";
|
||||
this.xrTableCell31.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopRight;
|
||||
this.xrTableCell31.Weight = 0.1522488154781535D;
|
||||
this.xrTableCell31.Weight = 0.11142558773774194D;
|
||||
//
|
||||
// xrTableCell32
|
||||
//
|
||||
@@ -388,14 +393,14 @@ namespace BeWoAmrath
|
||||
this.xrTableCell32.StylePriority.UseTextAlignment = false;
|
||||
this.xrTableCell32.Text = "xrTableCell32";
|
||||
this.xrTableCell32.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopRight;
|
||||
this.xrTableCell32.Weight = 0.20761195211596387D;
|
||||
this.xrTableCell32.Weight = 0.20195873094544464D;
|
||||
//
|
||||
// xrTableCell33
|
||||
//
|
||||
this.xrTableCell33.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
|
||||
new DevExpress.XtraReports.UI.XRBinding("Text", null, "SupportConceptDetailList.approvedText")});
|
||||
this.xrTableCell33.Name = "xrTableCell33";
|
||||
this.xrTableCell33.Weight = 0.22698983569643971D;
|
||||
this.xrTableCell33.Weight = 0.20318645914561173D;
|
||||
//
|
||||
// xrTableCell34
|
||||
//
|
||||
@@ -422,10 +427,6 @@ namespace BeWoAmrath
|
||||
this.ruleNotApprovedAndExpiringNext8Months.Formatting.BackColor = System.Drawing.Color.LightBlue;
|
||||
this.ruleNotApprovedAndExpiringNext8Months.Name = "ruleNotApprovedAndExpiringNext8Months";
|
||||
//
|
||||
// bindingSource1
|
||||
//
|
||||
this.bindingSource1.DataSource = typeof(BeWo.Report.ReportObjects.SupportConceptListRO);
|
||||
//
|
||||
// PageHeader
|
||||
//
|
||||
this.PageHeader.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
|
||||
@@ -467,6 +468,7 @@ namespace BeWoAmrath
|
||||
this.xrTableCell9,
|
||||
this.xrTableCell10,
|
||||
this.xrTableCell55,
|
||||
this.xrTableCell48,
|
||||
this.xrTableCell11,
|
||||
this.xrTableCell12,
|
||||
this.xrTableCell13,
|
||||
@@ -484,110 +486,110 @@ namespace BeWoAmrath
|
||||
this.xrTableCell1.Name = "xrTableCell1";
|
||||
this.xrTableCell1.StylePriority.UseBorders = false;
|
||||
this.xrTableCell1.Text = "Name";
|
||||
this.xrTableCell1.Weight = 0.1947700715855491D;
|
||||
this.xrTableCell1.Weight = 0.20691758683915815D;
|
||||
//
|
||||
// xrTableCell2
|
||||
//
|
||||
this.xrTableCell2.Name = "xrTableCell2";
|
||||
this.xrTableCell2.Text = "Vorname";
|
||||
this.xrTableCell2.Weight = 0.19477006735273836D;
|
||||
this.xrTableCell2.Weight = 0.20691758260634741D;
|
||||
//
|
||||
// xrTableCell35
|
||||
//
|
||||
this.xrTableCell35.Name = "xrTableCell35";
|
||||
this.xrTableCell35.Text = "Kostenträger";
|
||||
this.xrTableCell35.Weight = 0.17583408383421184D;
|
||||
this.xrTableCell35.Weight = 0.18680057043490053D;
|
||||
//
|
||||
// xrTableCell3
|
||||
//
|
||||
this.xrTableCell3.Name = "xrTableCell3";
|
||||
this.xrTableCell3.Text = "Start";
|
||||
this.xrTableCell3.Weight = 0.1623083867569467D;
|
||||
this.xrTableCell3.Weight = 0.17243141542370455D;
|
||||
//
|
||||
// xrTableCell4
|
||||
//
|
||||
this.xrTableCell4.Name = "xrTableCell4";
|
||||
this.xrTableCell4.Text = "Ende";
|
||||
this.xrTableCell4.Weight = 0.16230838391519292D;
|
||||
this.xrTableCell4.Weight = 0.17243111471569983D;
|
||||
//
|
||||
// xrTableCell5
|
||||
//
|
||||
this.xrTableCell5.Name = "xrTableCell5";
|
||||
this.xrTableCell5.Text = "gesamte FLS";
|
||||
this.xrTableCell5.Weight = 0.13525698632089916D;
|
||||
this.xrTableCell5.Weight = 0.14369288399416974D;
|
||||
//
|
||||
// xrTableCell6
|
||||
//
|
||||
this.xrTableCell6.Name = "xrTableCell6";
|
||||
this.xrTableCell6.Text = "geleistete FLS abrechenbar";
|
||||
this.xrTableCell6.Weight = 0.21641118213734856D;
|
||||
this.xrTableCell6.Weight = 0.22990826869753872D;
|
||||
//
|
||||
// xrTableCell7
|
||||
//
|
||||
this.xrTableCell7.Name = "xrTableCell7";
|
||||
this.xrTableCell7.Text = "restliche FLS";
|
||||
this.xrTableCell7.Weight = 0.135256986233857D;
|
||||
this.xrTableCell7.Weight = 0.14369288390712756D;
|
||||
//
|
||||
// xrTableCell8
|
||||
//
|
||||
this.xrTableCell8.Name = "xrTableCell8";
|
||||
this.xrTableCell8.Text = "restl. FLS pro Woche";
|
||||
this.xrTableCell8.Weight = 0.15689810126025036D;
|
||||
this.xrTableCell8.Weight = 0.1666834764673934D;
|
||||
//
|
||||
// xrTableCell9
|
||||
//
|
||||
this.xrTableCell9.Name = "xrTableCell9";
|
||||
this.xrTableCell9.Text = "Restzeit in Wochen";
|
||||
this.xrTableCell9.Weight = 0.15689811071234514D;
|
||||
this.xrTableCell9.Weight = 0.16668378930178079D;
|
||||
//
|
||||
// xrTableCell10
|
||||
//
|
||||
this.xrTableCell10.Name = "xrTableCell10";
|
||||
this.xrTableCell10.Text = "Heute";
|
||||
this.xrTableCell10.Weight = 0.089269612164975D;
|
||||
this.xrTableCell10.Weight = 0.094837614961838734D;
|
||||
//
|
||||
// xrTableCell55
|
||||
//
|
||||
this.xrTableCell55.Multiline = true;
|
||||
this.xrTableCell55.Name = "xrTableCell55";
|
||||
this.xrTableCell55.Text = "Assis-tenz / FK";
|
||||
this.xrTableCell55.Weight = 0.10888857101193653D;
|
||||
this.xrTableCell55.Weight = 0.11567960225585545D;
|
||||
//
|
||||
// xrTableCell11
|
||||
//
|
||||
this.xrTableCell11.Name = "xrTableCell11";
|
||||
this.xrTableCell11.Text = "Wochen gesamt";
|
||||
this.xrTableCell11.Weight = 0.13066628119830248D;
|
||||
this.xrTableCell11.Weight = 0.13881573569020297D;
|
||||
//
|
||||
// xrTableCell12
|
||||
//
|
||||
this.xrTableCell12.Name = "xrTableCell12";
|
||||
this.xrTableCell12.Text = "Wochen bisher";
|
||||
this.xrTableCell12.Weight = 0.13066628360729798D;
|
||||
this.xrTableCell12.Weight = 0.15038371660205024D;
|
||||
//
|
||||
// xrTableCell13
|
||||
//
|
||||
this.xrTableCell13.Name = "xrTableCell13";
|
||||
this.xrTableCell13.Text = "FLS/Woche Soll";
|
||||
this.xrTableCell13.Weight = 0.1599859268146562D;
|
||||
this.xrTableCell13.Text = "FLS/ Woche Soll";
|
||||
this.xrTableCell13.Weight = 0.11567977822133573D;
|
||||
//
|
||||
// xrTableCell14
|
||||
//
|
||||
this.xrTableCell14.Name = "xrTableCell14";
|
||||
this.xrTableCell14.Text = "FLS/Woche Ist";
|
||||
this.xrTableCell14.Weight = 0.14878268254386506D;
|
||||
this.xrTableCell14.Text = "FLS/ Woche Ist";
|
||||
this.xrTableCell14.Weight = 0.11567978009240243D;
|
||||
//
|
||||
// xrTableCell15
|
||||
//
|
||||
this.xrTableCell15.Name = "xrTableCell15";
|
||||
this.xrTableCell15.Text = "Differenz pro Woche x €/Std";
|
||||
this.xrTableCell15.Weight = 0.20288548698789807D;
|
||||
this.xrTableCell15.Weight = 0.20966958943071037D;
|
||||
//
|
||||
// xrTableCell16
|
||||
//
|
||||
this.xrTableCell16.Name = "xrTableCell16";
|
||||
this.xrTableCell16.Text = "bewilligt oder nicht bewilligt";
|
||||
this.xrTableCell16.Weight = 0.22182145262578157D;
|
||||
this.xrTableCell16.Weight = 0.21003638543915781D;
|
||||
//
|
||||
// xrTableCell17
|
||||
//
|
||||
@@ -596,7 +598,7 @@ namespace BeWoAmrath
|
||||
this.xrTableCell17.Name = "xrTableCell17";
|
||||
this.xrTableCell17.StylePriority.UseBorders = false;
|
||||
this.xrTableCell17.Text = "Restzeit (Monate)";
|
||||
this.xrTableCell17.Weight = 0.13525699097924732D;
|
||||
this.xrTableCell17.Weight = 0.14460030508977698D;
|
||||
//
|
||||
// PageFooter
|
||||
//
|
||||
@@ -669,7 +671,8 @@ namespace BeWoAmrath
|
||||
this.xrTableCell45,
|
||||
this.xrTableCell46,
|
||||
this.xrTableCell47,
|
||||
this.xrTableCell48,
|
||||
this.tcQuoteGesamt,
|
||||
this.FkQuoteGesamt,
|
||||
this.xrTableCell57,
|
||||
this.xrTableCell49,
|
||||
this.xrTableCell50,
|
||||
@@ -799,16 +802,18 @@ namespace BeWoAmrath
|
||||
this.xrTableCell47.StylePriority.UseFont = false;
|
||||
this.xrTableCell47.StylePriority.UseTextAlignment = false;
|
||||
this.xrTableCell47.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopCenter;
|
||||
this.xrTableCell47.Weight = 0.0887097288065158D;
|
||||
this.xrTableCell47.Weight = 0.088710059072934958D;
|
||||
//
|
||||
// xrTableCell48
|
||||
// FkQuoteGesamt
|
||||
//
|
||||
this.xrTableCell48.Borders = DevExpress.XtraPrinting.BorderSide.None;
|
||||
this.xrTableCell48.Name = "xrTableCell48";
|
||||
this.xrTableCell48.StylePriority.UseBorders = false;
|
||||
this.xrTableCell48.StylePriority.UseTextAlignment = false;
|
||||
this.xrTableCell48.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopRight;
|
||||
this.xrTableCell48.Weight = 0.08870972754682778D;
|
||||
this.FkQuoteGesamt.Borders = ((DevExpress.XtraPrinting.BorderSide)(((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Right)
|
||||
| DevExpress.XtraPrinting.BorderSide.Bottom)));
|
||||
this.FkQuoteGesamt.Name = "FkQuoteGesamt";
|
||||
this.FkQuoteGesamt.StylePriority.UseBorders = false;
|
||||
this.FkQuoteGesamt.StylePriority.UseTextAlignment = false;
|
||||
this.FkQuoteGesamt.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopRight;
|
||||
this.FkQuoteGesamt.TextFormatString = "{0:0}%";
|
||||
this.FkQuoteGesamt.Weight = 0.10820657991593848D;
|
||||
//
|
||||
// xrTableCell57
|
||||
//
|
||||
@@ -818,7 +823,7 @@ namespace BeWoAmrath
|
||||
this.xrTableCell57.StylePriority.UseBorders = false;
|
||||
this.xrTableCell57.StylePriority.UseTextAlignment = false;
|
||||
this.xrTableCell57.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopRight;
|
||||
this.xrTableCell57.Weight = 0.13440865878766972D;
|
||||
this.xrTableCell57.Weight = 0.12984621206272043D;
|
||||
//
|
||||
// xrTableCell49
|
||||
//
|
||||
@@ -827,7 +832,7 @@ namespace BeWoAmrath
|
||||
this.xrTableCell49.StylePriority.UseBorders = false;
|
||||
this.xrTableCell49.StylePriority.UseTextAlignment = false;
|
||||
this.xrTableCell49.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopRight;
|
||||
this.xrTableCell49.Weight = 0.1559140767180916D;
|
||||
this.xrTableCell49.Weight = 0.14066743001929555D;
|
||||
//
|
||||
// xrTableCell50
|
||||
//
|
||||
@@ -841,7 +846,7 @@ namespace BeWoAmrath
|
||||
this.xrTableCell50.Summary = xrSummary5;
|
||||
this.xrTableCell50.Text = "xrTableCell50";
|
||||
this.xrTableCell50.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopRight;
|
||||
this.xrTableCell50.Weight = 0.14784933254317598D;
|
||||
this.xrTableCell50.Weight = 0.10820526491820415D;
|
||||
//
|
||||
// xrTableCell51
|
||||
//
|
||||
@@ -855,7 +860,7 @@ namespace BeWoAmrath
|
||||
this.xrTableCell51.Summary = xrSummary6;
|
||||
this.xrTableCell51.Text = "xrTableCell51";
|
||||
this.xrTableCell51.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopRight;
|
||||
this.xrTableCell51.Weight = 0.14433663740184527D;
|
||||
this.xrTableCell51.Weight = 0.10820575116917507D;
|
||||
//
|
||||
// xrTableCell52
|
||||
//
|
||||
@@ -864,14 +869,14 @@ namespace BeWoAmrath
|
||||
this.xrTableCell52.StylePriority.UseBorders = false;
|
||||
this.xrTableCell52.StylePriority.UseTextAlignment = false;
|
||||
this.xrTableCell52.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopRight;
|
||||
this.xrTableCell52.Weight = 0.20512567053695868D;
|
||||
this.xrTableCell52.Weight = 0.1961227923633507D;
|
||||
//
|
||||
// xrTableCell53
|
||||
//
|
||||
this.xrTableCell53.Borders = DevExpress.XtraPrinting.BorderSide.None;
|
||||
this.xrTableCell53.Name = "xrTableCell53";
|
||||
this.xrTableCell53.StylePriority.UseBorders = false;
|
||||
this.xrTableCell53.Weight = 0.21958125875743176D;
|
||||
this.xrTableCell53.Weight = 0.19646605079981228D;
|
||||
//
|
||||
// xrTableCell54
|
||||
//
|
||||
@@ -882,6 +887,43 @@ namespace BeWoAmrath
|
||||
this.xrTableCell54.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopRight;
|
||||
this.xrTableCell54.Weight = 0.13525699097924734D;
|
||||
//
|
||||
// xrTableCell48
|
||||
//
|
||||
this.xrTableCell48.Multiline = true;
|
||||
this.xrTableCell48.Name = "xrTableCell48";
|
||||
this.xrTableCell48.Text = "FK/ Assi-tenz";
|
||||
this.xrTableCell48.Weight = 0.11567977876918936D;
|
||||
//
|
||||
// xrTableCell58
|
||||
//
|
||||
this.xrTableCell58.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
|
||||
new DevExpress.XtraReports.UI.XRBinding("Text", null, "SupportConceptDetailList.Custom2")});
|
||||
this.xrTableCell58.Font = new DevExpress.Drawing.DXFont("Arial", 7F, DevExpress.Drawing.DXFontStyle.Bold);
|
||||
this.xrTableCell58.Multiline = true;
|
||||
this.xrTableCell58.Name = "xrTableCell58";
|
||||
this.xrTableCell58.StylePriority.UseFont = false;
|
||||
this.xrTableCell58.StylePriority.UseTextAlignment = false;
|
||||
this.xrTableCell58.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopCenter;
|
||||
this.xrTableCell58.Weight = 0.11142558457825544D;
|
||||
//
|
||||
// tcQuoteGesamt
|
||||
//
|
||||
this.tcQuoteGesamt.Borders = ((DevExpress.XtraPrinting.BorderSide)(((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Right)
|
||||
| DevExpress.XtraPrinting.BorderSide.Bottom)));
|
||||
this.tcQuoteGesamt.Font = new DevExpress.Drawing.DXFont("Arial", 7F, DevExpress.Drawing.DXFontStyle.Bold);
|
||||
this.tcQuoteGesamt.Multiline = true;
|
||||
this.tcQuoteGesamt.Name = "tcQuoteGesamt";
|
||||
this.tcQuoteGesamt.StylePriority.UseBorders = false;
|
||||
this.tcQuoteGesamt.StylePriority.UseFont = false;
|
||||
this.tcQuoteGesamt.StylePriority.UseTextAlignment = false;
|
||||
this.tcQuoteGesamt.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopCenter;
|
||||
this.tcQuoteGesamt.TextFormatString = "{0:0}%";
|
||||
this.tcQuoteGesamt.Weight = 0.10820495077708496D;
|
||||
//
|
||||
// bindingSource1
|
||||
//
|
||||
this.bindingSource1.DataSource = typeof(BeWo.Report.ReportObjects.SupportConceptListRO);
|
||||
//
|
||||
// Hilfeplanuebersicht
|
||||
//
|
||||
this.Bands.AddRange(new DevExpress.XtraReports.UI.Band[] {
|
||||
@@ -905,10 +947,12 @@ namespace BeWoAmrath
|
||||
this.PageWidth = 1169;
|
||||
this.PaperKind = DevExpress.Drawing.Printing.DXPaperKind.A4;
|
||||
this.Version = "23.2";
|
||||
xrWatermark1.Id = "Watermark1";
|
||||
this.Watermarks.Add(xrWatermark1);
|
||||
((System.ComponentModel.ISupportInitialize)(this.xrTable2)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.bindingSource1)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.xrTable1)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.xrTable3)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.bindingSource1)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this)).EndInit();
|
||||
|
||||
}
|
||||
@@ -984,7 +1028,7 @@ namespace BeWoAmrath
|
||||
private DevExpress.XtraReports.UI.XRTableCell xrTableCell45;
|
||||
private DevExpress.XtraReports.UI.XRTableCell xrTableCell46;
|
||||
private DevExpress.XtraReports.UI.XRTableCell xrTableCell47;
|
||||
private DevExpress.XtraReports.UI.XRTableCell xrTableCell48;
|
||||
private DevExpress.XtraReports.UI.XRTableCell FkQuoteGesamt;
|
||||
private DevExpress.XtraReports.UI.XRTableCell xrTableCell49;
|
||||
private DevExpress.XtraReports.UI.XRTableCell xrTableCell50;
|
||||
private DevExpress.XtraReports.UI.XRTableCell xrTableCell51;
|
||||
@@ -994,5 +1038,8 @@ namespace BeWoAmrath
|
||||
private DevExpress.XtraReports.UI.XRTableCell xrTableCell56;
|
||||
private DevExpress.XtraReports.UI.XRTableCell xrTableCell55;
|
||||
private DevExpress.XtraReports.UI.XRTableCell xrTableCell57;
|
||||
private DevExpress.XtraReports.UI.XRTableCell xrTableCell58;
|
||||
private DevExpress.XtraReports.UI.XRTableCell xrTableCell48;
|
||||
private DevExpress.XtraReports.UI.XRTableCell tcQuoteGesamt;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -19,32 +19,46 @@ namespace BeWoAmrath
|
||||
|
||||
public void SetReportDataSource(SupportConceptListRO pRO)
|
||||
{
|
||||
decimal zeitFkGesamt = 0;
|
||||
decimal zeitNFkGesamt = 0;
|
||||
foreach (var sc in pRO.SupportConceptDetailList)
|
||||
{
|
||||
var servicerecords = DAOFactory.SearchDAO.FindServiceRecords(null, sc.CostBearer2SupportConceptOid);
|
||||
decimal zeitFk = 0;
|
||||
decimal zeitNFk = 0;
|
||||
decimal quote = 1;
|
||||
decimal quoteNFk = 1;
|
||||
foreach (var sr in servicerecords)
|
||||
{
|
||||
if (sr.Employee.IsQualified.HasValue && sr.Employee.IsQualified.Value)
|
||||
if (sr.ServiceDescription.ServiceCategory.IsBillable)
|
||||
{
|
||||
zeitFk += sr.RoundedDuration;
|
||||
}
|
||||
else
|
||||
{
|
||||
zeitNFk += sr.RoundedDuration;
|
||||
if (sr.Employee.IsQualified.HasValue && sr.Employee.IsQualified.Value)
|
||||
{
|
||||
zeitFk += sr.RoundedDuration;
|
||||
zeitFkGesamt += sr.RoundedDuration;
|
||||
}
|
||||
else
|
||||
{
|
||||
zeitNFk += sr.RoundedDuration;
|
||||
zeitNFkGesamt += sr.RoundedDuration;
|
||||
}
|
||||
}
|
||||
}
|
||||
if (zeitFk > 0)
|
||||
if (zeitFk > 0 || zeitNFk > 0)
|
||||
{
|
||||
quote = zeitNFk / zeitFk;
|
||||
quote = Math.Round(zeitFk / (zeitNFk + zeitFk), 3, MidpointRounding.AwayFromZero);
|
||||
sc.Custom1 = String.Format("{0:0.0}%", (100 * quote));
|
||||
quoteNFk = Math.Round(zeitNFk / (zeitNFk + zeitFk), 3, MidpointRounding.AwayFromZero);
|
||||
sc.Custom2 = String.Format("{0:0.0}%", (100 * quoteNFk));
|
||||
}
|
||||
else if (zeitNFk > 0 )
|
||||
{
|
||||
sc.Custom1 = "100 %";
|
||||
}
|
||||
}
|
||||
|
||||
if (zeitNFkGesamt > 0 || zeitFkGesamt > 0)
|
||||
{
|
||||
var quoteGesamt = Math.Round(zeitFkGesamt / (zeitNFkGesamt + zeitFkGesamt), 3, MidpointRounding.AwayFromZero);
|
||||
tcQuoteGesamt.Text = String.Format("{0:0.0}%", (100 * quoteGesamt));
|
||||
var quoteGesamtNfk = Math.Round(zeitNFkGesamt / (zeitNFkGesamt + zeitFkGesamt), 3, MidpointRounding.AwayFromZero);
|
||||
FkQuoteGesamt.Text = String.Format("{0:0.0}%", (100 * quoteGesamtNfk));
|
||||
}
|
||||
this.bindingSource1.DataSource = pRO;
|
||||
}
|
||||
|
||||
@@ -107,7 +107,7 @@ namespace BeWoAuxilio
|
||||
this.xrTableCell45 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell46 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell47 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell48 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.tcQuoteGesamt = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell57 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell49 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell50 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
@@ -669,7 +669,7 @@ namespace BeWoAuxilio
|
||||
this.xrTableCell45,
|
||||
this.xrTableCell46,
|
||||
this.xrTableCell47,
|
||||
this.xrTableCell48,
|
||||
this.tcQuoteGesamt,
|
||||
this.xrTableCell57,
|
||||
this.xrTableCell49,
|
||||
this.xrTableCell50,
|
||||
@@ -801,14 +801,14 @@ namespace BeWoAuxilio
|
||||
this.xrTableCell47.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopCenter;
|
||||
this.xrTableCell47.Weight = 0.0887097288065158D;
|
||||
//
|
||||
// xrTableCell48
|
||||
// tcQuoteGesamt
|
||||
//
|
||||
this.xrTableCell48.Borders = DevExpress.XtraPrinting.BorderSide.None;
|
||||
this.xrTableCell48.Name = "xrTableCell48";
|
||||
this.xrTableCell48.StylePriority.UseBorders = false;
|
||||
this.xrTableCell48.StylePriority.UseTextAlignment = false;
|
||||
this.xrTableCell48.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopRight;
|
||||
this.xrTableCell48.Weight = 0.08870972754682778D;
|
||||
this.tcQuoteGesamt.Borders = DevExpress.XtraPrinting.BorderSide.None;
|
||||
this.tcQuoteGesamt.Name = "tcQuoteGesamt";
|
||||
this.tcQuoteGesamt.StylePriority.UseBorders = false;
|
||||
this.tcQuoteGesamt.StylePriority.UseTextAlignment = false;
|
||||
this.tcQuoteGesamt.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopRight;
|
||||
this.tcQuoteGesamt.Weight = 0.08870972754682778D;
|
||||
//
|
||||
// xrTableCell57
|
||||
//
|
||||
@@ -984,7 +984,7 @@ namespace BeWoAuxilio
|
||||
private DevExpress.XtraReports.UI.XRTableCell xrTableCell45;
|
||||
private DevExpress.XtraReports.UI.XRTableCell xrTableCell46;
|
||||
private DevExpress.XtraReports.UI.XRTableCell xrTableCell47;
|
||||
private DevExpress.XtraReports.UI.XRTableCell xrTableCell48;
|
||||
private DevExpress.XtraReports.UI.XRTableCell tcQuoteGesamt;
|
||||
private DevExpress.XtraReports.UI.XRTableCell xrTableCell49;
|
||||
private DevExpress.XtraReports.UI.XRTableCell xrTableCell50;
|
||||
private DevExpress.XtraReports.UI.XRTableCell xrTableCell51;
|
||||
|
||||
@@ -19,6 +19,9 @@ namespace BeWoAuxilio
|
||||
|
||||
public void SetReportDataSource(SupportConceptListRO pRO)
|
||||
{
|
||||
decimal zeitFkGesamt = 0;
|
||||
decimal zeitNFkGesamt = 0;
|
||||
|
||||
foreach (var sc in pRO.SupportConceptDetailList)
|
||||
{
|
||||
var servicerecords = DAOFactory.SearchDAO.FindServiceRecords(null, sc.CostBearer2SupportConceptOid);
|
||||
@@ -30,22 +33,32 @@ namespace BeWoAuxilio
|
||||
if (sr.Employee.IsQualified.HasValue && sr.Employee.IsQualified.Value)
|
||||
{
|
||||
zeitFk += sr.RoundedDuration;
|
||||
zeitFkGesamt += sr.RoundedDuration;
|
||||
}
|
||||
else
|
||||
{
|
||||
zeitNFk += sr.RoundedDuration;
|
||||
zeitNFkGesamt += sr.RoundedDuration;
|
||||
}
|
||||
}
|
||||
if (zeitFk > 0)
|
||||
{
|
||||
quote = zeitNFk / zeitFk;
|
||||
//quote = zeitNFk / zeitFk;
|
||||
quote = zeitFk / (zeitNFk + zeitFk);
|
||||
sc.Custom1 = String.Format("{0:0.0}%", (100 * quote));
|
||||
}
|
||||
else if (zeitNFk > 0 )
|
||||
else if (zeitNFk > 0)
|
||||
{
|
||||
sc.Custom1 = "100 %";
|
||||
}
|
||||
}
|
||||
|
||||
if (zeitNFkGesamt > 0 || zeitFkGesamt > 0)
|
||||
{
|
||||
var quoteGesamt = zeitFkGesamt / (zeitNFkGesamt + zeitFkGesamt);
|
||||
tcQuoteGesamt.Text = String.Format("{0:0.0}%", (100 * quoteGesamt));
|
||||
}
|
||||
|
||||
this.bindingSource1.DataSource = pRO;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -124,6 +124,12 @@
|
||||
<Compile Include="Mitarbeiterstundenkonto.designer.cs">
|
||||
<DependentUpon>Mitarbeiterstundenkonto.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="RosterReport.cs">
|
||||
<SubType>Component</SubType>
|
||||
</Compile>
|
||||
<Compile Include="RosterReport.Designer.cs">
|
||||
<DependentUpon>RosterReport.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="Service\QueryService.cs" />
|
||||
<Compile Include="Service\ResourceService.cs" />
|
||||
<Compile Include="Stundenabrechnung.cs">
|
||||
@@ -225,6 +231,10 @@
|
||||
<DependentUpon>Mitarbeiterstundenkonto.cs</DependentUpon>
|
||||
<SubType>Designer</SubType>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="RosterReport.resx">
|
||||
<DependentUpon>RosterReport.cs</DependentUpon>
|
||||
<SubType>Designer</SubType>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="Stundenabrechnung.resx">
|
||||
<DependentUpon>Stundenabrechnung.cs</DependentUpon>
|
||||
</EmbeddedResource>
|
||||
|
||||
@@ -226,7 +226,7 @@ namespace BetreuWoReports
|
||||
this.Margins = new System.Drawing.Printing.Margins(30, 30, 50, 20);
|
||||
this.PageHeight = 827;
|
||||
this.PageWidth = 1169;
|
||||
this.PaperKind = System.Drawing.Printing.PaperKind.A4;
|
||||
this.PaperKind = DevExpress.Drawing.Printing.DXPaperKind.A4;
|
||||
this.Version = "17.1";
|
||||
((System.ComponentModel.ISupportInitialize)(this.bindingSource1)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this)).EndInit();
|
||||
|
||||
@@ -11,7 +11,7 @@ using BeWo.Report;
|
||||
|
||||
namespace BetreuWoReports
|
||||
{
|
||||
public partial class RosterReport : XtraReport, IBeWoReport<ReportObjects.CustomRosterRO>
|
||||
public partial class RosterReport : XtraReport, IBeWoReport<RosterRO>
|
||||
{
|
||||
public XRTable Table1 { get; set; }
|
||||
public XRTable Table2 { get; set; }
|
||||
@@ -39,7 +39,7 @@ namespace BetreuWoReports
|
||||
InitializeComponent2();
|
||||
}
|
||||
|
||||
public void SetReportDataSource(ReportObjects.CustomRosterRO pRO) // In Rows sind die Days drin, da müssen die Abwesenheiten rein. Das ist der way2go
|
||||
public void SetReportDataSource(RosterRO pRO) // In Rows sind die Days drin, da müssen die Abwesenheiten rein. Das ist der way2go
|
||||
{
|
||||
int days = DateTime.DaysInMonth(pRO.ReportDateTime.Year, pRO.ReportDateTime.Month);
|
||||
monthAndYear = new DateTime(pRO.ReportDateTime.Year, pRO.ReportDateTime.Month, 1);
|
||||
@@ -349,7 +349,7 @@ namespace BetreuWoReports
|
||||
if (abwesenheit.AbsenceSpan.ContainsDate(new DateTime(monthAndYear.Year, monthAndYear.Month, tag)))
|
||||
{
|
||||
cell.Row.Cells[index].BackColor = Color.White;
|
||||
cell.Row.Cells[index].Text = abwesenheit.Reason.Description[0].ToString();
|
||||
cell.Row.Cells[index].Text = abwesenheit.Reason.Description[0].ToString(); // Der Text erscheint nicht, scheint überschrieben zu werden
|
||||
cell.Row.Cells[index].ForeColor = Color.Red;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -4,6 +4,7 @@ using BS.Shared;
|
||||
using BS.Shared.Core;
|
||||
using BS.Shared.DataContracts;
|
||||
using BS.Shared.DataContracts.Compact;
|
||||
using BS.Shared.Extensions;
|
||||
using BS.Shared.Services;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
@@ -35,10 +36,11 @@ namespace BetreutesWohnenWoellReports.Invoicing
|
||||
InvoiceItem invoiceItem = CreateInvoiceItem(iServiceRecord, scap, calc);
|
||||
invoiceItem.Notice = iServiceRecord.ServiceDescription.CategoryName;
|
||||
if (invoiceItem != null)
|
||||
{
|
||||
{
|
||||
var function = scap.CostBearer2SupportConcept.CostBearer.Organisation.Function;
|
||||
list.Add(invoiceItem);
|
||||
if (iServiceRecord.DistanceInMeter.HasValue && iServiceRecord.DistanceInMeter.Value > 0)
|
||||
list.Add(CreateFahrtkostenItem(invoiceItem));
|
||||
list.Add(CreateFahrtkostenItem(invoiceItem, function));
|
||||
}
|
||||
iServiceRecord.AlreadyAccounted = true;
|
||||
}
|
||||
@@ -53,11 +55,19 @@ namespace BetreutesWohnenWoellReports.Invoicing
|
||||
//return CreateSummaryInvoiceItems(list, invoicePeriod, scap, calc);
|
||||
}
|
||||
|
||||
private InvoiceItem CreateFahrtkostenItem(InvoiceItem item)
|
||||
private InvoiceItem CreateFahrtkostenItem(InvoiceItem item, ValueListEntry function)
|
||||
{
|
||||
InvoiceItem fahrtkostenItem = new InvoiceItem();
|
||||
var preis = GetPreis("Fahrkosten", item.ServiceRecord.Start.Value);
|
||||
|
||||
if (function != null && function.Value.IsNotNullOrEmpty())
|
||||
{
|
||||
if (function.Value == "Pflegekassen")
|
||||
preis = GetPreis("Fahrtkosten Pflegekasse", item.ServiceRecord.Start.Value);
|
||||
else if (function.Value == "Jugendamt")
|
||||
preis = GetPreis("Fahrtkosten Jugendamt", item.ServiceRecord.Start.Value);
|
||||
}
|
||||
InvoiceItem fahrtkostenItem = new InvoiceItem();
|
||||
|
||||
fahrtkostenItem.AmountPerUnit = preis;
|
||||
fahrtkostenItem.AmountTotal = preis * item.ServiceRecord.DistanceInMeter;
|
||||
fahrtkostenItem.GrossAmountTotal = fahrtkostenItem.AmountTotal;
|
||||
|
||||
@@ -58,7 +58,8 @@ namespace BetreuWoWesel.Invoicing
|
||||
|
||||
foreach (var item in invoiceList)
|
||||
{
|
||||
result.Add(MapperFactory.ServiceInvoiceDC_ServiceInvoice.MapToNewDC(item));
|
||||
if (item != null)
|
||||
result.Add(MapperFactory.ServiceInvoiceDC_ServiceInvoice.MapToNewDC(item));
|
||||
}
|
||||
|
||||
if (result.Count > 1)
|
||||
|
||||
@@ -81,24 +81,24 @@ namespace BeWo.BrueckeABW
|
||||
this.xrRichText1,
|
||||
this.xrLine1,
|
||||
this.xrPictureBox1});
|
||||
this.ReportHeader.Font = new System.Drawing.Font("Verdana", 10F);
|
||||
this.ReportHeader.Font = new DevExpress.Drawing.DXFont("Verdana", 10F);
|
||||
this.ReportHeader.HeightF = 200F;
|
||||
this.ReportHeader.Name = "ReportHeader";
|
||||
this.ReportHeader.StylePriority.UseFont = false;
|
||||
//
|
||||
// xrLabel3
|
||||
//
|
||||
this.xrLabel3.Font = new System.Drawing.Font("Arial", 7F, System.Drawing.FontStyle.Underline);
|
||||
this.xrLabel3.Font = new DevExpress.Drawing.DXFont("Arial", 7F, DevExpress.Drawing.DXFontStyle.Underline);
|
||||
this.xrLabel3.LocationFloat = new DevExpress.Utils.PointFloat(0F, 173.4535F);
|
||||
this.xrLabel3.Name = "xrLabel3";
|
||||
this.xrLabel3.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
|
||||
this.xrLabel3.SizeF = new System.Drawing.SizeF(359.7083F, 26.54654F);
|
||||
this.xrLabel3.StylePriority.UseFont = false;
|
||||
this.xrLabel3.Text = "Brücke - ABW · Wilhelmstraße 37 · 52249 Eschweiler";
|
||||
this.xrLabel3.Text = "Brücke - ABW · Samaritanerstr. 9 · 52222 Stolberg";
|
||||
//
|
||||
// xrRichText1
|
||||
//
|
||||
this.xrRichText1.Font = new System.Drawing.Font("Verdana", 10F);
|
||||
this.xrRichText1.Font = new DevExpress.Drawing.DXFont("Verdana", 10F);
|
||||
this.xrRichText1.LocationFloat = new DevExpress.Utils.PointFloat(0F, 67.62F);
|
||||
this.xrRichText1.Name = "xrRichText1";
|
||||
this.xrRichText1.SerializableRtfString = resources.GetString("xrRichText1.SerializableRtfString");
|
||||
@@ -112,7 +112,7 @@ namespace BeWo.BrueckeABW
|
||||
//
|
||||
// xrPictureBox1
|
||||
//
|
||||
this.xrPictureBox1.Image = ((System.Drawing.Image)(resources.GetObject("xrPictureBox1.Image")));
|
||||
this.xrPictureBox1.ImageSource = new DevExpress.XtraPrinting.Drawing.ImageSource("img", resources.GetString("xrPictureBox1.ImageSource"));
|
||||
this.xrPictureBox1.LocationFloat = new DevExpress.Utils.PointFloat(442.62F, 0F);
|
||||
this.xrPictureBox1.Name = "xrPictureBox1";
|
||||
this.xrPictureBox1.SizeF = new System.Drawing.SizeF(276.375F, 139.5833F);
|
||||
@@ -134,7 +134,6 @@ namespace BeWo.BrueckeABW
|
||||
this.bottomMarginBand1.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
|
||||
this.xrLine2,
|
||||
this.xrRichText3});
|
||||
this.bottomMarginBand1.HeightF = 100F;
|
||||
this.bottomMarginBand1.Name = "bottomMarginBand1";
|
||||
//
|
||||
// xrLine2
|
||||
@@ -145,7 +144,7 @@ namespace BeWo.BrueckeABW
|
||||
//
|
||||
// xrRichText3
|
||||
//
|
||||
this.xrRichText3.Font = new System.Drawing.Font("Verdana", 10F);
|
||||
this.xrRichText3.Font = new DevExpress.Drawing.DXFont("Verdana", 10F);
|
||||
this.xrRichText3.LocationFloat = new DevExpress.Utils.PointFloat(0F, 10.42F);
|
||||
this.xrRichText3.Name = "xrRichText3";
|
||||
this.xrRichText3.SerializableRtfString = resources.GetString("xrRichText3.SerializableRtfString");
|
||||
@@ -164,14 +163,14 @@ namespace BeWo.BrueckeABW
|
||||
this.xrLabel5,
|
||||
this.xrLabel8,
|
||||
this.lblAbrechnungszeitraum});
|
||||
this.Page1.Font = new System.Drawing.Font("Arial", 10F);
|
||||
this.Page1.Font = new DevExpress.Drawing.DXFont("Arial", 10F);
|
||||
this.Page1.HeightF = 353.0417F;
|
||||
this.Page1.Name = "Page1";
|
||||
this.Page1.StylePriority.UseFont = false;
|
||||
//
|
||||
// xrRichText2
|
||||
//
|
||||
this.xrRichText2.Font = new System.Drawing.Font("Verdana", 10F);
|
||||
this.xrRichText2.Font = new DevExpress.Drawing.DXFont("Verdana", 10F);
|
||||
this.xrRichText2.LocationFloat = new DevExpress.Utils.PointFloat(504.0001F, 0F);
|
||||
this.xrRichText2.Name = "xrRichText2";
|
||||
this.xrRichText2.SerializableRtfString = resources.GetString("xrRichText2.SerializableRtfString");
|
||||
@@ -179,7 +178,7 @@ namespace BeWo.BrueckeABW
|
||||
//
|
||||
// xrLabel6
|
||||
//
|
||||
this.xrLabel6.Font = new System.Drawing.Font("Arial", 6F);
|
||||
this.xrLabel6.Font = new DevExpress.Drawing.DXFont("Arial", 6F);
|
||||
this.xrLabel6.LocationFloat = new DevExpress.Utils.PointFloat(0F, 214.58F);
|
||||
this.xrLabel6.Name = "xrLabel6";
|
||||
this.xrLabel6.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
|
||||
@@ -189,7 +188,7 @@ namespace BeWo.BrueckeABW
|
||||
//
|
||||
// xrLabel10
|
||||
//
|
||||
this.xrLabel10.Font = new System.Drawing.Font("Arial", 6F);
|
||||
this.xrLabel10.Font = new DevExpress.Drawing.DXFont("Arial", 6F);
|
||||
this.xrLabel10.LocationFloat = new DevExpress.Utils.PointFloat(208.33F, 214.58F);
|
||||
this.xrLabel10.Name = "xrLabel10";
|
||||
this.xrLabel10.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
|
||||
@@ -199,7 +198,7 @@ namespace BeWo.BrueckeABW
|
||||
//
|
||||
// xrLabel11
|
||||
//
|
||||
this.xrLabel11.Font = new System.Drawing.Font("Arial", 6F);
|
||||
this.xrLabel11.Font = new DevExpress.Drawing.DXFont("Arial", 6F);
|
||||
this.xrLabel11.LocationFloat = new DevExpress.Utils.PointFloat(416.58F, 214.58F);
|
||||
this.xrLabel11.Name = "xrLabel11";
|
||||
this.xrLabel11.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
|
||||
@@ -209,7 +208,7 @@ namespace BeWo.BrueckeABW
|
||||
//
|
||||
// xrLabel12
|
||||
//
|
||||
this.xrLabel12.Font = new System.Drawing.Font("Arial", 6F);
|
||||
this.xrLabel12.Font = new DevExpress.Drawing.DXFont("Arial", 6F);
|
||||
this.xrLabel12.LocationFloat = new DevExpress.Utils.PointFloat(572.54F, 214.58F);
|
||||
this.xrLabel12.Name = "xrLabel12";
|
||||
this.xrLabel12.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
|
||||
@@ -231,7 +230,7 @@ namespace BeWo.BrueckeABW
|
||||
//
|
||||
this.xrLabel4.BackColor = System.Drawing.Color.Transparent;
|
||||
this.xrLabel4.CanShrink = true;
|
||||
this.xrLabel4.Font = new System.Drawing.Font("Arial", 10F, System.Drawing.FontStyle.Bold);
|
||||
this.xrLabel4.Font = new DevExpress.Drawing.DXFont("Arial", 10F, DevExpress.Drawing.DXFontStyle.Bold);
|
||||
this.xrLabel4.LocationFloat = new DevExpress.Utils.PointFloat(0F, 231.58F);
|
||||
this.xrLabel4.Multiline = true;
|
||||
this.xrLabel4.Name = "xrLabel4";
|
||||
@@ -244,7 +243,7 @@ namespace BeWo.BrueckeABW
|
||||
//
|
||||
// xrLabel5
|
||||
//
|
||||
this.xrLabel5.Font = new System.Drawing.Font("Arial", 11F);
|
||||
this.xrLabel5.Font = new DevExpress.Drawing.DXFont("Arial", 11F);
|
||||
this.xrLabel5.LocationFloat = new DevExpress.Utils.PointFloat(0F, 285F);
|
||||
this.xrLabel5.Name = "xrLabel5";
|
||||
this.xrLabel5.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
|
||||
@@ -256,7 +255,7 @@ namespace BeWo.BrueckeABW
|
||||
//
|
||||
this.xrLabel8.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
|
||||
new DevExpress.XtraReports.UI.XRBinding("Text", null, "InvoiceDate")});
|
||||
this.xrLabel8.Font = new System.Drawing.Font("Arial", 8F);
|
||||
this.xrLabel8.Font = new DevExpress.Drawing.DXFont("Arial", 8F);
|
||||
this.xrLabel8.LocationFloat = new DevExpress.Utils.PointFloat(572.54F, 231.58F);
|
||||
this.xrLabel8.Name = "xrLabel8";
|
||||
this.xrLabel8.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
|
||||
@@ -268,7 +267,7 @@ namespace BeWo.BrueckeABW
|
||||
//
|
||||
// lblAbrechnungszeitraum
|
||||
//
|
||||
this.lblAbrechnungszeitraum.Font = new System.Drawing.Font("Arial", 11F);
|
||||
this.lblAbrechnungszeitraum.Font = new DevExpress.Drawing.DXFont("Arial", 11F);
|
||||
this.lblAbrechnungszeitraum.LocationFloat = new DevExpress.Utils.PointFloat(0F, 312F);
|
||||
this.lblAbrechnungszeitraum.Multiline = true;
|
||||
this.lblAbrechnungszeitraum.Name = "lblAbrechnungszeitraum";
|
||||
@@ -307,7 +306,7 @@ namespace BeWo.BrueckeABW
|
||||
this.Detail3.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
|
||||
this.xrLabel2,
|
||||
this.xrLabel1});
|
||||
this.Detail3.Font = new System.Drawing.Font("Arial", 11F);
|
||||
this.Detail3.Font = new DevExpress.Drawing.DXFont("Arial", 11F);
|
||||
this.Detail3.HeightF = 25F;
|
||||
this.Detail3.Name = "Detail3";
|
||||
this.Detail3.StylePriority.UseFont = false;
|
||||
@@ -316,7 +315,7 @@ namespace BeWo.BrueckeABW
|
||||
//
|
||||
this.xrLabel2.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
|
||||
new DevExpress.XtraReports.UI.XRBinding("Text", null, "ServiceInvoicePeriods.ServiceInvoiceItems.GrossAmount")});
|
||||
this.xrLabel2.Font = new System.Drawing.Font("Arial", 11F, System.Drawing.FontStyle.Bold);
|
||||
this.xrLabel2.Font = new DevExpress.Drawing.DXFont("Arial", 11F, DevExpress.Drawing.DXFontStyle.Bold);
|
||||
this.xrLabel2.LocationFloat = new DevExpress.Utils.PointFloat(250F, 0F);
|
||||
this.xrLabel2.Name = "xrLabel2";
|
||||
this.xrLabel2.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
|
||||
@@ -342,7 +341,7 @@ namespace BeWo.BrueckeABW
|
||||
//
|
||||
this.ReportFooter.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
|
||||
this.xrLabel13});
|
||||
this.ReportFooter.Font = new System.Drawing.Font("Arial", 11F);
|
||||
this.ReportFooter.Font = new DevExpress.Drawing.DXFont("Arial", 11F);
|
||||
this.ReportFooter.HeightF = 199.7916F;
|
||||
this.ReportFooter.Name = "ReportFooter";
|
||||
this.ReportFooter.StylePriority.UseFont = false;
|
||||
@@ -370,14 +369,14 @@ namespace BeWo.BrueckeABW
|
||||
this.ReportFooter});
|
||||
this.DataSource = this.bindingSource1;
|
||||
this.ExportOptions.PrintPreview.DefaultFileName = "Spitzabrechnung";
|
||||
this.Font = new System.Drawing.Font("Verdana", 10F);
|
||||
this.Font = new DevExpress.Drawing.DXFont("Verdana", 10F);
|
||||
this.FormattingRuleSheet.AddRange(new DevExpress.XtraReports.UI.FormattingRule[] {
|
||||
this.ruleRateFactorNull});
|
||||
this.Margins = new System.Drawing.Printing.Margins(85, 10, 0, 100);
|
||||
this.Margins = new DevExpress.Drawing.DXMargins(85F, 10F, 0F, 100F);
|
||||
this.PageHeight = 1169;
|
||||
this.PageWidth = 827;
|
||||
this.PaperKind = DevExpress.Drawing.Printing.DXPaperKind.A4;
|
||||
this.Version = "17.1";
|
||||
this.Version = "23.2";
|
||||
((System.ComponentModel.ISupportInitialize)(this.xrRichText1)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.xrRichText3)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.xrRichText2)).EndInit();
|
||||
|
||||
File diff suppressed because one or more lines are too long
112
ReportImp/BrueckeABW/SettlementReport.Designer.cs
generated
112
ReportImp/BrueckeABW/SettlementReport.Designer.cs
generated
@@ -33,10 +33,10 @@ namespace BeWo.BrueckeABW.Alt
|
||||
DevExpress.XtraReports.UI.XRWatermark xrWatermark1 = new DevExpress.XtraReports.UI.XRWatermark();
|
||||
this.Detail = new DevExpress.XtraReports.UI.DetailBand();
|
||||
this.ReportHeader = new DevExpress.XtraReports.UI.ReportHeaderBand();
|
||||
this.xrLabel11 = new DevExpress.XtraReports.UI.XRLabel();
|
||||
this.xrLine1 = new DevExpress.XtraReports.UI.XRLine();
|
||||
this.xrRichText1 = new DevExpress.XtraReports.UI.XRRichText();
|
||||
this.xrPictureBox1 = new DevExpress.XtraReports.UI.XRPictureBox();
|
||||
this.xrLabel11 = new DevExpress.XtraReports.UI.XRLabel();
|
||||
this.xrLabel8 = new DevExpress.XtraReports.UI.XRLabel();
|
||||
this.xrTable1 = new DevExpress.XtraReports.UI.XRTable();
|
||||
this.xrTableRow9 = new DevExpress.XtraReports.UI.XRTableRow();
|
||||
@@ -46,6 +46,9 @@ namespace BeWo.BrueckeABW.Alt
|
||||
this.xrTableCell20 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.ruleRateFactorNull = new DevExpress.XtraReports.UI.FormattingRule();
|
||||
this.xrTableCell7 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableRow1 = new DevExpress.XtraReports.UI.XRTableRow();
|
||||
this.xrTableCell1 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell2 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableRow11 = new DevExpress.XtraReports.UI.XRTableRow();
|
||||
this.xrTableCell21 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.rowErbrachteLeistung = new DevExpress.XtraReports.UI.XRTableRow();
|
||||
@@ -97,9 +100,6 @@ namespace BeWo.BrueckeABW.Alt
|
||||
this.xrLabel3 = new DevExpress.XtraReports.UI.XRLabel();
|
||||
this.xrLabel2 = new DevExpress.XtraReports.UI.XRLabel();
|
||||
this.xrRichText2 = new DevExpress.XtraReports.UI.XRRichText();
|
||||
this.xrTableRow1 = new DevExpress.XtraReports.UI.XRTableRow();
|
||||
this.xrTableCell1 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell2 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.bindingSource1 = new System.Windows.Forms.BindingSource(this.components);
|
||||
((System.ComponentModel.ISupportInitialize)(this.xrRichText1)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.xrTable1)).BeginInit();
|
||||
@@ -126,16 +126,6 @@ namespace BeWo.BrueckeABW.Alt
|
||||
this.ReportHeader.Name = "ReportHeader";
|
||||
this.ReportHeader.StylePriority.UseFont = false;
|
||||
//
|
||||
// xrLabel11
|
||||
//
|
||||
this.xrLabel11.Font = new DevExpress.Drawing.DXFont("Arial", 7F, DevExpress.Drawing.DXFontStyle.Underline);
|
||||
this.xrLabel11.LocationFloat = new DevExpress.Utils.PointFloat(0F, 0F);
|
||||
this.xrLabel11.Name = "xrLabel11";
|
||||
this.xrLabel11.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
|
||||
this.xrLabel11.SizeF = new System.Drawing.SizeF(291.9999F, 17F);
|
||||
this.xrLabel11.StylePriority.UseFont = false;
|
||||
this.xrLabel11.Text = "Brücke - ABW · Wilhelmstraße 37 · 52249 Eschweiler";
|
||||
//
|
||||
// xrLine1
|
||||
//
|
||||
this.xrLine1.LocationFloat = new DevExpress.Utils.PointFloat(0F, 129.1666F);
|
||||
@@ -158,6 +148,16 @@ namespace BeWo.BrueckeABW.Alt
|
||||
this.xrPictureBox1.SizeF = new System.Drawing.SizeF(276.375F, 139.5833F);
|
||||
this.xrPictureBox1.Sizing = DevExpress.XtraPrinting.ImageSizeMode.ZoomImage;
|
||||
//
|
||||
// xrLabel11
|
||||
//
|
||||
this.xrLabel11.Font = new DevExpress.Drawing.DXFont("Arial", 7F, DevExpress.Drawing.DXFontStyle.Underline);
|
||||
this.xrLabel11.LocationFloat = new DevExpress.Utils.PointFloat(0F, 0F);
|
||||
this.xrLabel11.Name = "xrLabel11";
|
||||
this.xrLabel11.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
|
||||
this.xrLabel11.SizeF = new System.Drawing.SizeF(291.9999F, 17F);
|
||||
this.xrLabel11.StylePriority.UseFont = false;
|
||||
this.xrLabel11.Text = "Brücke - ABW · Samaritanerstr. 9 · 52222 Stolberg";
|
||||
//
|
||||
// xrLabel8
|
||||
//
|
||||
this.xrLabel8.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
|
||||
@@ -277,6 +277,46 @@ namespace BeWo.BrueckeABW.Alt
|
||||
this.xrTableCell7.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopRight;
|
||||
this.xrTableCell7.Weight = 0.21685899000901443D;
|
||||
//
|
||||
// xrTableRow1
|
||||
//
|
||||
this.xrTableRow1.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
|
||||
this.xrTableCell1,
|
||||
this.xrTableCell2});
|
||||
this.xrTableRow1.Name = "xrTableRow1";
|
||||
this.xrTableRow1.Weight = 0.085D;
|
||||
//
|
||||
// xrTableCell1
|
||||
//
|
||||
this.xrTableCell1.BorderColor = System.Drawing.SystemColors.ControlLight;
|
||||
this.xrTableCell1.Borders = ((DevExpress.XtraPrinting.BorderSide)((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Right)));
|
||||
this.xrTableCell1.Multiline = true;
|
||||
this.xrTableCell1.Name = "xrTableCell1";
|
||||
this.xrTableCell1.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
|
||||
this.xrTableCell1.StylePriority.UseBorderColor = false;
|
||||
this.xrTableCell1.StylePriority.UseBorders = false;
|
||||
this.xrTableCell1.StylePriority.UseFont = false;
|
||||
this.xrTableCell1.Text = "geleistete Fachleistungsstunden";
|
||||
this.xrTableCell1.Weight = 0.78314100999098568D;
|
||||
//
|
||||
// xrTableCell2
|
||||
//
|
||||
this.xrTableCell2.BorderColor = System.Drawing.SystemColors.ControlLight;
|
||||
this.xrTableCell2.Borders = ((DevExpress.XtraPrinting.BorderSide)((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Right)));
|
||||
this.xrTableCell2.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
|
||||
new DevExpress.XtraReports.UI.XRBinding("Text", null, "RecordedFLSTotal")});
|
||||
this.xrTableCell2.Font = new DevExpress.Drawing.DXFont("Arial", 11F, DevExpress.Drawing.DXFontStyle.Bold);
|
||||
this.xrTableCell2.Multiline = true;
|
||||
this.xrTableCell2.Name = "xrTableCell2";
|
||||
this.xrTableCell2.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
|
||||
this.xrTableCell2.StylePriority.UseBorderColor = false;
|
||||
this.xrTableCell2.StylePriority.UseBorders = false;
|
||||
this.xrTableCell2.StylePriority.UseFont = false;
|
||||
this.xrTableCell2.StylePriority.UseTextAlignment = false;
|
||||
this.xrTableCell2.Text = "xrTableCell2";
|
||||
this.xrTableCell2.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopRight;
|
||||
this.xrTableCell2.TextFormatString = "{0:#.00} FLS";
|
||||
this.xrTableCell2.Weight = 0.21685899000901443D;
|
||||
//
|
||||
// xrTableRow11
|
||||
//
|
||||
this.xrTableRow11.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
|
||||
@@ -635,8 +675,8 @@ namespace BeWo.BrueckeABW.Alt
|
||||
this.xrLabel6.SizeF = new System.Drawing.SizeF(718.9999F, 80.54166F);
|
||||
this.xrLabel6.StylePriority.UseFont = false;
|
||||
this.xrLabel6.Text = "Sehr geehrte Damen und Herren,\r\n\r\nin der Wohnbetreuungsangelegenheit [CustomerNam" +
|
||||
"e] übersende ich die Abrechnungsunterlagen für den Zeitraum [AccountingPeriod]\r\n" +
|
||||
"\r\n";
|
||||
"e], geb. [CustomerBirthdayString], übersende ich die Abrechnungsunterlagen für d" +
|
||||
"en Zeitraum [AccountingPeriod]\r\n\r\n";
|
||||
//
|
||||
// RecipientPostCodeAndTown
|
||||
//
|
||||
@@ -844,46 +884,6 @@ namespace BeWo.BrueckeABW.Alt
|
||||
this.xrRichText2.SerializableRtfString = resources.GetString("xrRichText2.SerializableRtfString");
|
||||
this.xrRichText2.SizeF = new System.Drawing.SizeF(209.9583F, 201.125F);
|
||||
//
|
||||
// xrTableRow1
|
||||
//
|
||||
this.xrTableRow1.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
|
||||
this.xrTableCell1,
|
||||
this.xrTableCell2});
|
||||
this.xrTableRow1.Name = "xrTableRow1";
|
||||
this.xrTableRow1.Weight = 0.085D;
|
||||
//
|
||||
// xrTableCell1
|
||||
//
|
||||
this.xrTableCell1.BorderColor = System.Drawing.SystemColors.ControlLight;
|
||||
this.xrTableCell1.Borders = ((DevExpress.XtraPrinting.BorderSide)((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Right)));
|
||||
this.xrTableCell1.Multiline = true;
|
||||
this.xrTableCell1.Name = "xrTableCell1";
|
||||
this.xrTableCell1.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
|
||||
this.xrTableCell1.StylePriority.UseBorderColor = false;
|
||||
this.xrTableCell1.StylePriority.UseBorders = false;
|
||||
this.xrTableCell1.StylePriority.UseFont = false;
|
||||
this.xrTableCell1.Text = "geleistete Fachleistungsstunden";
|
||||
this.xrTableCell1.Weight = 0.78314100999098568D;
|
||||
//
|
||||
// xrTableCell2
|
||||
//
|
||||
this.xrTableCell2.BorderColor = System.Drawing.SystemColors.ControlLight;
|
||||
this.xrTableCell2.Borders = ((DevExpress.XtraPrinting.BorderSide)((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Right)));
|
||||
this.xrTableCell2.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
|
||||
new DevExpress.XtraReports.UI.XRBinding("Text", null, "RecordedFLSTotal")});
|
||||
this.xrTableCell2.Font = new DevExpress.Drawing.DXFont("Arial", 11F, DevExpress.Drawing.DXFontStyle.Bold);
|
||||
this.xrTableCell2.Multiline = true;
|
||||
this.xrTableCell2.Name = "xrTableCell2";
|
||||
this.xrTableCell2.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
|
||||
this.xrTableCell2.StylePriority.UseBorderColor = false;
|
||||
this.xrTableCell2.StylePriority.UseBorders = false;
|
||||
this.xrTableCell2.StylePriority.UseFont = false;
|
||||
this.xrTableCell2.StylePriority.UseTextAlignment = false;
|
||||
this.xrTableCell2.Text = "xrTableCell2";
|
||||
this.xrTableCell2.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopRight;
|
||||
this.xrTableCell2.TextFormatString = "{0:#.00} FLS";
|
||||
this.xrTableCell2.Weight = 0.21685899000901443D;
|
||||
//
|
||||
// bindingSource1
|
||||
//
|
||||
this.bindingSource1.DataSource = typeof(BeWo.Report.ReportObjects.SettlementRO);
|
||||
|
||||
File diff suppressed because one or more lines are too long
300
ReportImp/BrueckeABW/SettlementReport2.Designer.cs
generated
300
ReportImp/BrueckeABW/SettlementReport2.Designer.cs
generated
@@ -34,7 +34,6 @@ namespace BeWo.BrueckeABW
|
||||
DevExpress.XtraReports.UI.XRWatermark xrWatermark1 = new DevExpress.XtraReports.UI.XRWatermark();
|
||||
this.Detail = new DevExpress.XtraReports.UI.DetailBand();
|
||||
this.ReportHeader = new DevExpress.XtraReports.UI.ReportHeaderBand();
|
||||
this.xrLabel11 = new DevExpress.XtraReports.UI.XRLabel();
|
||||
this.xrLine1 = new DevExpress.XtraReports.UI.XRLine();
|
||||
this.xrRichText1 = new DevExpress.XtraReports.UI.XRRichText();
|
||||
this.xrPictureBox1 = new DevExpress.XtraReports.UI.XRPictureBox();
|
||||
@@ -47,6 +46,9 @@ namespace BeWo.BrueckeABW
|
||||
this.xrTableCell20 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.ruleRateFactorNull = new DevExpress.XtraReports.UI.FormattingRule();
|
||||
this.xrTableCell7 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableRow2 = new DevExpress.XtraReports.UI.XRTableRow();
|
||||
this.xrTableCell2 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell3 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableRow11 = new DevExpress.XtraReports.UI.XRTableRow();
|
||||
this.xrTableCell21 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.rowErbrachteLeistung = new DevExpress.XtraReports.UI.XRTableRow();
|
||||
@@ -78,6 +80,14 @@ namespace BeWo.BrueckeABW
|
||||
this.xrTableCell13 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell16 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.Zwischensumme = new DevExpress.XtraReports.UI.GroupFooterBand();
|
||||
this.xrTable6 = new DevExpress.XtraReports.UI.XRTable();
|
||||
this.xrTableRow12 = new DevExpress.XtraReports.UI.XRTableRow();
|
||||
this.xrTableCell9 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell10 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableRow1 = new DevExpress.XtraReports.UI.XRTableRow();
|
||||
this.xrTableCell1 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.GroupHeader2 = new DevExpress.XtraReports.UI.GroupHeaderBand();
|
||||
this.bindingSource1 = new System.Windows.Forms.BindingSource(this.components);
|
||||
this.GroupFooter2 = new DevExpress.XtraReports.UI.GroupFooterBand();
|
||||
this.xrTable3 = new DevExpress.XtraReports.UI.XRTable();
|
||||
this.xrTableRow32 = new DevExpress.XtraReports.UI.XRTableRow();
|
||||
@@ -98,25 +108,15 @@ namespace BeWo.BrueckeABW
|
||||
this.xrTableRow38 = new DevExpress.XtraReports.UI.XRTableRow();
|
||||
this.xrTableCell68 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell69 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.GroupHeader2 = new DevExpress.XtraReports.UI.GroupHeaderBand();
|
||||
this.xrTable6 = new DevExpress.XtraReports.UI.XRTable();
|
||||
this.xrTableRow12 = new DevExpress.XtraReports.UI.XRTableRow();
|
||||
this.xrTableCell9 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell10 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableRow1 = new DevExpress.XtraReports.UI.XRTableRow();
|
||||
this.xrTableCell1 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableRow2 = new DevExpress.XtraReports.UI.XRTableRow();
|
||||
this.xrTableCell2 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell3 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.bindingSource1 = new System.Windows.Forms.BindingSource(this.components);
|
||||
this.xrLabel11 = new DevExpress.XtraReports.UI.XRLabel();
|
||||
((System.ComponentModel.ISupportInitialize)(this.xrRichText1)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.xrTable1)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.xrRichText3)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.xrRichText2)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.xrTable2)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.xrTable3)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.xrTable6)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.bindingSource1)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.xrTable3)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this)).BeginInit();
|
||||
//
|
||||
// Detail
|
||||
@@ -137,16 +137,6 @@ namespace BeWo.BrueckeABW
|
||||
this.ReportHeader.Name = "ReportHeader";
|
||||
this.ReportHeader.StylePriority.UseFont = false;
|
||||
//
|
||||
// xrLabel11
|
||||
//
|
||||
this.xrLabel11.Font = new DevExpress.Drawing.DXFont("Arial", 7F, DevExpress.Drawing.DXFontStyle.Underline);
|
||||
this.xrLabel11.LocationFloat = new DevExpress.Utils.PointFloat(0F, 0F);
|
||||
this.xrLabel11.Name = "xrLabel11";
|
||||
this.xrLabel11.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
|
||||
this.xrLabel11.SizeF = new System.Drawing.SizeF(292F, 17F);
|
||||
this.xrLabel11.StylePriority.UseFont = false;
|
||||
this.xrLabel11.Text = "Brücke - ABW · Wilhelmstraße 37 · 52249 Eschweiler";
|
||||
//
|
||||
// xrLine1
|
||||
//
|
||||
this.xrLine1.LocationFloat = new DevExpress.Utils.PointFloat(0F, 129.1666F);
|
||||
@@ -278,6 +268,46 @@ namespace BeWo.BrueckeABW
|
||||
this.xrTableCell7.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopRight;
|
||||
this.xrTableCell7.Weight = 0.21685899000901443D;
|
||||
//
|
||||
// xrTableRow2
|
||||
//
|
||||
this.xrTableRow2.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
|
||||
this.xrTableCell2,
|
||||
this.xrTableCell3});
|
||||
this.xrTableRow2.Name = "xrTableRow2";
|
||||
this.xrTableRow2.Weight = 0.085D;
|
||||
//
|
||||
// xrTableCell2
|
||||
//
|
||||
this.xrTableCell2.BorderColor = System.Drawing.SystemColors.ControlLight;
|
||||
this.xrTableCell2.Borders = ((DevExpress.XtraPrinting.BorderSide)((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Right)));
|
||||
this.xrTableCell2.Multiline = true;
|
||||
this.xrTableCell2.Name = "xrTableCell2";
|
||||
this.xrTableCell2.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
|
||||
this.xrTableCell2.StylePriority.UseBorderColor = false;
|
||||
this.xrTableCell2.StylePriority.UseBorders = false;
|
||||
this.xrTableCell2.StylePriority.UseFont = false;
|
||||
this.xrTableCell2.Text = "geleistete Fachleistungsstunden";
|
||||
this.xrTableCell2.Weight = 0.78314100999098568D;
|
||||
//
|
||||
// xrTableCell3
|
||||
//
|
||||
this.xrTableCell3.BorderColor = System.Drawing.SystemColors.ControlLight;
|
||||
this.xrTableCell3.Borders = ((DevExpress.XtraPrinting.BorderSide)((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Right)));
|
||||
this.xrTableCell3.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
|
||||
new DevExpress.XtraReports.UI.XRBinding("Text", null, "RecordedFlsTotal")});
|
||||
this.xrTableCell3.Font = new DevExpress.Drawing.DXFont("Arial", 11F, DevExpress.Drawing.DXFontStyle.Bold);
|
||||
this.xrTableCell3.Multiline = true;
|
||||
this.xrTableCell3.Name = "xrTableCell3";
|
||||
this.xrTableCell3.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
|
||||
this.xrTableCell3.StylePriority.UseBorderColor = false;
|
||||
this.xrTableCell3.StylePriority.UseBorders = false;
|
||||
this.xrTableCell3.StylePriority.UseFont = false;
|
||||
this.xrTableCell3.StylePriority.UseTextAlignment = false;
|
||||
this.xrTableCell3.Text = "xrTableCell3";
|
||||
this.xrTableCell3.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopRight;
|
||||
this.xrTableCell3.TextFormatString = "{0:#.00} FLS";
|
||||
this.xrTableCell3.Weight = 0.21685899000901443D;
|
||||
//
|
||||
// xrTableRow11
|
||||
//
|
||||
this.xrTableRow11.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
|
||||
@@ -324,9 +354,7 @@ namespace BeWo.BrueckeABW
|
||||
this.xrLabel6.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
|
||||
this.xrLabel6.SizeF = new System.Drawing.SizeF(718.9999F, 80.54166F);
|
||||
this.xrLabel6.StylePriority.UseFont = false;
|
||||
this.xrLabel6.Text = "Sehr geehrte Damen und Herren,\r\n\r\nin der Wohnbetreuungsangelegenheit [CustomerFir" +
|
||||
"stName] [CustomerLastName] übersende ich die Abrechnungsunterlagen für den Zeitr" +
|
||||
"aum [AccountingPeriod]\r\n\r\n";
|
||||
this.xrLabel6.Text = resources.GetString("xrLabel6.Text");
|
||||
//
|
||||
// RecipientPostCodeAndTown
|
||||
//
|
||||
@@ -618,6 +646,91 @@ namespace BeWo.BrueckeABW
|
||||
this.Zwischensumme.StylePriority.UseFont = false;
|
||||
this.Zwischensumme.Visible = false;
|
||||
//
|
||||
// xrTable6
|
||||
//
|
||||
this.xrTable6.LocationFloat = new DevExpress.Utils.PointFloat(0F, 0F);
|
||||
this.xrTable6.Name = "xrTable6";
|
||||
this.xrTable6.Rows.AddRange(new DevExpress.XtraReports.UI.XRTableRow[] {
|
||||
this.xrTableRow12,
|
||||
this.xrTableRow1});
|
||||
this.xrTable6.SizeF = new System.Drawing.SizeF(650F, 27F);
|
||||
this.xrTable6.StylePriority.UseFont = false;
|
||||
//
|
||||
// xrTableRow12
|
||||
//
|
||||
this.xrTableRow12.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
|
||||
this.xrTableCell9,
|
||||
this.xrTableCell10});
|
||||
this.xrTableRow12.Name = "xrTableRow12";
|
||||
this.xrTableRow12.Weight = 0.40476190476190466D;
|
||||
//
|
||||
// xrTableCell9
|
||||
//
|
||||
this.xrTableCell9.BorderColor = System.Drawing.SystemColors.ControlLight;
|
||||
this.xrTableCell9.Borders = ((DevExpress.XtraPrinting.BorderSide)((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Bottom)));
|
||||
this.xrTableCell9.Font = new DevExpress.Drawing.DXFont("Arial", 11F);
|
||||
this.xrTableCell9.Name = "xrTableCell9";
|
||||
this.xrTableCell9.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
|
||||
this.xrTableCell9.StylePriority.UseBorderColor = false;
|
||||
this.xrTableCell9.StylePriority.UseBorders = false;
|
||||
this.xrTableCell9.StylePriority.UseFont = false;
|
||||
this.xrTableCell9.StylePriority.UsePadding = false;
|
||||
this.xrTableCell9.Text = "Zwischensumme [ItemDescription]:";
|
||||
this.xrTableCell9.Weight = 2.3494233116736778D;
|
||||
//
|
||||
// xrTableCell10
|
||||
//
|
||||
this.xrTableCell10.BorderColor = System.Drawing.SystemColors.ControlLight;
|
||||
this.xrTableCell10.Borders = ((DevExpress.XtraPrinting.BorderSide)(((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Right)
|
||||
| DevExpress.XtraPrinting.BorderSide.Bottom)));
|
||||
this.xrTableCell10.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
|
||||
new DevExpress.XtraReports.UI.XRBinding("Text", null, "InvoiceItems.GrossAmountTotal")});
|
||||
this.xrTableCell10.Font = new DevExpress.Drawing.DXFont("Arial", 11F);
|
||||
this.xrTableCell10.Name = "xrTableCell10";
|
||||
this.xrTableCell10.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
|
||||
this.xrTableCell10.StylePriority.UseBorderColor = false;
|
||||
this.xrTableCell10.StylePriority.UseBorders = false;
|
||||
this.xrTableCell10.StylePriority.UseFont = false;
|
||||
this.xrTableCell10.StylePriority.UsePadding = false;
|
||||
this.xrTableCell10.StylePriority.UseTextAlignment = false;
|
||||
xrSummary1.FormatString = "{0:c}";
|
||||
xrSummary1.Running = DevExpress.XtraReports.UI.SummaryRunning.Group;
|
||||
this.xrTableCell10.Summary = xrSummary1;
|
||||
this.xrTableCell10.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopRight;
|
||||
this.xrTableCell10.Weight = 0.650576688326322D;
|
||||
//
|
||||
// xrTableRow1
|
||||
//
|
||||
this.xrTableRow1.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
|
||||
this.xrTableCell1});
|
||||
this.xrTableRow1.Name = "xrTableRow1";
|
||||
this.xrTableRow1.Weight = 0.23809523809523805D;
|
||||
//
|
||||
// xrTableCell1
|
||||
//
|
||||
this.xrTableCell1.BorderColor = System.Drawing.SystemColors.ControlLight;
|
||||
this.xrTableCell1.Borders = ((DevExpress.XtraPrinting.BorderSide)(((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Right)
|
||||
| DevExpress.XtraPrinting.BorderSide.Bottom)));
|
||||
this.xrTableCell1.Font = new DevExpress.Drawing.DXFont("Arial", 11F);
|
||||
this.xrTableCell1.Name = "xrTableCell1";
|
||||
this.xrTableCell1.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
|
||||
this.xrTableCell1.StylePriority.UseBorderColor = false;
|
||||
this.xrTableCell1.StylePriority.UseBorders = false;
|
||||
this.xrTableCell1.StylePriority.UseFont = false;
|
||||
this.xrTableCell1.StylePriority.UsePadding = false;
|
||||
this.xrTableCell1.Weight = 3D;
|
||||
//
|
||||
// GroupHeader2
|
||||
//
|
||||
this.GroupHeader2.GroupFields.AddRange(new DevExpress.XtraReports.UI.GroupField[] {
|
||||
new DevExpress.XtraReports.UI.GroupField("RateFactor", DevExpress.XtraReports.UI.XRColumnSortOrder.Descending)});
|
||||
this.GroupHeader2.HeightF = 0F;
|
||||
this.GroupHeader2.Name = "GroupHeader2";
|
||||
//
|
||||
// bindingSource1
|
||||
//
|
||||
this.bindingSource1.DataSource = typeof(BeWo.Report.ReportObjects.Settlement2RO);
|
||||
//
|
||||
// GroupFooter2
|
||||
//
|
||||
this.GroupFooter2.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
|
||||
@@ -837,130 +950,15 @@ namespace BeWo.BrueckeABW
|
||||
this.xrTableCell69.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopRight;
|
||||
this.xrTableCell69.Weight = 0.21685899000901443D;
|
||||
//
|
||||
// GroupHeader2
|
||||
// xrLabel11
|
||||
//
|
||||
this.GroupHeader2.GroupFields.AddRange(new DevExpress.XtraReports.UI.GroupField[] {
|
||||
new DevExpress.XtraReports.UI.GroupField("RateFactor", DevExpress.XtraReports.UI.XRColumnSortOrder.Descending)});
|
||||
this.GroupHeader2.HeightF = 0F;
|
||||
this.GroupHeader2.Name = "GroupHeader2";
|
||||
//
|
||||
// xrTable6
|
||||
//
|
||||
this.xrTable6.LocationFloat = new DevExpress.Utils.PointFloat(0F, 0F);
|
||||
this.xrTable6.Name = "xrTable6";
|
||||
this.xrTable6.Rows.AddRange(new DevExpress.XtraReports.UI.XRTableRow[] {
|
||||
this.xrTableRow12,
|
||||
this.xrTableRow1});
|
||||
this.xrTable6.SizeF = new System.Drawing.SizeF(650F, 27F);
|
||||
this.xrTable6.StylePriority.UseFont = false;
|
||||
//
|
||||
// xrTableRow12
|
||||
//
|
||||
this.xrTableRow12.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
|
||||
this.xrTableCell9,
|
||||
this.xrTableCell10});
|
||||
this.xrTableRow12.Name = "xrTableRow12";
|
||||
this.xrTableRow12.Weight = 0.40476190476190466D;
|
||||
//
|
||||
// xrTableCell9
|
||||
//
|
||||
this.xrTableCell9.BorderColor = System.Drawing.SystemColors.ControlLight;
|
||||
this.xrTableCell9.Borders = ((DevExpress.XtraPrinting.BorderSide)((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Bottom)));
|
||||
this.xrTableCell9.Font = new DevExpress.Drawing.DXFont("Arial", 11F);
|
||||
this.xrTableCell9.Name = "xrTableCell9";
|
||||
this.xrTableCell9.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
|
||||
this.xrTableCell9.StylePriority.UseBorderColor = false;
|
||||
this.xrTableCell9.StylePriority.UseBorders = false;
|
||||
this.xrTableCell9.StylePriority.UseFont = false;
|
||||
this.xrTableCell9.StylePriority.UsePadding = false;
|
||||
this.xrTableCell9.Text = "Zwischensumme [ItemDescription]:";
|
||||
this.xrTableCell9.Weight = 2.3494233116736778D;
|
||||
//
|
||||
// xrTableCell10
|
||||
//
|
||||
this.xrTableCell10.BorderColor = System.Drawing.SystemColors.ControlLight;
|
||||
this.xrTableCell10.Borders = ((DevExpress.XtraPrinting.BorderSide)(((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Right)
|
||||
| DevExpress.XtraPrinting.BorderSide.Bottom)));
|
||||
this.xrTableCell10.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
|
||||
new DevExpress.XtraReports.UI.XRBinding("Text", null, "InvoiceItems.GrossAmountTotal")});
|
||||
this.xrTableCell10.Font = new DevExpress.Drawing.DXFont("Arial", 11F);
|
||||
this.xrTableCell10.Name = "xrTableCell10";
|
||||
this.xrTableCell10.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
|
||||
this.xrTableCell10.StylePriority.UseBorderColor = false;
|
||||
this.xrTableCell10.StylePriority.UseBorders = false;
|
||||
this.xrTableCell10.StylePriority.UseFont = false;
|
||||
this.xrTableCell10.StylePriority.UsePadding = false;
|
||||
this.xrTableCell10.StylePriority.UseTextAlignment = false;
|
||||
xrSummary1.FormatString = "{0:c}";
|
||||
xrSummary1.Running = DevExpress.XtraReports.UI.SummaryRunning.Group;
|
||||
this.xrTableCell10.Summary = xrSummary1;
|
||||
this.xrTableCell10.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopRight;
|
||||
this.xrTableCell10.Weight = 0.650576688326322D;
|
||||
//
|
||||
// xrTableRow1
|
||||
//
|
||||
this.xrTableRow1.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
|
||||
this.xrTableCell1});
|
||||
this.xrTableRow1.Name = "xrTableRow1";
|
||||
this.xrTableRow1.Weight = 0.23809523809523805D;
|
||||
//
|
||||
// xrTableCell1
|
||||
//
|
||||
this.xrTableCell1.BorderColor = System.Drawing.SystemColors.ControlLight;
|
||||
this.xrTableCell1.Borders = ((DevExpress.XtraPrinting.BorderSide)(((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Right)
|
||||
| DevExpress.XtraPrinting.BorderSide.Bottom)));
|
||||
this.xrTableCell1.Font = new DevExpress.Drawing.DXFont("Arial", 11F);
|
||||
this.xrTableCell1.Name = "xrTableCell1";
|
||||
this.xrTableCell1.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
|
||||
this.xrTableCell1.StylePriority.UseBorderColor = false;
|
||||
this.xrTableCell1.StylePriority.UseBorders = false;
|
||||
this.xrTableCell1.StylePriority.UseFont = false;
|
||||
this.xrTableCell1.StylePriority.UsePadding = false;
|
||||
this.xrTableCell1.Weight = 3D;
|
||||
//
|
||||
// xrTableRow2
|
||||
//
|
||||
this.xrTableRow2.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
|
||||
this.xrTableCell2,
|
||||
this.xrTableCell3});
|
||||
this.xrTableRow2.Name = "xrTableRow2";
|
||||
this.xrTableRow2.Weight = 0.085D;
|
||||
//
|
||||
// xrTableCell2
|
||||
//
|
||||
this.xrTableCell2.BorderColor = System.Drawing.SystemColors.ControlLight;
|
||||
this.xrTableCell2.Borders = ((DevExpress.XtraPrinting.BorderSide)((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Right)));
|
||||
this.xrTableCell2.Multiline = true;
|
||||
this.xrTableCell2.Name = "xrTableCell2";
|
||||
this.xrTableCell2.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
|
||||
this.xrTableCell2.StylePriority.UseBorderColor = false;
|
||||
this.xrTableCell2.StylePriority.UseBorders = false;
|
||||
this.xrTableCell2.StylePriority.UseFont = false;
|
||||
this.xrTableCell2.Text = "geleistete Fachleistungsstunden";
|
||||
this.xrTableCell2.Weight = 0.78314100999098568D;
|
||||
//
|
||||
// xrTableCell3
|
||||
//
|
||||
this.xrTableCell3.BorderColor = System.Drawing.SystemColors.ControlLight;
|
||||
this.xrTableCell3.Borders = ((DevExpress.XtraPrinting.BorderSide)((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Right)));
|
||||
this.xrTableCell3.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
|
||||
new DevExpress.XtraReports.UI.XRBinding("Text", null, "RecordedFlsTotal")});
|
||||
this.xrTableCell3.Font = new DevExpress.Drawing.DXFont("Arial", 11F, DevExpress.Drawing.DXFontStyle.Bold);
|
||||
this.xrTableCell3.Multiline = true;
|
||||
this.xrTableCell3.Name = "xrTableCell3";
|
||||
this.xrTableCell3.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
|
||||
this.xrTableCell3.StylePriority.UseBorderColor = false;
|
||||
this.xrTableCell3.StylePriority.UseBorders = false;
|
||||
this.xrTableCell3.StylePriority.UseFont = false;
|
||||
this.xrTableCell3.StylePriority.UseTextAlignment = false;
|
||||
this.xrTableCell3.Text = "xrTableCell3";
|
||||
this.xrTableCell3.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopRight;
|
||||
this.xrTableCell3.TextFormatString = "{0:#.00} FLS";
|
||||
this.xrTableCell3.Weight = 0.21685899000901443D;
|
||||
//
|
||||
// bindingSource1
|
||||
//
|
||||
this.bindingSource1.DataSource = typeof(BeWo.Report.ReportObjects.Settlement2RO);
|
||||
this.xrLabel11.Font = new DevExpress.Drawing.DXFont("Arial", 7F, DevExpress.Drawing.DXFontStyle.Underline);
|
||||
this.xrLabel11.LocationFloat = new DevExpress.Utils.PointFloat(0F, 0F);
|
||||
this.xrLabel11.Name = "xrLabel11";
|
||||
this.xrLabel11.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
|
||||
this.xrLabel11.SizeF = new System.Drawing.SizeF(291.9999F, 17F);
|
||||
this.xrLabel11.StylePriority.UseFont = false;
|
||||
this.xrLabel11.Text = "Brücke - ABW · Samaritanerstr. 9 · 52222 Stolberg";
|
||||
//
|
||||
// Spitzabrechnung
|
||||
//
|
||||
@@ -991,9 +989,9 @@ namespace BeWo.BrueckeABW
|
||||
((System.ComponentModel.ISupportInitialize)(this.xrRichText3)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.xrRichText2)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.xrTable2)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.xrTable3)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.xrTable6)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.bindingSource1)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.xrTable3)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this)).EndInit();
|
||||
|
||||
}
|
||||
@@ -1046,7 +1044,6 @@ namespace BeWo.BrueckeABW
|
||||
private DevExpress.XtraReports.UI.XRTableCell xrTableCell13;
|
||||
private DevExpress.XtraReports.UI.XRTableCell xrTableCell16;
|
||||
private DevExpress.XtraReports.UI.GroupFooterBand Zwischensumme;
|
||||
private DevExpress.XtraReports.UI.XRLabel xrLabel11;
|
||||
private DevExpress.XtraReports.UI.GroupFooterBand GroupFooter2;
|
||||
private DevExpress.XtraReports.UI.XRTable xrTable3;
|
||||
private DevExpress.XtraReports.UI.XRTableRow xrTableRow32;
|
||||
@@ -1077,5 +1074,6 @@ namespace BeWo.BrueckeABW
|
||||
private DevExpress.XtraReports.UI.XRTableRow xrTableRow2;
|
||||
private DevExpress.XtraReports.UI.XRTableCell xrTableCell2;
|
||||
private DevExpress.XtraReports.UI.XRTableCell xrTableCell3;
|
||||
private DevExpress.XtraReports.UI.XRLabel xrLabel11;
|
||||
}
|
||||
}
|
||||
|
||||
File diff suppressed because one or more lines are too long
BIN
ReportImp/CaritasverbandDuerenJuelichEV/CaritasLogo.png
Normal file
BIN
ReportImp/CaritasverbandDuerenJuelichEV/CaritasLogo.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 3.6 KiB |
@@ -147,7 +147,6 @@
|
||||
<ItemGroup>
|
||||
<EmbeddedResource Include="EmployeeKilometerauswertungsListReport.resx">
|
||||
<DependentUpon>EmployeeKilometerauswertungsListReport.cs</DependentUpon>
|
||||
<SubType>Designer</SubType>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="EmployeeKilometerauswertungsReport.resx">
|
||||
<DependentUpon>EmployeeKilometerauswertungsReport.cs</DependentUpon>
|
||||
|
||||
@@ -30,12 +30,10 @@ namespace CaritasverbandDuerenJuelichEV
|
||||
private void InitializeComponent()
|
||||
{
|
||||
this.components = new System.ComponentModel.Container();
|
||||
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(EmployeeKilometerauswertungsListReport));
|
||||
DevExpress.XtraReports.UI.XRWatermark xrWatermark1 = new DevExpress.XtraReports.UI.XRWatermark();
|
||||
this.Detail = new DevExpress.XtraReports.UI.DetailBand();
|
||||
this.xrTableCell1 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableRow1 = new DevExpress.XtraReports.UI.XRTableRow();
|
||||
this.xrTable1 = new DevExpress.XtraReports.UI.XRTable();
|
||||
this.Detail1 = new DevExpress.XtraReports.UI.DetailBand();
|
||||
this.xrLabel7 = new DevExpress.XtraReports.UI.XRLabel();
|
||||
this.DetailReport = new DevExpress.XtraReports.UI.DetailReportBand();
|
||||
this.DetailReport1 = new DevExpress.XtraReports.UI.DetailReportBand();
|
||||
this.Detail2 = new DevExpress.XtraReports.UI.DetailBand();
|
||||
@@ -44,22 +42,38 @@ namespace CaritasverbandDuerenJuelichEV
|
||||
this.xrTableCell3 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell8 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell4 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell9 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.GroupHeader2 = new DevExpress.XtraReports.UI.GroupHeaderBand();
|
||||
this.xrTable2 = new DevExpress.XtraReports.UI.XRTable();
|
||||
this.xrTableRow2 = new DevExpress.XtraReports.UI.XRTableRow();
|
||||
this.xrTableCell5 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell2 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell6 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell7 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.GroupFooter1 = new DevExpress.XtraReports.UI.GroupFooterBand();
|
||||
this.objectDataSource1 = new DevExpress.DataAccess.ObjectBinding.ObjectDataSource(this.components);
|
||||
this.ReportHeader = new DevExpress.XtraReports.UI.ReportHeaderBand();
|
||||
this.GroupHeader2 = new DevExpress.XtraReports.UI.GroupHeaderBand();
|
||||
this.xrLabel9 = new DevExpress.XtraReports.UI.XRLabel();
|
||||
this.xrLabel2 = new DevExpress.XtraReports.UI.XRLabel();
|
||||
this.xrLabel3 = new DevExpress.XtraReports.UI.XRLabel();
|
||||
this.xrLabel16 = new DevExpress.XtraReports.UI.XRLabel();
|
||||
this.xrPictureBox1 = new DevExpress.XtraReports.UI.XRPictureBox();
|
||||
this.xrLabel4 = new DevExpress.XtraReports.UI.XRLabel();
|
||||
this.xrLabel5 = new DevExpress.XtraReports.UI.XRLabel();
|
||||
this.xrLabel6 = new DevExpress.XtraReports.UI.XRLabel();
|
||||
this.xrLabel1 = new DevExpress.XtraReports.UI.XRLabel();
|
||||
this.xrLabel8 = new DevExpress.XtraReports.UI.XRLabel();
|
||||
this.xrCheckBox1 = new DevExpress.XtraReports.UI.XRCheckBox();
|
||||
this.xrCheckBox2 = new DevExpress.XtraReports.UI.XRCheckBox();
|
||||
this.lblKennzeichen = new DevExpress.XtraReports.UI.XRLabel();
|
||||
this.lblDoppelkm = new DevExpress.XtraReports.UI.XRLabel();
|
||||
this.xrTable1 = new DevExpress.XtraReports.UI.XRTable();
|
||||
this.xrTableRow1 = new DevExpress.XtraReports.UI.XRTableRow();
|
||||
this.xrTableCell1 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell10 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell11 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell12 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.GroupFooter1 = new DevExpress.XtraReports.UI.GroupFooterBand();
|
||||
this.xrLabel15 = new DevExpress.XtraReports.UI.XRLabel();
|
||||
this.xrLabel14 = new DevExpress.XtraReports.UI.XRLabel();
|
||||
this.xrLabel12 = new DevExpress.XtraReports.UI.XRLabel();
|
||||
this.lblUnterschriftMitarbeiter = new DevExpress.XtraReports.UI.XRLabel();
|
||||
this.xrLabel11 = new DevExpress.XtraReports.UI.XRLabel();
|
||||
this.xrLabel10 = new DevExpress.XtraReports.UI.XRLabel();
|
||||
this.xrLabel7 = new DevExpress.XtraReports.UI.XRLabel();
|
||||
this.xrLabel13 = new DevExpress.XtraReports.UI.XRLabel();
|
||||
this.pageFooterBand1 = new DevExpress.XtraReports.UI.PageFooterBand();
|
||||
this.xrPageInfo2 = new DevExpress.XtraReports.UI.XRPageInfo();
|
||||
this.xrPageInfo1 = new DevExpress.XtraReports.UI.XRPageInfo();
|
||||
this.Title = new DevExpress.XtraReports.UI.XRControlStyle();
|
||||
this.FieldCaption = new DevExpress.XtraReports.UI.XRControlStyle();
|
||||
this.PageInfo = new DevExpress.XtraReports.UI.XRControlStyle();
|
||||
@@ -67,9 +81,9 @@ namespace CaritasverbandDuerenJuelichEV
|
||||
this.fieldFLS = new DevExpress.XtraReports.UI.CalculatedField();
|
||||
this.topMarginBand1 = new DevExpress.XtraReports.UI.TopMarginBand();
|
||||
this.bottomMarginBand1 = new DevExpress.XtraReports.UI.BottomMarginBand();
|
||||
((System.ComponentModel.ISupportInitialize)(this.xrTable1)).BeginInit();
|
||||
this.objectDataSource1 = new DevExpress.DataAccess.ObjectBinding.ObjectDataSource(this.components);
|
||||
((System.ComponentModel.ISupportInitialize)(this.xrTable4)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.xrTable2)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.xrTable1)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.objectDataSource1)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this)).BeginInit();
|
||||
//
|
||||
@@ -80,59 +94,14 @@ namespace CaritasverbandDuerenJuelichEV
|
||||
this.Detail.Padding = new DevExpress.XtraPrinting.PaddingInfo(0, 0, 0, 0, 100F);
|
||||
this.Detail.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft;
|
||||
//
|
||||
// xrTableCell1
|
||||
//
|
||||
this.xrTableCell1.Borders = DevExpress.XtraPrinting.BorderSide.None;
|
||||
this.xrTableCell1.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
|
||||
new DevExpress.XtraReports.UI.XRBinding("Text", null, "Employees2Entries.EmployeeName")});
|
||||
this.xrTableCell1.Font = new DevExpress.Drawing.DXFont("Arial", 12F, DevExpress.Drawing.DXFontStyle.Bold);
|
||||
this.xrTableCell1.Name = "xrTableCell1";
|
||||
this.xrTableCell1.StylePriority.UseBorderColor = false;
|
||||
this.xrTableCell1.StylePriority.UseBorders = false;
|
||||
this.xrTableCell1.StylePriority.UseFont = false;
|
||||
this.xrTableCell1.Weight = 4.0816326530612246D;
|
||||
//
|
||||
// xrTableRow1
|
||||
//
|
||||
this.xrTableRow1.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
|
||||
this.xrTableCell1});
|
||||
this.xrTableRow1.Name = "xrTableRow1";
|
||||
this.xrTableRow1.Weight = 1D;
|
||||
//
|
||||
// xrTable1
|
||||
//
|
||||
this.xrTable1.Borders = ((DevExpress.XtraPrinting.BorderSide)(((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Right)
|
||||
| DevExpress.XtraPrinting.BorderSide.Bottom)));
|
||||
this.xrTable1.LocationFloat = new DevExpress.Utils.PointFloat(0F, 25F);
|
||||
this.xrTable1.Name = "xrTable1";
|
||||
this.xrTable1.Rows.AddRange(new DevExpress.XtraReports.UI.XRTableRow[] {
|
||||
this.xrTableRow1});
|
||||
this.xrTable1.SizeF = new System.Drawing.SizeF(600F, 25F);
|
||||
this.xrTable1.StylePriority.UseBorders = false;
|
||||
this.xrTable1.StylePriority.UsePadding = false;
|
||||
//
|
||||
// Detail1
|
||||
//
|
||||
this.Detail1.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
|
||||
this.xrLabel7,
|
||||
this.xrTable1});
|
||||
this.Detail1.Font = new DevExpress.Drawing.DXFont("Arial", 9.75F, DevExpress.Drawing.DXFontStyle.Regular, DevExpress.Drawing.DXGraphicsUnit.Point, new DevExpress.Drawing.DXFontAdditionalProperty[] {
|
||||
new DevExpress.Drawing.DXFontAdditionalProperty("GdiCharSet", ((byte)(0)))});
|
||||
this.Detail1.HeightF = 83F;
|
||||
this.Detail1.HeightF = 0F;
|
||||
this.Detail1.Name = "Detail1";
|
||||
this.Detail1.StylePriority.UseFont = false;
|
||||
//
|
||||
// xrLabel7
|
||||
//
|
||||
this.xrLabel7.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
|
||||
new DevExpress.XtraReports.UI.XRBinding("Text", null, "Employees2Entries.TotalDistanceInMeters", "Kilometer gesamt: {0:}")});
|
||||
this.xrLabel7.Font = new DevExpress.Drawing.DXFont("Arial", 10F);
|
||||
this.xrLabel7.LocationFloat = new DevExpress.Utils.PointFloat(0F, 50F);
|
||||
this.xrLabel7.Name = "xrLabel7";
|
||||
this.xrLabel7.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
|
||||
this.xrLabel7.SizeF = new System.Drawing.SizeF(280F, 25F);
|
||||
this.xrLabel7.StylePriority.UseFont = false;
|
||||
//
|
||||
// DetailReport
|
||||
//
|
||||
this.DetailReport.Bands.AddRange(new DevExpress.XtraReports.UI.Band[] {
|
||||
@@ -171,7 +140,7 @@ namespace CaritasverbandDuerenJuelichEV
|
||||
this.xrTable4.Name = "xrTable4";
|
||||
this.xrTable4.Rows.AddRange(new DevExpress.XtraReports.UI.XRTableRow[] {
|
||||
this.xrTableRow4});
|
||||
this.xrTable4.SizeF = new System.Drawing.SizeF(625.8302F, 25F);
|
||||
this.xrTable4.SizeF = new System.Drawing.SizeF(677.0002F, 25F);
|
||||
this.xrTable4.StylePriority.UseBorders = false;
|
||||
this.xrTable4.StylePriority.UsePadding = false;
|
||||
//
|
||||
@@ -181,12 +150,13 @@ namespace CaritasverbandDuerenJuelichEV
|
||||
this.xrTableCell3,
|
||||
this.xrTableCell8,
|
||||
this.xrTableCell4,
|
||||
this.xrTableCell9});
|
||||
this.xrTableCell2});
|
||||
this.xrTableRow4.Name = "xrTableRow4";
|
||||
this.xrTableRow4.Weight = 1D;
|
||||
//
|
||||
// xrTableCell3
|
||||
//
|
||||
this.xrTableCell3.CanGrow = false;
|
||||
this.xrTableCell3.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
|
||||
new DevExpress.XtraReports.UI.XRBinding("Text", null, "Employees2Entries.Entries.Datum", "{0:dd.MM.yyyy}")});
|
||||
this.xrTableCell3.Font = new DevExpress.Drawing.DXFont("Arial", 9.75F);
|
||||
@@ -194,180 +164,465 @@ namespace CaritasverbandDuerenJuelichEV
|
||||
this.xrTableCell3.StylePriority.UseFont = false;
|
||||
this.xrTableCell3.StylePriority.UseTextAlignment = false;
|
||||
this.xrTableCell3.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
|
||||
this.xrTableCell3.Weight = 0.6802721055263049D;
|
||||
this.xrTableCell3.Weight = 0.55121367991474446D;
|
||||
//
|
||||
// xrTableCell8
|
||||
//
|
||||
this.xrTableCell8.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
|
||||
new DevExpress.XtraReports.UI.XRBinding("Text", null, "Employees2Entries.Entries.TimeRange")});
|
||||
new DevExpress.XtraReports.UI.XRBinding("Text", null, "Employees2Entries.Entries.Notice")});
|
||||
this.xrTableCell8.Font = new DevExpress.Drawing.DXFont("Arial", 9.75F);
|
||||
this.xrTableCell8.Multiline = true;
|
||||
this.xrTableCell8.Name = "xrTableCell8";
|
||||
this.xrTableCell8.StylePriority.UseFont = false;
|
||||
this.xrTableCell8.StylePriority.UseTextAlignment = false;
|
||||
this.xrTableCell8.Text = "xrTableCell8";
|
||||
this.xrTableCell8.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
|
||||
this.xrTableCell8.Weight = 0.89285797658466393D;
|
||||
this.xrTableCell8.Weight = 3.1438552205870196D;
|
||||
//
|
||||
// xrTableCell4
|
||||
//
|
||||
this.xrTableCell4.CanGrow = false;
|
||||
this.xrTableCell4.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
|
||||
new DevExpress.XtraReports.UI.XRBinding("Text", null, "Employees2Entries.Entries.DistanceInMeters", "{0:0.##}")});
|
||||
new DevExpress.XtraReports.UI.XRBinding("Text", null, "Employees2Entries.Entries.DistanceInMeters")});
|
||||
this.xrTableCell4.Font = new DevExpress.Drawing.DXFont("Arial", 9.75F);
|
||||
this.xrTableCell4.Name = "xrTableCell4";
|
||||
this.xrTableCell4.StylePriority.UseFont = false;
|
||||
this.xrTableCell4.StylePriority.UseTextAlignment = false;
|
||||
this.xrTableCell4.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
|
||||
this.xrTableCell4.Weight = 1.028912291234853D;
|
||||
this.xrTableCell4.TextFormatString = "{0:0.00}";
|
||||
this.xrTableCell4.Weight = 0.48293992324861D;
|
||||
//
|
||||
// xrTableCell9
|
||||
// xrTableCell2
|
||||
//
|
||||
this.xrTableCell9.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
|
||||
new DevExpress.XtraReports.UI.XRBinding("Text", null, "Employees2Entries.Entries.Notice")});
|
||||
this.xrTableCell9.Font = new DevExpress.Drawing.DXFont("Arial", 9.75F);
|
||||
this.xrTableCell9.Name = "xrTableCell9";
|
||||
this.xrTableCell9.StylePriority.UseFont = false;
|
||||
this.xrTableCell9.StylePriority.UsePadding = false;
|
||||
this.xrTableCell9.StylePriority.UseTextAlignment = false;
|
||||
this.xrTableCell9.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
|
||||
this.xrTableCell9.Weight = 1.6553058235012754D;
|
||||
this.xrTableCell2.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
|
||||
new DevExpress.XtraReports.UI.XRBinding("Text", null, "Employees2Entries.Entries.KilometerPauschale")});
|
||||
this.xrTableCell2.Font = new DevExpress.Drawing.DXFont("Arial", 9.75F);
|
||||
this.xrTableCell2.Multiline = true;
|
||||
this.xrTableCell2.Name = "xrTableCell2";
|
||||
this.xrTableCell2.StylePriority.UseFont = false;
|
||||
this.xrTableCell2.StylePriority.UseTextAlignment = false;
|
||||
this.xrTableCell2.Text = "xrTableCell10";
|
||||
this.xrTableCell2.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
|
||||
this.xrTableCell2.TextFormatString = "{0:0.00}";
|
||||
this.xrTableCell2.Weight = 0.48185079919500695D;
|
||||
//
|
||||
// GroupHeader2
|
||||
//
|
||||
this.GroupHeader2.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
|
||||
this.xrTable2});
|
||||
this.GroupHeader2.HeightF = 25F;
|
||||
this.xrLabel9,
|
||||
this.xrLabel2,
|
||||
this.xrLabel3,
|
||||
this.xrLabel16,
|
||||
this.xrPictureBox1,
|
||||
this.xrLabel4,
|
||||
this.xrLabel5,
|
||||
this.xrLabel6,
|
||||
this.xrLabel1,
|
||||
this.xrLabel8,
|
||||
this.xrCheckBox1,
|
||||
this.xrCheckBox2,
|
||||
this.lblKennzeichen,
|
||||
this.lblDoppelkm,
|
||||
this.xrTable1});
|
||||
this.GroupHeader2.HeightF = 288.75F;
|
||||
this.GroupHeader2.Name = "GroupHeader2";
|
||||
this.GroupHeader2.RepeatEveryPage = true;
|
||||
//
|
||||
// xrTable2
|
||||
// xrLabel9
|
||||
//
|
||||
this.xrTable2.Borders = ((DevExpress.XtraPrinting.BorderSide)((((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top)
|
||||
| DevExpress.XtraPrinting.BorderSide.Right)
|
||||
| DevExpress.XtraPrinting.BorderSide.Bottom)));
|
||||
this.xrTable2.Font = new DevExpress.Drawing.DXFont("Arial", 10F, DevExpress.Drawing.DXFontStyle.Bold);
|
||||
this.xrTable2.LocationFloat = new DevExpress.Utils.PointFloat(0F, 0F);
|
||||
this.xrTable2.Name = "xrTable2";
|
||||
this.xrTable2.Rows.AddRange(new DevExpress.XtraReports.UI.XRTableRow[] {
|
||||
this.xrTableRow2});
|
||||
this.xrTable2.SizeF = new System.Drawing.SizeF(625.83F, 25F);
|
||||
this.xrTable2.StylePriority.UseBorders = false;
|
||||
this.xrTable2.StylePriority.UseFont = false;
|
||||
this.xrTable2.StylePriority.UsePadding = false;
|
||||
//
|
||||
// xrTableRow2
|
||||
//
|
||||
this.xrTableRow2.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
|
||||
this.xrTableCell5,
|
||||
this.xrTableCell2,
|
||||
this.xrTableCell6,
|
||||
this.xrTableCell7});
|
||||
this.xrTableRow2.Name = "xrTableRow2";
|
||||
this.xrTableRow2.Weight = 1D;
|
||||
//
|
||||
// xrTableCell5
|
||||
//
|
||||
this.xrTableCell5.Name = "xrTableCell5";
|
||||
this.xrTableCell5.StylePriority.UseTextAlignment = false;
|
||||
this.xrTableCell5.Text = "Datum";
|
||||
this.xrTableCell5.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
|
||||
this.xrTableCell5.Weight = 0.68027211962967382D;
|
||||
//
|
||||
// xrTableCell2
|
||||
//
|
||||
this.xrTableCell2.Name = "xrTableCell2";
|
||||
this.xrTableCell2.StylePriority.UseTextAlignment = false;
|
||||
this.xrTableCell2.Text = "Uhrzeit";
|
||||
this.xrTableCell2.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
|
||||
this.xrTableCell2.Weight = 0.892857131771576D;
|
||||
//
|
||||
// xrTableCell6
|
||||
//
|
||||
this.xrTableCell6.Name = "xrTableCell6";
|
||||
this.xrTableCell6.StylePriority.UseTextAlignment = false;
|
||||
this.xrTableCell6.Text = "gefahrene Kilometer";
|
||||
this.xrTableCell6.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
|
||||
this.xrTableCell6.Weight = 1.0289115603020467D;
|
||||
//
|
||||
// xrTableCell7
|
||||
//
|
||||
this.xrTableCell7.Name = "xrTableCell7";
|
||||
this.xrTableCell7.Padding = new DevExpress.XtraPrinting.PaddingInfo(5, 5, 0, 0, 100F);
|
||||
this.xrTableCell7.StylePriority.UsePadding = false;
|
||||
this.xrTableCell7.StylePriority.UseTextAlignment = false;
|
||||
this.xrTableCell7.Text = "Dokumentation";
|
||||
this.xrTableCell7.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
|
||||
this.xrTableCell7.Weight = 1.6553060397102077D;
|
||||
//
|
||||
// GroupFooter1
|
||||
//
|
||||
this.GroupFooter1.HeightF = 0F;
|
||||
this.GroupFooter1.Name = "GroupFooter1";
|
||||
this.GroupFooter1.PageBreak = DevExpress.XtraReports.UI.PageBreak.AfterBand;
|
||||
//
|
||||
// objectDataSource1
|
||||
//
|
||||
this.objectDataSource1.DataSource = typeof(BeWo.Report.ReportObjects.EmployeeKilometerauswertungsListRO);
|
||||
this.objectDataSource1.Name = "objectDataSource1";
|
||||
//
|
||||
// ReportHeader
|
||||
//
|
||||
this.ReportHeader.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
|
||||
this.xrLabel2,
|
||||
this.xrLabel1});
|
||||
this.ReportHeader.HeightF = 50F;
|
||||
this.ReportHeader.Name = "ReportHeader";
|
||||
this.xrLabel9.Font = new DevExpress.Drawing.DXFont("Arial", 14F, DevExpress.Drawing.DXFontStyle.Bold);
|
||||
this.xrLabel9.LocationFloat = new DevExpress.Utils.PointFloat(0F, 0F);
|
||||
this.xrLabel9.Multiline = true;
|
||||
this.xrLabel9.Name = "xrLabel9";
|
||||
this.xrLabel9.SizeF = new System.Drawing.SizeF(493.67F, 45F);
|
||||
this.xrLabel9.StyleName = "Title";
|
||||
this.xrLabel9.StylePriority.UseFont = false;
|
||||
this.xrLabel9.StylePriority.UseTextAlignment = false;
|
||||
this.xrLabel9.Text = "Fahrtkostenabrechnung";
|
||||
this.xrLabel9.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
|
||||
//
|
||||
// xrLabel2
|
||||
//
|
||||
this.xrLabel2.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
|
||||
new DevExpress.XtraReports.UI.XRBinding("Text", null, "MonthInformation", "Zeitraum: {0:MMMM yyyy}")});
|
||||
this.xrLabel2.Font = new DevExpress.Drawing.DXFont("Arial", 12F);
|
||||
this.xrLabel2.LocationFloat = new DevExpress.Utils.PointFloat(0F, 25F);
|
||||
new DevExpress.XtraReports.UI.XRBinding("Text", null, "MonthInformation")});
|
||||
this.xrLabel2.Font = new DevExpress.Drawing.DXFont("Arial", 12F, DevExpress.Drawing.DXFontStyle.Bold);
|
||||
this.xrLabel2.LocationFloat = new DevExpress.Utils.PointFloat(0F, 103.3333F);
|
||||
this.xrLabel2.Name = "xrLabel2";
|
||||
this.xrLabel2.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
|
||||
this.xrLabel2.SizeF = new System.Drawing.SizeF(280F, 25F);
|
||||
this.xrLabel2.Padding = new DevExpress.XtraPrinting.PaddingInfo(0, 0, 0, 0, 100F);
|
||||
this.xrLabel2.SizeF = new System.Drawing.SizeF(265.5418F, 25F);
|
||||
this.xrLabel2.StylePriority.UseFont = false;
|
||||
this.xrLabel2.StylePriority.UsePadding = false;
|
||||
this.xrLabel2.StylePriority.UseTextAlignment = false;
|
||||
this.xrLabel2.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
|
||||
this.xrLabel2.TextFormatString = "Abrechnungsmonat: {0:MMMM}";
|
||||
//
|
||||
// xrLabel3
|
||||
//
|
||||
this.xrLabel3.Font = new DevExpress.Drawing.DXFont("Arial", 14F);
|
||||
this.xrLabel3.LocationFloat = new DevExpress.Utils.PointFloat(0F, 45.00001F);
|
||||
this.xrLabel3.Multiline = true;
|
||||
this.xrLabel3.Name = "xrLabel3";
|
||||
this.xrLabel3.SizeF = new System.Drawing.SizeF(493.67F, 45F);
|
||||
this.xrLabel3.StyleName = "Title";
|
||||
this.xrLabel3.StylePriority.UseFont = false;
|
||||
this.xrLabel3.StylePriority.UseTextAlignment = false;
|
||||
this.xrLabel3.Text = "Formular";
|
||||
this.xrLabel3.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
|
||||
//
|
||||
// xrLabel16
|
||||
//
|
||||
this.xrLabel16.Borders = DevExpress.XtraPrinting.BorderSide.None;
|
||||
this.xrLabel16.Font = new DevExpress.Drawing.DXFont("Arial", 7F);
|
||||
this.xrLabel16.LocationFloat = new DevExpress.Utils.PointFloat(533.3751F, 10.00001F);
|
||||
this.xrLabel16.Multiline = true;
|
||||
this.xrLabel16.Name = "xrLabel16";
|
||||
this.xrLabel16.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
|
||||
this.xrLabel16.SizeF = new System.Drawing.SizeF(143.62F, 30F);
|
||||
this.xrLabel16.StylePriority.UseBorders = false;
|
||||
this.xrLabel16.StylePriority.UseFont = false;
|
||||
this.xrLabel16.StylePriority.UseTextAlignment = false;
|
||||
this.xrLabel16.Text = "Caritasverband \r\nfür die Region Düren-Jülich e.V.";
|
||||
this.xrLabel16.TextAlignment = DevExpress.XtraPrinting.TextAlignment.BottomLeft;
|
||||
//
|
||||
// xrPictureBox1
|
||||
//
|
||||
this.xrPictureBox1.ImageSource = new DevExpress.XtraPrinting.Drawing.ImageSource("img", resources.GetString("xrPictureBox1.ImageSource"));
|
||||
this.xrPictureBox1.LocationFloat = new DevExpress.Utils.PointFloat(493.67F, 0F);
|
||||
this.xrPictureBox1.Name = "xrPictureBox1";
|
||||
this.xrPictureBox1.SizeF = new System.Drawing.SizeF(39.70499F, 40.00003F);
|
||||
this.xrPictureBox1.Sizing = DevExpress.XtraPrinting.ImageSizeMode.ZoomImage;
|
||||
//
|
||||
// xrLabel4
|
||||
//
|
||||
this.xrLabel4.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
|
||||
new DevExpress.XtraReports.UI.XRBinding("Text", null, "MonthInformation")});
|
||||
this.xrLabel4.Font = new DevExpress.Drawing.DXFont("Arial", 12F, DevExpress.Drawing.DXFontStyle.Bold);
|
||||
this.xrLabel4.LocationFloat = new DevExpress.Utils.PointFloat(411.4532F, 103.3333F);
|
||||
this.xrLabel4.Name = "xrLabel4";
|
||||
this.xrLabel4.Padding = new DevExpress.XtraPrinting.PaddingInfo(0, 0, 0, 0, 100F);
|
||||
this.xrLabel4.SizeF = new System.Drawing.SizeF(265.5418F, 25F);
|
||||
this.xrLabel4.StylePriority.UseFont = false;
|
||||
this.xrLabel4.StylePriority.UsePadding = false;
|
||||
this.xrLabel4.StylePriority.UseTextAlignment = false;
|
||||
this.xrLabel4.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
|
||||
this.xrLabel4.TextFormatString = "Abrechnungsjahr: {0:yyyy}";
|
||||
//
|
||||
// xrLabel5
|
||||
//
|
||||
this.xrLabel5.Borders = DevExpress.XtraPrinting.BorderSide.None;
|
||||
this.xrLabel5.Font = new DevExpress.Drawing.DXFont("Arial", 12F);
|
||||
this.xrLabel5.LocationFloat = new DevExpress.Utils.PointFloat(493.6751F, 45.00001F);
|
||||
this.xrLabel5.Multiline = true;
|
||||
this.xrLabel5.Name = "xrLabel5";
|
||||
this.xrLabel5.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
|
||||
this.xrLabel5.SizeF = new System.Drawing.SizeF(183.3251F, 45.00001F);
|
||||
this.xrLabel5.StylePriority.UseBorders = false;
|
||||
this.xrLabel5.StylePriority.UseFont = false;
|
||||
this.xrLabel5.StylePriority.UseTextAlignment = false;
|
||||
this.xrLabel5.Text = "Geltungsbereich:\r\nGesamtverband";
|
||||
this.xrLabel5.TextAlignment = DevExpress.XtraPrinting.TextAlignment.BottomLeft;
|
||||
//
|
||||
// xrLabel6
|
||||
//
|
||||
this.xrLabel6.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
|
||||
new DevExpress.XtraReports.UI.XRBinding("Text", null, "Employees2Entries.EmployeeName")});
|
||||
this.xrLabel6.Font = new DevExpress.Drawing.DXFont("Arial", 12F, DevExpress.Drawing.DXFontStyle.Bold);
|
||||
this.xrLabel6.LocationFloat = new DevExpress.Utils.PointFloat(0F, 128.3333F);
|
||||
this.xrLabel6.Name = "xrLabel6";
|
||||
this.xrLabel6.Padding = new DevExpress.XtraPrinting.PaddingInfo(0, 0, 0, 0, 100F);
|
||||
this.xrLabel6.SizeF = new System.Drawing.SizeF(677.0002F, 25F);
|
||||
this.xrLabel6.StylePriority.UseFont = false;
|
||||
this.xrLabel6.StylePriority.UsePadding = false;
|
||||
this.xrLabel6.StylePriority.UseTextAlignment = false;
|
||||
this.xrLabel6.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
|
||||
this.xrLabel6.TextFormatString = "Fahrer/in: {0}";
|
||||
//
|
||||
// xrLabel1
|
||||
//
|
||||
this.xrLabel1.Font = new DevExpress.Drawing.DXFont("Arial", 14F);
|
||||
this.xrLabel1.LocationFloat = new DevExpress.Utils.PointFloat(0F, 0F);
|
||||
this.xrLabel1.Multiline = true;
|
||||
this.xrLabel1.Font = new DevExpress.Drawing.DXFont("Arial", 12F, DevExpress.Drawing.DXFontStyle.Bold);
|
||||
this.xrLabel1.LocationFloat = new DevExpress.Utils.PointFloat(0F, 153.3333F);
|
||||
this.xrLabel1.Name = "xrLabel1";
|
||||
this.xrLabel1.SizeF = new System.Drawing.SizeF(600F, 25F);
|
||||
this.xrLabel1.StyleName = "Title";
|
||||
this.xrLabel1.Padding = new DevExpress.XtraPrinting.PaddingInfo(0, 0, 0, 0, 100F);
|
||||
this.xrLabel1.SizeF = new System.Drawing.SizeF(677.0002F, 25F);
|
||||
this.xrLabel1.StylePriority.UseFont = false;
|
||||
this.xrLabel1.Text = "Auswertung über gefahrene Kilometer";
|
||||
this.xrLabel1.StylePriority.UsePadding = false;
|
||||
this.xrLabel1.StylePriority.UseTextAlignment = false;
|
||||
this.xrLabel1.Text = "Einrichtung/Fachdienst: AJFH";
|
||||
this.xrLabel1.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
|
||||
//
|
||||
// xrLabel8
|
||||
//
|
||||
this.xrLabel8.Font = new DevExpress.Drawing.DXFont("Arial", 12F, DevExpress.Drawing.DXFontStyle.Bold);
|
||||
this.xrLabel8.LocationFloat = new DevExpress.Utils.PointFloat(0F, 178.3333F);
|
||||
this.xrLabel8.Name = "xrLabel8";
|
||||
this.xrLabel8.Padding = new DevExpress.XtraPrinting.PaddingInfo(0, 0, 0, 0, 100F);
|
||||
this.xrLabel8.SizeF = new System.Drawing.SizeF(265.5418F, 25F);
|
||||
this.xrLabel8.StylePriority.UseFont = false;
|
||||
this.xrLabel8.StylePriority.UsePadding = false;
|
||||
this.xrLabel8.StylePriority.UseTextAlignment = false;
|
||||
this.xrLabel8.Text = "Mitarbeiterstatus:";
|
||||
this.xrLabel8.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
|
||||
//
|
||||
// xrCheckBox1
|
||||
//
|
||||
this.xrCheckBox1.CheckBoxState = DevExpress.XtraPrinting.CheckBoxState.Checked;
|
||||
this.xrCheckBox1.Checked = true;
|
||||
this.xrCheckBox1.Font = new DevExpress.Drawing.DXFont("arial", 9.75F);
|
||||
this.xrCheckBox1.LocationFloat = new DevExpress.Utils.PointFloat(349.9949F, 178.3333F);
|
||||
this.xrCheckBox1.Name = "xrCheckBox1";
|
||||
this.xrCheckBox1.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
|
||||
this.xrCheckBox1.SizeF = new System.Drawing.SizeF(120.8333F, 25F);
|
||||
this.xrCheckBox1.StylePriority.UseFont = false;
|
||||
this.xrCheckBox1.StylePriority.UseTextAlignment = false;
|
||||
this.xrCheckBox1.Text = "Hauptamtlich";
|
||||
//
|
||||
// xrCheckBox2
|
||||
//
|
||||
this.xrCheckBox2.Font = new DevExpress.Drawing.DXFont("arial", 9.75F);
|
||||
this.xrCheckBox2.LocationFloat = new DevExpress.Utils.PointFloat(533.3701F, 178.3333F);
|
||||
this.xrCheckBox2.Name = "xrCheckBox2";
|
||||
this.xrCheckBox2.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
|
||||
this.xrCheckBox2.SizeF = new System.Drawing.SizeF(143.62F, 25F);
|
||||
this.xrCheckBox2.StylePriority.UseFont = false;
|
||||
this.xrCheckBox2.StylePriority.UseTextAlignment = false;
|
||||
this.xrCheckBox2.Text = "Ehrenamtlich";
|
||||
//
|
||||
// lblKennzeichen
|
||||
//
|
||||
this.lblKennzeichen.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
|
||||
new DevExpress.XtraReports.UI.XRBinding("Text", null, "Employees2Entries.Employee.PersonnelNumber")});
|
||||
this.lblKennzeichen.Font = new DevExpress.Drawing.DXFont("Arial", 12F, DevExpress.Drawing.DXFontStyle.Bold);
|
||||
this.lblKennzeichen.LocationFloat = new DevExpress.Utils.PointFloat(0F, 203.3333F);
|
||||
this.lblKennzeichen.Name = "lblKennzeichen";
|
||||
this.lblKennzeichen.Padding = new DevExpress.XtraPrinting.PaddingInfo(0, 0, 0, 0, 100F);
|
||||
this.lblKennzeichen.SizeF = new System.Drawing.SizeF(265.5418F, 25F);
|
||||
this.lblKennzeichen.StylePriority.UseFont = false;
|
||||
this.lblKennzeichen.StylePriority.UsePadding = false;
|
||||
this.lblKennzeichen.StylePriority.UseTextAlignment = false;
|
||||
this.lblKennzeichen.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
|
||||
this.lblKennzeichen.TextFormatString = "Kfz-Kennzeichen: {0}";
|
||||
//
|
||||
// lblDoppelkm
|
||||
//
|
||||
this.lblDoppelkm.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
|
||||
new DevExpress.XtraReports.UI.XRBinding("Text", null, "Employees2Entries.Employee.Details2")});
|
||||
this.lblDoppelkm.Font = new DevExpress.Drawing.DXFont("Arial", 12F, DevExpress.Drawing.DXFontStyle.Bold);
|
||||
this.lblDoppelkm.LocationFloat = new DevExpress.Utils.PointFloat(411.4483F, 203.3333F);
|
||||
this.lblDoppelkm.Name = "lblDoppelkm";
|
||||
this.lblDoppelkm.Padding = new DevExpress.XtraPrinting.PaddingInfo(0, 0, 0, 0, 100F);
|
||||
this.lblDoppelkm.SizeF = new System.Drawing.SizeF(265.5418F, 25F);
|
||||
this.lblDoppelkm.StylePriority.UseFont = false;
|
||||
this.lblDoppelkm.StylePriority.UsePadding = false;
|
||||
this.lblDoppelkm.StylePriority.UseTextAlignment = false;
|
||||
this.lblDoppelkm.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
|
||||
this.lblDoppelkm.TextFormatString = "Doppelkilometer: {0}";
|
||||
//
|
||||
// xrTable1
|
||||
//
|
||||
this.xrTable1.Borders = ((DevExpress.XtraPrinting.BorderSide)((((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top)
|
||||
| DevExpress.XtraPrinting.BorderSide.Right)
|
||||
| DevExpress.XtraPrinting.BorderSide.Bottom)));
|
||||
this.xrTable1.Font = new DevExpress.Drawing.DXFont("Arial", 10F, DevExpress.Drawing.DXFontStyle.Bold);
|
||||
this.xrTable1.LocationFloat = new DevExpress.Utils.PointFloat(0F, 239.0834F);
|
||||
this.xrTable1.Name = "xrTable1";
|
||||
this.xrTable1.Rows.AddRange(new DevExpress.XtraReports.UI.XRTableRow[] {
|
||||
this.xrTableRow1});
|
||||
this.xrTable1.SizeF = new System.Drawing.SizeF(677.0002F, 49.66666F);
|
||||
this.xrTable1.StylePriority.UseBorders = false;
|
||||
this.xrTable1.StylePriority.UseFont = false;
|
||||
this.xrTable1.StylePriority.UsePadding = false;
|
||||
//
|
||||
// xrTableRow1
|
||||
//
|
||||
this.xrTableRow1.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
|
||||
this.xrTableCell1,
|
||||
this.xrTableCell10,
|
||||
this.xrTableCell11,
|
||||
this.xrTableCell12});
|
||||
this.xrTableRow1.Name = "xrTableRow1";
|
||||
this.xrTableRow1.Weight = 1D;
|
||||
//
|
||||
// xrTableCell1
|
||||
//
|
||||
this.xrTableCell1.CanGrow = false;
|
||||
this.xrTableCell1.Name = "xrTableCell1";
|
||||
this.xrTableCell1.StylePriority.UseTextAlignment = false;
|
||||
this.xrTableCell1.Text = "Datum";
|
||||
this.xrTableCell1.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
|
||||
this.xrTableCell1.Weight = 0.55121411577217783D;
|
||||
//
|
||||
// xrTableCell10
|
||||
//
|
||||
this.xrTableCell10.Multiline = true;
|
||||
this.xrTableCell10.Name = "xrTableCell10";
|
||||
this.xrTableCell10.StylePriority.UseTextAlignment = false;
|
||||
this.xrTableCell10.Text = "Route";
|
||||
this.xrTableCell10.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
|
||||
this.xrTableCell10.Weight = 3.1438578698415873D;
|
||||
//
|
||||
// xrTableCell11
|
||||
//
|
||||
this.xrTableCell11.CanGrow = false;
|
||||
this.xrTableCell11.Multiline = true;
|
||||
this.xrTableCell11.Name = "xrTableCell11";
|
||||
this.xrTableCell11.StylePriority.UseTextAlignment = false;
|
||||
this.xrTableCell11.Text = "Kilometer\r\ngefahren";
|
||||
this.xrTableCell11.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
|
||||
this.xrTableCell11.Weight = 0.48293968769118206D;
|
||||
//
|
||||
// xrTableCell12
|
||||
//
|
||||
this.xrTableCell12.Multiline = true;
|
||||
this.xrTableCell12.Name = "xrTableCell12";
|
||||
this.xrTableCell12.StylePriority.UseTextAlignment = false;
|
||||
this.xrTableCell12.Text = "Kilometer\r\ndienstlich";
|
||||
this.xrTableCell12.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
|
||||
this.xrTableCell12.Weight = 0.48185133670195773D;
|
||||
//
|
||||
// GroupFooter1
|
||||
//
|
||||
this.GroupFooter1.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
|
||||
this.xrLabel15,
|
||||
this.xrLabel14,
|
||||
this.xrLabel12,
|
||||
this.lblUnterschriftMitarbeiter,
|
||||
this.xrLabel11,
|
||||
this.xrLabel10,
|
||||
this.xrLabel7,
|
||||
this.xrLabel13});
|
||||
this.GroupFooter1.HeightF = 156.5001F;
|
||||
this.GroupFooter1.Name = "GroupFooter1";
|
||||
this.GroupFooter1.PageBreak = DevExpress.XtraReports.UI.PageBreak.AfterBand;
|
||||
this.GroupFooter1.RepeatEveryPage = true;
|
||||
//
|
||||
// xrLabel15
|
||||
//
|
||||
this.xrLabel15.Borders = DevExpress.XtraPrinting.BorderSide.Bottom;
|
||||
this.xrLabel15.Font = new DevExpress.Drawing.DXFont("Arial", 10F);
|
||||
this.xrLabel15.LocationFloat = new DevExpress.Utils.PointFloat(249.1944F, 82.75007F);
|
||||
this.xrLabel15.Name = "xrLabel15";
|
||||
this.xrLabel15.Padding = new DevExpress.XtraPrinting.PaddingInfo(3, 2, 0, 0, 100F);
|
||||
this.xrLabel15.SizeF = new System.Drawing.SizeF(249.1944F, 19.99998F);
|
||||
this.xrLabel15.StylePriority.UseBackColor = false;
|
||||
this.xrLabel15.StylePriority.UseBorders = false;
|
||||
this.xrLabel15.StylePriority.UseFont = false;
|
||||
this.xrLabel15.StylePriority.UsePadding = false;
|
||||
this.xrLabel15.StylePriority.UseTextAlignment = false;
|
||||
this.xrLabel15.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
|
||||
//
|
||||
// xrLabel14
|
||||
//
|
||||
this.xrLabel14.Borders = DevExpress.XtraPrinting.BorderSide.Bottom;
|
||||
this.xrLabel14.Font = new DevExpress.Drawing.DXFont("Arial", 10F);
|
||||
this.xrLabel14.LocationFloat = new DevExpress.Utils.PointFloat(249.1944F, 136.5001F);
|
||||
this.xrLabel14.Name = "xrLabel14";
|
||||
this.xrLabel14.Padding = new DevExpress.XtraPrinting.PaddingInfo(3, 2, 0, 0, 100F);
|
||||
this.xrLabel14.SizeF = new System.Drawing.SizeF(249.1944F, 19.99998F);
|
||||
this.xrLabel14.StylePriority.UseBackColor = false;
|
||||
this.xrLabel14.StylePriority.UseBorders = false;
|
||||
this.xrLabel14.StylePriority.UseFont = false;
|
||||
this.xrLabel14.StylePriority.UsePadding = false;
|
||||
this.xrLabel14.StylePriority.UseTextAlignment = false;
|
||||
this.xrLabel14.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
|
||||
//
|
||||
// xrLabel12
|
||||
//
|
||||
this.xrLabel12.Borders = DevExpress.XtraPrinting.BorderSide.None;
|
||||
this.xrLabel12.Font = new DevExpress.Drawing.DXFont("Arial", 10F);
|
||||
this.xrLabel12.LocationFloat = new DevExpress.Utils.PointFloat(0F, 136.5001F);
|
||||
this.xrLabel12.Name = "xrLabel12";
|
||||
this.xrLabel12.Padding = new DevExpress.XtraPrinting.PaddingInfo(3, 2, 0, 0, 100F);
|
||||
this.xrLabel12.SizeF = new System.Drawing.SizeF(249.1944F, 19.99998F);
|
||||
this.xrLabel12.StylePriority.UseBackColor = false;
|
||||
this.xrLabel12.StylePriority.UseBorders = false;
|
||||
this.xrLabel12.StylePriority.UseFont = false;
|
||||
this.xrLabel12.StylePriority.UsePadding = false;
|
||||
this.xrLabel12.StylePriority.UseTextAlignment = false;
|
||||
this.xrLabel12.Text = "Datum, Unterschrift Vorgesetzter/e:";
|
||||
this.xrLabel12.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
|
||||
//
|
||||
// lblUnterschriftMitarbeiter
|
||||
//
|
||||
this.lblUnterschriftMitarbeiter.Borders = DevExpress.XtraPrinting.BorderSide.None;
|
||||
this.lblUnterschriftMitarbeiter.Font = new DevExpress.Drawing.DXFont("Arial", 10F);
|
||||
this.lblUnterschriftMitarbeiter.LocationFloat = new DevExpress.Utils.PointFloat(0F, 82.75007F);
|
||||
this.lblUnterschriftMitarbeiter.Name = "lblUnterschriftMitarbeiter";
|
||||
this.lblUnterschriftMitarbeiter.Padding = new DevExpress.XtraPrinting.PaddingInfo(3, 2, 0, 0, 100F);
|
||||
this.lblUnterschriftMitarbeiter.SizeF = new System.Drawing.SizeF(249.1944F, 19.99998F);
|
||||
this.lblUnterschriftMitarbeiter.StylePriority.UseBackColor = false;
|
||||
this.lblUnterschriftMitarbeiter.StylePriority.UseBorders = false;
|
||||
this.lblUnterschriftMitarbeiter.StylePriority.UseFont = false;
|
||||
this.lblUnterschriftMitarbeiter.StylePriority.UsePadding = false;
|
||||
this.lblUnterschriftMitarbeiter.StylePriority.UseTextAlignment = false;
|
||||
this.lblUnterschriftMitarbeiter.Text = "Datum, Unterschrift Mitarbeiter/in:";
|
||||
this.lblUnterschriftMitarbeiter.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
|
||||
//
|
||||
// xrLabel11
|
||||
//
|
||||
this.xrLabel11.BackColor = System.Drawing.Color.Gainsboro;
|
||||
this.xrLabel11.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
|
||||
new DevExpress.XtraReports.UI.XRBinding("Text", null, "Employees2Entries.TotalKilometerPauschale")});
|
||||
this.xrLabel11.Font = new DevExpress.Drawing.DXFont("Arial", 10F, DevExpress.Drawing.DXFontStyle.Bold);
|
||||
this.xrLabel11.LocationFloat = new DevExpress.Utils.PointFloat(606.9951F, 25F);
|
||||
this.xrLabel11.Name = "xrLabel11";
|
||||
this.xrLabel11.SizeF = new System.Drawing.SizeF(70.00507F, 25F);
|
||||
this.xrLabel11.StylePriority.UseBackColor = false;
|
||||
this.xrLabel11.StylePriority.UseFont = false;
|
||||
this.xrLabel11.StylePriority.UsePadding = false;
|
||||
this.xrLabel11.StylePriority.UseTextAlignment = false;
|
||||
this.xrLabel11.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopCenter;
|
||||
this.xrLabel11.TextFormatString = "{0:0.00} €";
|
||||
//
|
||||
// xrLabel10
|
||||
//
|
||||
this.xrLabel10.BackColor = System.Drawing.Color.Gainsboro;
|
||||
this.xrLabel10.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
|
||||
new DevExpress.XtraReports.UI.XRBinding("Text", null, "Employees2Entries.TotalDistanceInMeters")});
|
||||
this.xrLabel10.Font = new DevExpress.Drawing.DXFont("Arial", 10F, DevExpress.Drawing.DXFontStyle.Bold);
|
||||
this.xrLabel10.LocationFloat = new DevExpress.Utils.PointFloat(606.9952F, 0F);
|
||||
this.xrLabel10.Name = "xrLabel10";
|
||||
this.xrLabel10.SizeF = new System.Drawing.SizeF(69.99988F, 25F);
|
||||
this.xrLabel10.StylePriority.UseBackColor = false;
|
||||
this.xrLabel10.StylePriority.UseFont = false;
|
||||
this.xrLabel10.StylePriority.UsePadding = false;
|
||||
this.xrLabel10.StylePriority.UseTextAlignment = false;
|
||||
this.xrLabel10.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopCenter;
|
||||
this.xrLabel10.TextFormatString = "{0:0.00}";
|
||||
//
|
||||
// xrLabel7
|
||||
//
|
||||
this.xrLabel7.BackColor = System.Drawing.Color.Gainsboro;
|
||||
this.xrLabel7.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
|
||||
new DevExpress.XtraReports.UI.XRBinding("Text", null, "Employees2Entries.TotalKmPauschalePreis")});
|
||||
this.xrLabel7.Font = new DevExpress.Drawing.DXFont("Arial", 10F, DevExpress.Drawing.DXFontStyle.Bold);
|
||||
this.xrLabel7.LocationFloat = new DevExpress.Utils.PointFloat(0F, 25F);
|
||||
this.xrLabel7.Name = "xrLabel7";
|
||||
this.xrLabel7.SizeF = new System.Drawing.SizeF(606.9951F, 25F);
|
||||
this.xrLabel7.StylePriority.UseBackColor = false;
|
||||
this.xrLabel7.StylePriority.UseFont = false;
|
||||
this.xrLabel7.StylePriority.UsePadding = false;
|
||||
this.xrLabel7.StylePriority.UseTextAlignment = false;
|
||||
this.xrLabel7.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft;
|
||||
this.xrLabel7.TextFormatString = "Summe des Erstattungsbetrags ({0} € pro Kilometer)";
|
||||
//
|
||||
// xrLabel13
|
||||
//
|
||||
this.xrLabel13.BackColor = System.Drawing.Color.Gainsboro;
|
||||
this.xrLabel13.Font = new DevExpress.Drawing.DXFont("Arial", 10F, DevExpress.Drawing.DXFontStyle.Bold);
|
||||
this.xrLabel13.LocationFloat = new DevExpress.Utils.PointFloat(0F, 0F);
|
||||
this.xrLabel13.Name = "xrLabel13";
|
||||
this.xrLabel13.SizeF = new System.Drawing.SizeF(606.9952F, 25F);
|
||||
this.xrLabel13.StylePriority.UseBackColor = false;
|
||||
this.xrLabel13.StylePriority.UseFont = false;
|
||||
this.xrLabel13.StylePriority.UsePadding = false;
|
||||
this.xrLabel13.StylePriority.UseTextAlignment = false;
|
||||
this.xrLabel13.Text = "Summe der gefahrenen Kilometer:";
|
||||
this.xrLabel13.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft;
|
||||
//
|
||||
// pageFooterBand1
|
||||
//
|
||||
this.pageFooterBand1.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
|
||||
this.xrPageInfo2,
|
||||
this.xrPageInfo1});
|
||||
this.pageFooterBand1.HeightF = 48F;
|
||||
this.pageFooterBand1.HeightF = 22.54156F;
|
||||
this.pageFooterBand1.Name = "pageFooterBand1";
|
||||
//
|
||||
// xrPageInfo2
|
||||
//
|
||||
this.xrPageInfo2.Font = new DevExpress.Drawing.DXFont("Arial", 8F);
|
||||
this.xrPageInfo2.LocationFloat = new DevExpress.Utils.PointFloat(382.5002F, 25F);
|
||||
this.xrPageInfo2.Name = "xrPageInfo2";
|
||||
this.xrPageInfo2.SizeF = new System.Drawing.SizeF(243.3297F, 23F);
|
||||
this.xrPageInfo2.StyleName = "PageInfo";
|
||||
this.xrPageInfo2.StylePriority.UseFont = false;
|
||||
this.xrPageInfo2.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopRight;
|
||||
this.xrPageInfo2.TextFormatString = "Seite {0} von {1}";
|
||||
//
|
||||
// xrPageInfo1
|
||||
//
|
||||
this.xrPageInfo1.Font = new DevExpress.Drawing.DXFont("Arial", 8F);
|
||||
this.xrPageInfo1.LocationFloat = new DevExpress.Utils.PointFloat(0F, 25F);
|
||||
this.xrPageInfo1.Name = "xrPageInfo1";
|
||||
this.xrPageInfo1.PageInfo = DevExpress.XtraPrinting.PageInfo.DateTime;
|
||||
this.xrPageInfo1.SizeF = new System.Drawing.SizeF(231.2501F, 23F);
|
||||
this.xrPageInfo1.StyleName = "PageInfo";
|
||||
this.xrPageInfo1.StylePriority.UseFont = false;
|
||||
//
|
||||
// Title
|
||||
//
|
||||
this.Title.BackColor = System.Drawing.Color.White;
|
||||
@@ -422,15 +677,19 @@ namespace CaritasverbandDuerenJuelichEV
|
||||
//
|
||||
// bottomMarginBand1
|
||||
//
|
||||
this.bottomMarginBand1.HeightF = 50F;
|
||||
this.bottomMarginBand1.HeightF = 0F;
|
||||
this.bottomMarginBand1.Name = "bottomMarginBand1";
|
||||
//
|
||||
// objectDataSource1
|
||||
//
|
||||
this.objectDataSource1.DataSource = typeof(BeWo.Report.ReportObjects.EmployeeKilometerauswertungsListRO);
|
||||
this.objectDataSource1.Name = "objectDataSource1";
|
||||
//
|
||||
// EmployeeKilometerauswertungsListReport
|
||||
//
|
||||
this.Bands.AddRange(new DevExpress.XtraReports.UI.Band[] {
|
||||
this.Detail,
|
||||
this.DetailReport,
|
||||
this.ReportHeader,
|
||||
this.pageFooterBand1,
|
||||
this.topMarginBand1,
|
||||
this.bottomMarginBand1});
|
||||
@@ -439,7 +698,7 @@ namespace CaritasverbandDuerenJuelichEV
|
||||
this.ComponentStorage.AddRange(new System.ComponentModel.IComponent[] {
|
||||
this.objectDataSource1});
|
||||
this.DataSource = this.objectDataSource1;
|
||||
this.Margins = new DevExpress.Drawing.DXMargins(75F, 75F, 50F, 50F);
|
||||
this.Margins = new DevExpress.Drawing.DXMargins(75F, 75F, 50F, 0F);
|
||||
this.PageHeight = 1169;
|
||||
this.PageWidth = 827;
|
||||
this.PaperKind = DevExpress.Drawing.Printing.DXPaperKind.A4;
|
||||
@@ -449,9 +708,10 @@ namespace CaritasverbandDuerenJuelichEV
|
||||
this.PageInfo,
|
||||
this.DataField});
|
||||
this.Version = "23.2";
|
||||
((System.ComponentModel.ISupportInitialize)(this.xrTable1)).EndInit();
|
||||
xrWatermark1.Id = "Watermark1";
|
||||
this.Watermarks.Add(xrWatermark1);
|
||||
((System.ComponentModel.ISupportInitialize)(this.xrTable4)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.xrTable2)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.xrTable1)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.objectDataSource1)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this)).EndInit();
|
||||
|
||||
@@ -460,41 +720,54 @@ namespace CaritasverbandDuerenJuelichEV
|
||||
#endregion
|
||||
|
||||
private DevExpress.XtraReports.UI.DetailBand Detail;
|
||||
private DevExpress.XtraReports.UI.XRTableCell xrTableCell1;
|
||||
private DevExpress.XtraReports.UI.XRTableRow xrTableRow1;
|
||||
private DevExpress.XtraReports.UI.XRTable xrTable1;
|
||||
private DevExpress.XtraReports.UI.DetailBand Detail1;
|
||||
private DevExpress.XtraReports.UI.DetailReportBand DetailReport;
|
||||
private DevExpress.XtraReports.UI.ReportHeaderBand ReportHeader;
|
||||
private DevExpress.XtraReports.UI.XRLabel xrLabel1;
|
||||
private DevExpress.XtraReports.UI.PageFooterBand pageFooterBand1;
|
||||
private DevExpress.XtraReports.UI.XRPageInfo xrPageInfo2;
|
||||
private DevExpress.XtraReports.UI.XRPageInfo xrPageInfo1;
|
||||
private DevExpress.XtraReports.UI.XRControlStyle Title;
|
||||
private DevExpress.XtraReports.UI.XRControlStyle FieldCaption;
|
||||
private DevExpress.XtraReports.UI.XRControlStyle PageInfo;
|
||||
private DevExpress.XtraReports.UI.XRControlStyle DataField;
|
||||
private DevExpress.XtraReports.UI.XRTable xrTable2;
|
||||
private DevExpress.XtraReports.UI.XRTableRow xrTableRow2;
|
||||
private DevExpress.XtraReports.UI.XRTableCell xrTableCell5;
|
||||
private DevExpress.XtraReports.UI.XRTableCell xrTableCell6;
|
||||
private DevExpress.XtraReports.UI.XRTableCell xrTableCell7;
|
||||
private DevExpress.XtraReports.UI.DetailReportBand DetailReport1;
|
||||
private DevExpress.XtraReports.UI.DetailBand Detail2;
|
||||
private DevExpress.XtraReports.UI.XRTable xrTable4;
|
||||
private DevExpress.XtraReports.UI.XRTableRow xrTableRow4;
|
||||
private DevExpress.XtraReports.UI.XRTableCell xrTableCell3;
|
||||
private DevExpress.XtraReports.UI.XRTableCell xrTableCell4;
|
||||
private DevExpress.XtraReports.UI.XRTableCell xrTableCell9;
|
||||
private DevExpress.XtraReports.UI.XRLabel xrLabel2;
|
||||
private DevExpress.XtraReports.UI.GroupHeaderBand GroupHeader2;
|
||||
private DevExpress.XtraReports.UI.XRLabel xrLabel7;
|
||||
private DevExpress.XtraReports.UI.CalculatedField fieldFLS;
|
||||
private DevExpress.XtraReports.UI.GroupFooterBand GroupFooter1;
|
||||
private DevExpress.XtraReports.UI.TopMarginBand topMarginBand1;
|
||||
private DevExpress.XtraReports.UI.BottomMarginBand bottomMarginBand1;
|
||||
private DevExpress.DataAccess.ObjectBinding.ObjectDataSource objectDataSource1;
|
||||
private DevExpress.XtraReports.UI.XRLabel xrLabel9;
|
||||
private DevExpress.XtraReports.UI.XRLabel xrLabel2;
|
||||
private DevExpress.XtraReports.UI.XRLabel xrLabel3;
|
||||
private DevExpress.XtraReports.UI.XRLabel xrLabel16;
|
||||
private DevExpress.XtraReports.UI.XRPictureBox xrPictureBox1;
|
||||
private DevExpress.XtraReports.UI.XRLabel xrLabel4;
|
||||
private DevExpress.XtraReports.UI.XRLabel xrLabel5;
|
||||
private DevExpress.XtraReports.UI.XRLabel xrLabel6;
|
||||
private DevExpress.XtraReports.UI.XRLabel xrLabel1;
|
||||
private DevExpress.XtraReports.UI.XRLabel xrLabel8;
|
||||
private DevExpress.XtraReports.UI.XRCheckBox xrCheckBox1;
|
||||
private DevExpress.XtraReports.UI.XRCheckBox xrCheckBox2;
|
||||
private DevExpress.XtraReports.UI.XRLabel lblKennzeichen;
|
||||
private DevExpress.XtraReports.UI.XRLabel lblDoppelkm;
|
||||
private DevExpress.XtraReports.UI.XRTable xrTable1;
|
||||
private DevExpress.XtraReports.UI.XRTableRow xrTableRow1;
|
||||
private DevExpress.XtraReports.UI.XRTableCell xrTableCell1;
|
||||
private DevExpress.XtraReports.UI.XRTableCell xrTableCell10;
|
||||
private DevExpress.XtraReports.UI.XRTableCell xrTableCell11;
|
||||
private DevExpress.XtraReports.UI.XRTableCell xrTableCell12;
|
||||
private DevExpress.XtraReports.UI.XRTable xrTable4;
|
||||
private DevExpress.XtraReports.UI.XRTableRow xrTableRow4;
|
||||
private DevExpress.XtraReports.UI.XRTableCell xrTableCell3;
|
||||
private DevExpress.XtraReports.UI.XRTableCell xrTableCell8;
|
||||
private DevExpress.XtraReports.UI.XRTableCell xrTableCell4;
|
||||
private DevExpress.XtraReports.UI.XRTableCell xrTableCell2;
|
||||
private DevExpress.XtraReports.UI.XRLabel xrLabel15;
|
||||
private DevExpress.XtraReports.UI.XRLabel xrLabel14;
|
||||
private DevExpress.XtraReports.UI.XRLabel xrLabel12;
|
||||
private DevExpress.XtraReports.UI.XRLabel lblUnterschriftMitarbeiter;
|
||||
private DevExpress.XtraReports.UI.XRLabel xrLabel11;
|
||||
private DevExpress.XtraReports.UI.XRLabel xrLabel10;
|
||||
private DevExpress.XtraReports.UI.XRLabel xrLabel7;
|
||||
private DevExpress.XtraReports.UI.XRLabel xrLabel13;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,5 +1,11 @@
|
||||
using BeWo.Data.Access;
|
||||
using BeWo.Data.Entities;
|
||||
using BeWo.Report;
|
||||
using BeWo.Report.ReportObjects;
|
||||
using BeWo.Service.DCEntityMapper;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
|
||||
namespace CaritasverbandDuerenJuelichEV
|
||||
{
|
||||
@@ -12,7 +18,68 @@ namespace CaritasverbandDuerenJuelichEV
|
||||
|
||||
public void SetReportDataSource(EmployeeKilometerauswertungsListRO pRO)
|
||||
{
|
||||
objectDataSource1.DataSource = pRO;
|
||||
foreach (var e2e in pRO.Employees2Entries)
|
||||
{
|
||||
var emp = DAOFactory.GenericDAO.LoadByID<Employee>(e2e.Employee.EmployeeOid);
|
||||
var empDc = MapperFactory.EmployeeDC_Employee.MapToNewDC(emp);
|
||||
|
||||
// Die Fahrten zwischen Whg und Arbeit werden von den gefahrenen Kilometern abgezogen
|
||||
// Angabe erfolgt wie das Kfz-Kennzeichen in Varfields
|
||||
decimal doppelkm = 0;
|
||||
double totalkm = 0;
|
||||
e2e.Employee.PersonnelNumber = "";
|
||||
e2e.Employee.Details2 = "";
|
||||
if (empDc.EmployeeVarFields != null && empDc.EmployeeVarFields.Count > 0)
|
||||
{
|
||||
foreach (var vv in empDc.EmployeeVarFields)
|
||||
{
|
||||
if (vv.VarFieldDefOid == 1 && vv.VarFieldValue != null)
|
||||
{
|
||||
e2e.Employee.PersonnelNumber = vv.VarFieldValue.ToString();
|
||||
}
|
||||
if (vv.VarFieldDefOid == 2 && vv.VarFieldValue != null)
|
||||
{
|
||||
var kilometer = vv.VarFieldValue.ToString();
|
||||
var convert = decimal.TryParse(kilometer, out var km);
|
||||
if (convert)
|
||||
{
|
||||
doppelkm = km;
|
||||
e2e.Employee.Details2 = kilometer;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Jetzt werden die Tage aggregiert und die Doppelkilometer abgezogen
|
||||
//List<EmployeeKilometerauswertungsEntry> dayEntries = new List<EmployeeKilometerauswertungsEntry>();
|
||||
Dictionary<int, EmployeeKilometerauswertungsEntry> day2Detail = new Dictionary<int, EmployeeKilometerauswertungsEntry>();
|
||||
|
||||
foreach (var e in e2e.Entries)
|
||||
{
|
||||
if (!day2Detail.ContainsKey(e.Datum.Value.Day))
|
||||
{
|
||||
e.Custom1 = String.Format("{0:dd.}", e.Datum.Value);
|
||||
day2Detail.Add(e.Datum.Value.Day, e);
|
||||
}
|
||||
else
|
||||
{
|
||||
var day = day2Detail[e.Datum.Value.Day];
|
||||
var km = e.DistanceInMeters;
|
||||
day.DistanceInMeters += km;
|
||||
day.Notice += e.Notice;
|
||||
}
|
||||
}
|
||||
var dayEntries = day2Detail.Values.ToList();
|
||||
foreach (var de in dayEntries)
|
||||
{
|
||||
de.KilometerPauschale = de.DistanceInMeters - (double)doppelkm;
|
||||
totalkm += de.KilometerPauschale;
|
||||
}
|
||||
e2e.Entries = dayEntries;
|
||||
e2e.TotalDistanceInMeters = totalkm;
|
||||
e2e.TotalKilometerPauschale = Math.Round(totalkm * e2e.TotalKmPauschalePreis, 2, MidpointRounding.AwayFromZero);
|
||||
}
|
||||
objectDataSource1.DataSource = pRO;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -117,4 +117,7 @@
|
||||
<resheader name="writer">
|
||||
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<data name="xrPictureBox1.ImageSource" xml:space="preserve">
|
||||
<value>iVBORw0KGgoAAAANSUhEUgAAADcAAABICAYAAABSr21SAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAOwwAADsMBx2+oZAAADedJREFUaEPtWwl0VcUZfpBAJIQAIXtEBBFxq7tV2YqoVTYFKYII4ga4Lz097mu1VVurqF3cwFZsRbQoVNGqFaPZHmTfV0gIISELJGR9Wf6e73vvXt6de9+SBOjJqd85/4HM3Fm+mX9m/vnnfzYRkeasTMmePlV2xETJjrFxsvOE4weejI2THbHRkvnTC6QxPh60xNaSlyff22xiH8jENCHBKPnBZpPG+O/EljdnttijIswfHgFJCj5OkoYFeZWjMaCcwQvPF1vqpImy4/hY0wf9FRBryc6myjdnZJglM0Pay3dL8ojhR56gS0VtaaecfFTIJQYOot77QlLQEI/kPKX7JWPjxJY2eVKvyeH75NAQrlM1T5P+krNHR0rScUMlOSRYdsTFmPL9kV6Ts0eMYaMN/9oqGWedKSmjR5q+gfSHHFQ14+yzmN/wxTb+nTJmtKkNX9IrcinhYZIzc4ahc9kzZ0jSceYO9pVc0rChUnzTjepnUrxyBQdWbceb+EUOFUI97JHhaptE1dq1kuA6TrQyfSGXHDpcSlbfpn5C7PnNc2yDG5CP/mrikxwaThhkk4bPPuM6y5tzldou4airk53jx0nyyBEs11tyWGNpp01Ws6WruVmSR4Xy7GrJyZaWrCyS9NZnv8iRmM0mB7d/y4ba9+yR7TablNx6i9oHHUU3LOOa7BW542PZTldjoyGv69AhksKG4o6W3Fy24UtFvZKDCtRv+dRQceN32+Vbm00KFi8ypLuj7L57aPX4A5DDmVj5wm/VLP0MtALUVNMST+KRHKyWxKGBsvvhh9R6pfGH7yXeZpOd48ZKR1WVmk1gAPwBVD79jNPUZMmbN4ezZoW8eXPZfvqZp0tK2ChT372SAzGYL50HDsh/bDZpzc9X65fu9nbJOPdskii9fY2a7Te57yy+a9i2jeqPda4ChECs7uOP+HfOrJmSEhFmImZJTttAutvaWLj0zjtYWWd9vdKME/v//r7T8I6OlJ7ubj3dX3Ig4Q6sM9SXN9u8cRUsXMC+qION40OdIEtyKaNCpWrtK4bC2dOmcIQPfvO1Id0dqAdq5Kit5d99JYfjwGozwkyhzgNf/VvNkpq/vssd1Te50SOl8ncvquVl98MPUkXzF1ytZunAMYGRBazUzQoaOSwBbCCYNVzDVCC99M7b1WSWw7qzMtFM5LTtv62kRK2Hm0fqySex4/vf36BmE9k/m84BShjsHzl0uikxgW1i5g/tsKufSO7ll9H8UtHV1MRNDzcAlZglORKMi5Gk4cOkx+FQ6yPqNn1IgrlXXqFmETtPPIGd9Qc4CkDKHhWuq7Q76rdupTp2VO5Rszhj9phIEymv5CAwpaAmHXv3qnXqgK2XetJ4NVmkp8e0ljwBxMruvVtNJjoqKlhP5QvPq1lSdONy7g9qv/0iB8EMYucsf+JxtW4dUAurc6qvG4qG1qIiaoeVsXDgyy+o9v2yUEgQRvPIEbQi6rdsUduh3mPdFCxaaEjvD7m6zf/kxoSbgApHTY0kBAzy2mcTOXi+cKXxKGGjSKJo+Q1S8+56qX7zDQrWX85llzKv7O67pGb9Oqn9cKNlp63Azem9v7Eu1Fu07HrWhY2r4fPPpPqtN11tvSk169dL4pAAblim/rnE/WZCcjiAsy65SEpvXy3Ft9zsVQqXLpGCaxcYpGjFDc68JYv1tPyFC1QelihYdK0UXLtQL4f62dbKGw3plEULpfimlaY+aVKyZhXvmxpBksPCrHj6KbXdAYnqN/6iG9Q6uXILA3kgouqVl38kNyDxI7mBiv8/chVPPqF+NyCx789/MpKDPzJ//lypfudtqXr9NWt5dS2dOKrsfen3zN/7ysvGvOfNDh8rwCh2Cso9L1WvvUpR26l88QVznxSBNVN4/RLyMZhf8JuAsaWEBEti4GB6tUpW3abLrgful8Lrl9Jcgg1ads9denpvzC+YbSWrV0nZfffylgDzqvzRRw63tWaVFN+8kvYmnr1M/XMTjZiBnJagCi+vg23iqK5W+yWO+nreGmB2qeir4Vz7wT9IuCkhwZAOdDY00OaEEe/rRuAXORiqmqfJHYfsdhIof/wxNYvoKzmgaPkyEmzOSFezCCwB3AxgE6v99ZscLqO5V1ym1i2txUXsfMWT1ve8imee8tspC1VrTt2pJkvu5bNIfP+G99QsoqezU1JPmuD19ccjOaRB5ayAdVGw+BdqMgGrHMQSA8weLCtAM3DhtQLcihhEOGg9gY7ZcD/9liQ2No4EDnz5pVqXZE+fJvYI69cerAe69+rq/PZ+YRDSTj2F3msrNCUnczODT6Zx+3Y1m4B6WjmJTORADCNZ/8lmtQ6p+2gTR7KtpFjN4gsNynV3dPBvf9ecNggYlPSzzlSzdRQtW8o6cd9TgTatggdM5HCgV7/9llqeFWB9lN5h9h3iZQed64/HGd4tqDOewdzrcQecwuhD2qSTDemN38fTW+d75vDePWK4oTDA52EL1cGWDWdtW2mpIb235AD4RaGmGCi4FawAdzs80uk/OUNP44trnB9qydkbM1ryr57Pgu0VFTwc8TRsBWw6ux96UE3uEzkNeGCBuuJfK+AdAzMI7wHatnKleyQHwezhvKHFEDZKerq61DYke8Y0PgKqKH/sUb+PAk8bDxxPiUMGO19U83LVbL4ZYGAxEepa80kOgvWXY3HOASVrVnPU1c0Fr6/Y2fw9CtD5wqXXqck6cmZdynYQPeGO7tZWn5aKV3JIx8ioz1fYVKB2aoMAy8VEWb7UWIEvq8OCpPjWm9UsHWX33M32MJtAt8PhV3yKV3LsaGw0t3jNra6NpNVzFkgjKADlekOOjt/QEB4nsB+tgPANPjp+tInvCt4CfPwmR4JxMc5FO36cswPKwzxQ9/HHBhd3b8mhDA5jqDTWrBUyzzuHW76vGdPEL3IQza2+57ln1Tbl4DffOMMn3PS/L+T0dkKCJXXiBMN3uB+ifW9rTBW/yWlCtZtwon6u7Xn21yZikL6S0wRnFwMK9u1jGFbScO+bh5X0mhyEG8bQQD4Vewop7C85thMbLUnBQT6vNp6kT+Qg6JCVsarJkSDXX+kzOV/i6RqjwsrgPVJy1MhBQBDXFW9ytIhBjiq5/7UcW3KIzkMU/DFq79iRcxHLvPACbvFoE4fx0Wz7mJJLGBLATSR39lXOSIhJE3Wipu+PgBxTcjDC9/7hJUk/43Q6hoCSO9Y4D2z1+yMgHsnhDIM1gvua5uVVbTp6qUOCjd9odbnMNfyN+yDyoZbYIVEO972OmhopWLLYGQUENcUAhIfRfmSdwUGSEjbSsKOibFKIK39YED0EnnZcS3K8tsdG00nUefAgI3sQcYCR16xxkELYUlNKCq/+CKFAJEPyyBDd0K7btIl3rvLHH2U4L27WNevekbRTJ9OzjAgl/Cyl/tNPWAbES9eslpb8PH4PL0DFM09Louugx/0ye9pUOZSaKl0tLbw7wtbl4FgQNJGDqaMFzYBQ9ozpkjf7SmnJyWEaCGK00Alg1/33scHcq37OTnW3tVLlElwWCh7gATxmYCaBzAvOY9RQV0szwzPwLoBZqN34AfOLViyXrKmXMNIBQPwLCOC6Bex+8FeSNeVi5sNx1ZScxJn0Sg7stYA0jAj+DzXA4wLUyLF/P0dZi8zLnzeXM2OPjuBsa66FjPPO0aNccQ9EOmZSc/Jmnnu2Xl/hsqU0wTTnEwYAg4dB5jXrxBOYjjYbE37gSw7qQT4GGrMNpJ1+qskcNJBDAcwCgAoMuh4TJVkXXchbMdYiomOxliBQRZDU/CE5l8/SyRUuuU73CGsdwb0MbghHfR1fb9BJ3BPxYsQfSKDO0BDOFogCqK9+6xZpLy93DlZIsDOoJjKcnjDEoKnLy0AOlZY/8rB07KuinqvTDILaDxdwzUFZXCyxfprT0tgJAD+k0MhBxbV16omctsZRBh5tBGfXb94srQWHI2I1A1sD9oOS227l7DJS3WJTNJHDAm4rK2VorfoxOkBVGBooDds+ZyO1GzfSxYYIHqwbwH3mUieO19XFEznUCXWEGx7AIygGDU9j2DmBZKh/ZLgkBNgk/5qrpWbdOunYW8m8/Rs2WP4qxaiWEWMY6gegc+4fo4N4dMDiL7zO+R4H1aV6IO4xYoxOCLFgh8lN8EkOg4XNCxdTqhzWHVQ+HKRDWQadR1+xdNAWvmEcmCvIFMsF3xvJuf3EDP9imtnBWTP1az0EHUMHmtPTOFOH0tL0Gzi36TDnD5YARMv6Ra6hXopWruDG1ZyZyfBjrF2tL9AEuOoBbRPDsUI/iqtdPpDEx3PXdXfOIs+Wqvx+DgsZ788k6Fo7qKDsrjv1zmZdfJGLhCt/sDH2Gb9/1XZOvPyYyJ1/Lv/vqKvliGMjgkYA+A51Yh3t+uUDerQu6sPzMYAgPHwDyZ8/z9nmtCnctTVi8BbYChZeY3hH5iwNCTC5yHGo4seuXB8jhusNacCDJCrHwzuACLseR6eTnMuywUzAFY7DHFqx6/579fL2qEip+uPrbjWKHPj6KxJozspyfhMXzfd2d8ATnn/NfNanccAGlj11itjaXa8rIEgTyCXYgqE6TvNqCNeF+zdYE1jc1P3AwU7zCmcTtvCAQdymaVnERhvqxYxo1x60gXKJQYF6WdQJSwTaQMcr/Cj4JnAQyzE4XGs3KNB5XISH6fVrph3UnLrTUVnJeEasP8rkSYfFKs2Ub5Hur1jVr/5tJWq5UybxlpE3d4605jtD9/8L4j8jqy56TigAAAAASUVORK5CYII=</value>
|
||||
</data>
|
||||
</root>
|
||||
@@ -1,5 +1,11 @@
|
||||
using BeWo.Data.Access;
|
||||
using BeWo.Data.Entities;
|
||||
using BeWo.Report;
|
||||
using BeWo.Report.ReportObjects;
|
||||
using BeWo.Service.DCEntityMapper;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
|
||||
namespace CaritasverbandDuerenJuelichEV
|
||||
{
|
||||
@@ -13,8 +19,64 @@ namespace CaritasverbandDuerenJuelichEV
|
||||
public void SetReportDataSource(EmployeeKilometerauswertungsRO pRO)
|
||||
{
|
||||
pRO.CreateDistanceList();
|
||||
|
||||
var emp = DAOFactory.GenericDAO.LoadByID<Employee>(pRO.Employee.EmployeeOid);
|
||||
var empDc = MapperFactory.EmployeeDC_Employee.MapToNewDC(emp);
|
||||
|
||||
objectDataSource1.DataSource = pRO;
|
||||
// Die Fahrten zwischen Whg und Arbeit werden von den gefahrenen Kilometern abgezogen
|
||||
// Angabe erfolgt wie das Kfz-Kennzeichen in Varfields
|
||||
decimal doppelkm = 0;
|
||||
double totalkm = 0;
|
||||
if (empDc.EmployeeVarFields != null && empDc.EmployeeVarFields.Count > 0)
|
||||
{
|
||||
foreach (var vv in empDc.EmployeeVarFields)
|
||||
{
|
||||
if (vv.VarFieldDefOid == 1 && vv.VarFieldValue != null)
|
||||
{
|
||||
lblKennzeichen.Text += vv.VarFieldValue.ToString();
|
||||
}
|
||||
if (vv.VarFieldDefOid == 2 && vv.VarFieldValue != null)
|
||||
{
|
||||
var kilometer = vv.VarFieldValue.ToString();
|
||||
var convert = decimal.TryParse(kilometer, out var km);
|
||||
if (convert)
|
||||
{
|
||||
doppelkm = km;
|
||||
lblDoppelkm.Text += kilometer;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Jetzt werden die Tage aggregiert und die Doppelkilometer abgezogen
|
||||
//List<EmployeeKilometerauswertungsEntry> dayEntries = new List<EmployeeKilometerauswertungsEntry>();
|
||||
Dictionary<int, EmployeeKilometerauswertungsEntry> day2Detail = new Dictionary<int, EmployeeKilometerauswertungsEntry>();
|
||||
|
||||
foreach (var e in pRO.Entries)
|
||||
{
|
||||
if (!day2Detail.ContainsKey(e.Datum.Value.Day))
|
||||
{
|
||||
e.Custom1 = String.Format("{0:dd.}", e.Datum.Value);
|
||||
day2Detail.Add(e.Datum.Value.Day, e);
|
||||
}
|
||||
else
|
||||
{
|
||||
var day = day2Detail[e.Datum.Value.Day];
|
||||
var km = e.DistanceInMeters;
|
||||
day.DistanceInMeters += km;
|
||||
day.Notice += e.Notice;
|
||||
}
|
||||
}
|
||||
var dayEntries = day2Detail.Values.ToList();
|
||||
foreach (var de in dayEntries)
|
||||
{
|
||||
de.KilometerPauschale = de.DistanceInMeters - (double)doppelkm;
|
||||
totalkm += de.KilometerPauschale;
|
||||
}
|
||||
pRO.Entries = dayEntries;
|
||||
pRO.TotalDistanceInMeters = totalkm;
|
||||
pRO.TotalKilometerPauschale = Math.Round(totalkm * pRO.TotalKmPauschalePreis, 2, MidpointRounding.AwayFromZero);
|
||||
objectDataSource1.DataSource = pRO;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -30,6 +30,8 @@ namespace CaritasverbandDuerenJuelichEV
|
||||
private void InitializeComponent()
|
||||
{
|
||||
this.components = new System.ComponentModel.Container();
|
||||
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(EmployeeKilometerauswertungsReport));
|
||||
DevExpress.XtraReports.UI.XRWatermark xrWatermark1 = new DevExpress.XtraReports.UI.XRWatermark();
|
||||
this.Detail = new DevExpress.XtraReports.UI.DetailBand();
|
||||
this.Detail1 = new DevExpress.XtraReports.UI.DetailBand();
|
||||
this.xrLabel13 = new DevExpress.XtraReports.UI.XRLabel();
|
||||
@@ -39,24 +41,20 @@ namespace CaritasverbandDuerenJuelichEV
|
||||
this.xrTable4 = new DevExpress.XtraReports.UI.XRTable();
|
||||
this.xrTableRow4 = new DevExpress.XtraReports.UI.XRTableRow();
|
||||
this.xrTableCell3 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell2 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell8 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell4 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell9 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell10 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.GroupFooter1 = new DevExpress.XtraReports.UI.GroupFooterBand();
|
||||
this.xrLabel15 = new DevExpress.XtraReports.UI.XRLabel();
|
||||
this.xrLabel14 = new DevExpress.XtraReports.UI.XRLabel();
|
||||
this.xrLabel12 = new DevExpress.XtraReports.UI.XRLabel();
|
||||
this.lblUnterschriftMitarbeiter = new DevExpress.XtraReports.UI.XRLabel();
|
||||
this.xrLabel11 = new DevExpress.XtraReports.UI.XRLabel();
|
||||
this.xrLabel10 = new DevExpress.XtraReports.UI.XRLabel();
|
||||
this.xrLabel9 = new DevExpress.XtraReports.UI.XRLabel();
|
||||
this.GroupHeader2 = new DevExpress.XtraReports.UI.GroupHeaderBand();
|
||||
this.xrTable2 = new DevExpress.XtraReports.UI.XRTable();
|
||||
this.xrTableRow2 = new DevExpress.XtraReports.UI.XRTableRow();
|
||||
this.xrTableCell5 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell1 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell6 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell7 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.objectDataSource1 = new DevExpress.DataAccess.ObjectBinding.ObjectDataSource(this.components);
|
||||
this.ReportHeader = new DevExpress.XtraReports.UI.ReportHeaderBand();
|
||||
this.xrLabel2 = new DevExpress.XtraReports.UI.XRLabel();
|
||||
this.xrLabel1 = new DevExpress.XtraReports.UI.XRLabel();
|
||||
this.pageFooterBand1 = new DevExpress.XtraReports.UI.PageFooterBand();
|
||||
this.xrPageInfo2 = new DevExpress.XtraReports.UI.XRPageInfo();
|
||||
this.xrPageInfo1 = new DevExpress.XtraReports.UI.XRPageInfo();
|
||||
this.Title = new DevExpress.XtraReports.UI.XRControlStyle();
|
||||
this.FieldCaption = new DevExpress.XtraReports.UI.XRControlStyle();
|
||||
this.PageInfo = new DevExpress.XtraReports.UI.XRControlStyle();
|
||||
@@ -65,9 +63,30 @@ namespace CaritasverbandDuerenJuelichEV
|
||||
this.fieldGroupFLS = new DevExpress.XtraReports.UI.CalculatedField();
|
||||
this.topMarginBand1 = new DevExpress.XtraReports.UI.TopMarginBand();
|
||||
this.bottomMarginBand1 = new DevExpress.XtraReports.UI.BottomMarginBand();
|
||||
this.GroupHeader1 = new DevExpress.XtraReports.UI.GroupHeaderBand();
|
||||
this.xrLabel1 = new DevExpress.XtraReports.UI.XRLabel();
|
||||
this.xrLabel2 = new DevExpress.XtraReports.UI.XRLabel();
|
||||
this.xrLabel3 = new DevExpress.XtraReports.UI.XRLabel();
|
||||
this.xrLabel16 = new DevExpress.XtraReports.UI.XRLabel();
|
||||
this.xrPictureBox1 = new DevExpress.XtraReports.UI.XRPictureBox();
|
||||
this.xrLabel4 = new DevExpress.XtraReports.UI.XRLabel();
|
||||
this.xrLabel5 = new DevExpress.XtraReports.UI.XRLabel();
|
||||
this.xrLabel6 = new DevExpress.XtraReports.UI.XRLabel();
|
||||
this.xrLabel7 = new DevExpress.XtraReports.UI.XRLabel();
|
||||
this.xrLabel8 = new DevExpress.XtraReports.UI.XRLabel();
|
||||
this.xrCheckBox1 = new DevExpress.XtraReports.UI.XRCheckBox();
|
||||
this.xrCheckBox2 = new DevExpress.XtraReports.UI.XRCheckBox();
|
||||
this.lblKennzeichen = new DevExpress.XtraReports.UI.XRLabel();
|
||||
this.lblDoppelkm = new DevExpress.XtraReports.UI.XRLabel();
|
||||
this.xrTable1 = new DevExpress.XtraReports.UI.XRTable();
|
||||
this.xrTableRow1 = new DevExpress.XtraReports.UI.XRTableRow();
|
||||
this.xrTableCell1 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell2 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell11 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell12 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
((System.ComponentModel.ISupportInitialize)(this.xrTable4)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.xrTable2)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.objectDataSource1)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.xrTable1)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this)).BeginInit();
|
||||
//
|
||||
// Detail
|
||||
@@ -80,25 +99,24 @@ namespace CaritasverbandDuerenJuelichEV
|
||||
//
|
||||
// Detail1
|
||||
//
|
||||
this.Detail1.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
|
||||
this.xrLabel13});
|
||||
this.Detail1.Font = new DevExpress.Drawing.DXFont("Arial", 9.75F, DevExpress.Drawing.DXFontStyle.Regular, DevExpress.Drawing.DXGraphicsUnit.Point, new DevExpress.Drawing.DXFontAdditionalProperty[] {
|
||||
new DevExpress.Drawing.DXFontAdditionalProperty("GdiCharSet", ((byte)(0)))});
|
||||
this.Detail1.HeightF = 46.16668F;
|
||||
this.Detail1.HeightF = 0F;
|
||||
this.Detail1.Name = "Detail1";
|
||||
this.Detail1.StylePriority.UseFont = false;
|
||||
//
|
||||
// xrLabel13
|
||||
//
|
||||
this.xrLabel13.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
|
||||
new DevExpress.XtraReports.UI.XRBinding("Text", null, "TotalDistanceInMeters", "Kilometer gesamt: {0:0.##}")});
|
||||
this.xrLabel13.Font = new DevExpress.Drawing.DXFont("Arial", 10F);
|
||||
this.xrLabel13.LocationFloat = new DevExpress.Utils.PointFloat(0F, 10.00001F);
|
||||
this.xrLabel13.BackColor = System.Drawing.Color.Gainsboro;
|
||||
this.xrLabel13.Font = new DevExpress.Drawing.DXFont("Arial", 10F, DevExpress.Drawing.DXFontStyle.Bold);
|
||||
this.xrLabel13.LocationFloat = new DevExpress.Utils.PointFloat(0F, 0F);
|
||||
this.xrLabel13.Name = "xrLabel13";
|
||||
this.xrLabel13.SizeF = new System.Drawing.SizeF(677.0001F, 25F);
|
||||
this.xrLabel13.SizeF = new System.Drawing.SizeF(606.9952F, 25F);
|
||||
this.xrLabel13.StylePriority.UseBackColor = false;
|
||||
this.xrLabel13.StylePriority.UseFont = false;
|
||||
this.xrLabel13.StylePriority.UsePadding = false;
|
||||
this.xrLabel13.StylePriority.UseTextAlignment = false;
|
||||
this.xrLabel13.Text = "Summe der gefahrenen Kilometer:";
|
||||
this.xrLabel13.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft;
|
||||
//
|
||||
// DetailReport
|
||||
@@ -140,7 +158,7 @@ namespace CaritasverbandDuerenJuelichEV
|
||||
this.xrTable4.Name = "xrTable4";
|
||||
this.xrTable4.Rows.AddRange(new DevExpress.XtraReports.UI.XRTableRow[] {
|
||||
this.xrTableRow4});
|
||||
this.xrTable4.SizeF = new System.Drawing.SizeF(625.8332F, 25F);
|
||||
this.xrTable4.SizeF = new System.Drawing.SizeF(677.0002F, 25F);
|
||||
this.xrTable4.StylePriority.UseBorders = false;
|
||||
this.xrTable4.StylePriority.UsePadding = false;
|
||||
//
|
||||
@@ -148,9 +166,9 @@ namespace CaritasverbandDuerenJuelichEV
|
||||
//
|
||||
this.xrTableRow4.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
|
||||
this.xrTableCell3,
|
||||
this.xrTableCell2,
|
||||
this.xrTableCell8,
|
||||
this.xrTableCell4,
|
||||
this.xrTableCell9});
|
||||
this.xrTableCell10});
|
||||
this.xrTableRow4.Name = "xrTableRow4";
|
||||
this.xrTableRow4.Weight = 1D;
|
||||
//
|
||||
@@ -164,186 +182,191 @@ namespace CaritasverbandDuerenJuelichEV
|
||||
this.xrTableCell3.StylePriority.UseFont = false;
|
||||
this.xrTableCell3.StylePriority.UseTextAlignment = false;
|
||||
this.xrTableCell3.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
|
||||
this.xrTableCell3.Weight = 0.6802721106538383D;
|
||||
this.xrTableCell3.Weight = 0.55121367991474446D;
|
||||
//
|
||||
// xrTableCell2
|
||||
// xrTableCell8
|
||||
//
|
||||
this.xrTableCell2.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
|
||||
new DevExpress.XtraReports.UI.XRBinding("Text", null, "Entries.TimeRange")});
|
||||
this.xrTableCell2.Font = new DevExpress.Drawing.DXFont("Arial", 9.75F);
|
||||
this.xrTableCell2.Name = "xrTableCell2";
|
||||
this.xrTableCell2.StylePriority.UseFont = false;
|
||||
this.xrTableCell2.StylePriority.UseTextAlignment = false;
|
||||
this.xrTableCell2.Text = "xrTableCell2";
|
||||
this.xrTableCell2.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
|
||||
this.xrTableCell2.Weight = 0.89285569697781431D;
|
||||
this.xrTableCell8.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
|
||||
new DevExpress.XtraReports.UI.XRBinding("Text", null, "Entries.Notice")});
|
||||
this.xrTableCell8.Font = new DevExpress.Drawing.DXFont("Arial", 9.75F);
|
||||
this.xrTableCell8.Multiline = true;
|
||||
this.xrTableCell8.Name = "xrTableCell8";
|
||||
this.xrTableCell8.StylePriority.UseFont = false;
|
||||
this.xrTableCell8.StylePriority.UseTextAlignment = false;
|
||||
this.xrTableCell8.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
|
||||
this.xrTableCell8.Weight = 3.1438554306425459D;
|
||||
//
|
||||
// xrTableCell4
|
||||
//
|
||||
this.xrTableCell4.CanGrow = false;
|
||||
this.xrTableCell4.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
|
||||
new DevExpress.XtraReports.UI.XRBinding("Text", null, "Entries.DistanceInMeters", "{0:0.##}")});
|
||||
new DevExpress.XtraReports.UI.XRBinding("Text", null, "Entries.DistanceInMeters")});
|
||||
this.xrTableCell4.Font = new DevExpress.Drawing.DXFont("Arial", 9.75F);
|
||||
this.xrTableCell4.Name = "xrTableCell4";
|
||||
this.xrTableCell4.StylePriority.UseFont = false;
|
||||
this.xrTableCell4.StylePriority.UseTextAlignment = false;
|
||||
this.xrTableCell4.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
|
||||
this.xrTableCell4.Weight = 1.028910120556823D;
|
||||
this.xrTableCell4.TextFormatString = "{0:0.00}";
|
||||
this.xrTableCell4.Weight = 0.4829395031375564D;
|
||||
//
|
||||
// xrTableCell9
|
||||
// xrTableCell10
|
||||
//
|
||||
this.xrTableCell9.CanGrow = false;
|
||||
this.xrTableCell9.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
|
||||
new DevExpress.XtraReports.UI.XRBinding("Text", null, "Entries.Notice")});
|
||||
this.xrTableCell9.Font = new DevExpress.Drawing.DXFont("Arial", 9.75F);
|
||||
this.xrTableCell9.Name = "xrTableCell9";
|
||||
this.xrTableCell9.StylePriority.UseFont = false;
|
||||
this.xrTableCell9.StylePriority.UsePadding = false;
|
||||
this.xrTableCell9.StylePriority.UseTextAlignment = false;
|
||||
this.xrTableCell9.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
|
||||
this.xrTableCell9.Weight = 1.655330774159318D;
|
||||
this.xrTableCell10.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
|
||||
new DevExpress.XtraReports.UI.XRBinding("Text", null, "Entries.KilometerPauschale")});
|
||||
this.xrTableCell10.Font = new DevExpress.Drawing.DXFont("Arial", 9.75F);
|
||||
this.xrTableCell10.Multiline = true;
|
||||
this.xrTableCell10.Name = "xrTableCell10";
|
||||
this.xrTableCell10.StylePriority.UseFont = false;
|
||||
this.xrTableCell10.StylePriority.UseTextAlignment = false;
|
||||
this.xrTableCell10.Text = "xrTableCell10";
|
||||
this.xrTableCell10.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
|
||||
this.xrTableCell10.TextFormatString = "{0:0.00}";
|
||||
this.xrTableCell10.Weight = 0.4818510092505337D;
|
||||
//
|
||||
// GroupFooter1
|
||||
//
|
||||
this.GroupFooter1.HeightF = 0F;
|
||||
this.GroupFooter1.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
|
||||
this.xrLabel15,
|
||||
this.xrLabel14,
|
||||
this.xrLabel12,
|
||||
this.lblUnterschriftMitarbeiter,
|
||||
this.xrLabel11,
|
||||
this.xrLabel10,
|
||||
this.xrLabel9,
|
||||
this.xrLabel13});
|
||||
this.GroupFooter1.HeightF = 173.9167F;
|
||||
this.GroupFooter1.Name = "GroupFooter1";
|
||||
this.GroupFooter1.PageBreak = DevExpress.XtraReports.UI.PageBreak.AfterBand;
|
||||
this.GroupFooter1.RepeatEveryPage = true;
|
||||
//
|
||||
// xrLabel15
|
||||
//
|
||||
this.xrLabel15.Borders = DevExpress.XtraPrinting.BorderSide.Bottom;
|
||||
this.xrLabel15.Font = new DevExpress.Drawing.DXFont("Arial", 10F);
|
||||
this.xrLabel15.LocationFloat = new DevExpress.Utils.PointFloat(249.1944F, 82.75007F);
|
||||
this.xrLabel15.Name = "xrLabel15";
|
||||
this.xrLabel15.Padding = new DevExpress.XtraPrinting.PaddingInfo(3, 2, 0, 0, 100F);
|
||||
this.xrLabel15.SizeF = new System.Drawing.SizeF(249.1944F, 19.99998F);
|
||||
this.xrLabel15.StylePriority.UseBackColor = false;
|
||||
this.xrLabel15.StylePriority.UseBorders = false;
|
||||
this.xrLabel15.StylePriority.UseFont = false;
|
||||
this.xrLabel15.StylePriority.UsePadding = false;
|
||||
this.xrLabel15.StylePriority.UseTextAlignment = false;
|
||||
this.xrLabel15.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
|
||||
//
|
||||
// xrLabel14
|
||||
//
|
||||
this.xrLabel14.Borders = DevExpress.XtraPrinting.BorderSide.Bottom;
|
||||
this.xrLabel14.Font = new DevExpress.Drawing.DXFont("Arial", 10F);
|
||||
this.xrLabel14.LocationFloat = new DevExpress.Utils.PointFloat(249.1944F, 136.5001F);
|
||||
this.xrLabel14.Name = "xrLabel14";
|
||||
this.xrLabel14.Padding = new DevExpress.XtraPrinting.PaddingInfo(3, 2, 0, 0, 100F);
|
||||
this.xrLabel14.SizeF = new System.Drawing.SizeF(249.1944F, 19.99998F);
|
||||
this.xrLabel14.StylePriority.UseBackColor = false;
|
||||
this.xrLabel14.StylePriority.UseBorders = false;
|
||||
this.xrLabel14.StylePriority.UseFont = false;
|
||||
this.xrLabel14.StylePriority.UsePadding = false;
|
||||
this.xrLabel14.StylePriority.UseTextAlignment = false;
|
||||
this.xrLabel14.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
|
||||
//
|
||||
// xrLabel12
|
||||
//
|
||||
this.xrLabel12.Borders = DevExpress.XtraPrinting.BorderSide.None;
|
||||
this.xrLabel12.Font = new DevExpress.Drawing.DXFont("Arial", 10F);
|
||||
this.xrLabel12.LocationFloat = new DevExpress.Utils.PointFloat(0F, 136.5001F);
|
||||
this.xrLabel12.Name = "xrLabel12";
|
||||
this.xrLabel12.Padding = new DevExpress.XtraPrinting.PaddingInfo(3, 2, 0, 0, 100F);
|
||||
this.xrLabel12.SizeF = new System.Drawing.SizeF(249.1944F, 19.99998F);
|
||||
this.xrLabel12.StylePriority.UseBackColor = false;
|
||||
this.xrLabel12.StylePriority.UseBorders = false;
|
||||
this.xrLabel12.StylePriority.UseFont = false;
|
||||
this.xrLabel12.StylePriority.UsePadding = false;
|
||||
this.xrLabel12.StylePriority.UseTextAlignment = false;
|
||||
this.xrLabel12.Text = "Datum, Unterschrift Vorgesetzter/e:";
|
||||
this.xrLabel12.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
|
||||
//
|
||||
// lblUnterschriftMitarbeiter
|
||||
//
|
||||
this.lblUnterschriftMitarbeiter.Borders = DevExpress.XtraPrinting.BorderSide.None;
|
||||
this.lblUnterschriftMitarbeiter.Font = new DevExpress.Drawing.DXFont("Arial", 10F);
|
||||
this.lblUnterschriftMitarbeiter.LocationFloat = new DevExpress.Utils.PointFloat(0F, 82.75007F);
|
||||
this.lblUnterschriftMitarbeiter.Name = "lblUnterschriftMitarbeiter";
|
||||
this.lblUnterschriftMitarbeiter.Padding = new DevExpress.XtraPrinting.PaddingInfo(3, 2, 0, 0, 100F);
|
||||
this.lblUnterschriftMitarbeiter.SizeF = new System.Drawing.SizeF(249.1944F, 19.99998F);
|
||||
this.lblUnterschriftMitarbeiter.StylePriority.UseBackColor = false;
|
||||
this.lblUnterschriftMitarbeiter.StylePriority.UseBorders = false;
|
||||
this.lblUnterschriftMitarbeiter.StylePriority.UseFont = false;
|
||||
this.lblUnterschriftMitarbeiter.StylePriority.UsePadding = false;
|
||||
this.lblUnterschriftMitarbeiter.StylePriority.UseTextAlignment = false;
|
||||
this.lblUnterschriftMitarbeiter.Text = "Datum, Unterschrift Mitarbeiter/in:";
|
||||
this.lblUnterschriftMitarbeiter.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
|
||||
//
|
||||
// xrLabel11
|
||||
//
|
||||
this.xrLabel11.BackColor = System.Drawing.Color.Gainsboro;
|
||||
this.xrLabel11.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
|
||||
new DevExpress.XtraReports.UI.XRBinding("Text", null, "TotalKilometerPauschale")});
|
||||
this.xrLabel11.Font = new DevExpress.Drawing.DXFont("Arial", 10F, DevExpress.Drawing.DXFontStyle.Bold);
|
||||
this.xrLabel11.LocationFloat = new DevExpress.Utils.PointFloat(606.9951F, 25F);
|
||||
this.xrLabel11.Name = "xrLabel11";
|
||||
this.xrLabel11.SizeF = new System.Drawing.SizeF(70.00507F, 25F);
|
||||
this.xrLabel11.StylePriority.UseBackColor = false;
|
||||
this.xrLabel11.StylePriority.UseFont = false;
|
||||
this.xrLabel11.StylePriority.UsePadding = false;
|
||||
this.xrLabel11.StylePriority.UseTextAlignment = false;
|
||||
this.xrLabel11.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopCenter;
|
||||
this.xrLabel11.TextFormatString = "{0:0.00} €";
|
||||
//
|
||||
// xrLabel10
|
||||
//
|
||||
this.xrLabel10.BackColor = System.Drawing.Color.Gainsboro;
|
||||
this.xrLabel10.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
|
||||
new DevExpress.XtraReports.UI.XRBinding("Text", null, "TotalDistanceInMeters")});
|
||||
this.xrLabel10.Font = new DevExpress.Drawing.DXFont("Arial", 10F, DevExpress.Drawing.DXFontStyle.Bold);
|
||||
this.xrLabel10.LocationFloat = new DevExpress.Utils.PointFloat(606.9951F, 0F);
|
||||
this.xrLabel10.Name = "xrLabel10";
|
||||
this.xrLabel10.SizeF = new System.Drawing.SizeF(70F, 25F);
|
||||
this.xrLabel10.StylePriority.UseBackColor = false;
|
||||
this.xrLabel10.StylePriority.UseFont = false;
|
||||
this.xrLabel10.StylePriority.UsePadding = false;
|
||||
this.xrLabel10.StylePriority.UseTextAlignment = false;
|
||||
this.xrLabel10.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopCenter;
|
||||
this.xrLabel10.TextFormatString = "{0:0.00}";
|
||||
//
|
||||
// xrLabel9
|
||||
//
|
||||
this.xrLabel9.BackColor = System.Drawing.Color.Gainsboro;
|
||||
this.xrLabel9.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
|
||||
new DevExpress.XtraReports.UI.XRBinding("Text", null, "TotalKmPauschalePreis")});
|
||||
this.xrLabel9.Font = new DevExpress.Drawing.DXFont("Arial", 10F, DevExpress.Drawing.DXFontStyle.Bold);
|
||||
this.xrLabel9.LocationFloat = new DevExpress.Utils.PointFloat(0F, 25F);
|
||||
this.xrLabel9.Name = "xrLabel9";
|
||||
this.xrLabel9.SizeF = new System.Drawing.SizeF(606.9952F, 25F);
|
||||
this.xrLabel9.StylePriority.UseBackColor = false;
|
||||
this.xrLabel9.StylePriority.UseFont = false;
|
||||
this.xrLabel9.StylePriority.UsePadding = false;
|
||||
this.xrLabel9.StylePriority.UseTextAlignment = false;
|
||||
this.xrLabel9.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft;
|
||||
this.xrLabel9.TextFormatString = "Summe des Erstattungsbetrags ({0} € pro Kilometer)";
|
||||
//
|
||||
// GroupHeader2
|
||||
//
|
||||
this.GroupHeader2.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
|
||||
this.xrTable2});
|
||||
this.GroupHeader2.HeightF = 25F;
|
||||
this.xrTable1});
|
||||
this.GroupHeader2.HeightF = 49.66666F;
|
||||
this.GroupHeader2.Name = "GroupHeader2";
|
||||
this.GroupHeader2.RepeatEveryPage = true;
|
||||
//
|
||||
// xrTable2
|
||||
//
|
||||
this.xrTable2.Borders = ((DevExpress.XtraPrinting.BorderSide)((((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top)
|
||||
| DevExpress.XtraPrinting.BorderSide.Right)
|
||||
| DevExpress.XtraPrinting.BorderSide.Bottom)));
|
||||
this.xrTable2.Font = new DevExpress.Drawing.DXFont("Arial", 10F, DevExpress.Drawing.DXFontStyle.Bold);
|
||||
this.xrTable2.LocationFloat = new DevExpress.Utils.PointFloat(0F, 0F);
|
||||
this.xrTable2.Name = "xrTable2";
|
||||
this.xrTable2.Rows.AddRange(new DevExpress.XtraReports.UI.XRTableRow[] {
|
||||
this.xrTableRow2});
|
||||
this.xrTable2.SizeF = new System.Drawing.SizeF(625.8333F, 25F);
|
||||
this.xrTable2.StylePriority.UseBorders = false;
|
||||
this.xrTable2.StylePriority.UseFont = false;
|
||||
this.xrTable2.StylePriority.UsePadding = false;
|
||||
//
|
||||
// xrTableRow2
|
||||
//
|
||||
this.xrTableRow2.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
|
||||
this.xrTableCell5,
|
||||
this.xrTableCell1,
|
||||
this.xrTableCell6,
|
||||
this.xrTableCell7});
|
||||
this.xrTableRow2.Name = "xrTableRow2";
|
||||
this.xrTableRow2.Weight = 1D;
|
||||
//
|
||||
// xrTableCell5
|
||||
//
|
||||
this.xrTableCell5.CanGrow = false;
|
||||
this.xrTableCell5.Name = "xrTableCell5";
|
||||
this.xrTableCell5.StylePriority.UseTextAlignment = false;
|
||||
this.xrTableCell5.Text = "Datum";
|
||||
this.xrTableCell5.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
|
||||
this.xrTableCell5.Weight = 0.68027211517937214D;
|
||||
//
|
||||
// xrTableCell1
|
||||
//
|
||||
this.xrTableCell1.Name = "xrTableCell1";
|
||||
this.xrTableCell1.StylePriority.UseTextAlignment = false;
|
||||
this.xrTableCell1.Text = "Uhrzeit";
|
||||
this.xrTableCell1.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
|
||||
this.xrTableCell1.Weight = 0.89285652020261552D;
|
||||
//
|
||||
// xrTableCell6
|
||||
//
|
||||
this.xrTableCell6.CanGrow = false;
|
||||
this.xrTableCell6.Name = "xrTableCell6";
|
||||
this.xrTableCell6.StylePriority.UseTextAlignment = false;
|
||||
this.xrTableCell6.Text = "gefahrene Kilometer";
|
||||
this.xrTableCell6.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
|
||||
this.xrTableCell6.Weight = 1.0289109483071579D;
|
||||
//
|
||||
// xrTableCell7
|
||||
//
|
||||
this.xrTableCell7.CanGrow = false;
|
||||
this.xrTableCell7.Name = "xrTableCell7";
|
||||
this.xrTableCell7.Padding = new DevExpress.XtraPrinting.PaddingInfo(5, 5, 0, 0, 100F);
|
||||
this.xrTableCell7.StylePriority.UsePadding = false;
|
||||
this.xrTableCell7.StylePriority.UseTextAlignment = false;
|
||||
this.xrTableCell7.Text = "Dokumentation";
|
||||
this.xrTableCell7.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
|
||||
this.xrTableCell7.Weight = 1.6553300906804376D;
|
||||
//
|
||||
// objectDataSource1
|
||||
//
|
||||
this.objectDataSource1.DataSource = typeof(BeWo.Report.ReportObjects.EmployeeKilometerauswertungsRO);
|
||||
this.objectDataSource1.Name = "objectDataSource1";
|
||||
//
|
||||
// ReportHeader
|
||||
//
|
||||
this.ReportHeader.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
|
||||
this.xrLabel2,
|
||||
this.xrLabel1});
|
||||
this.ReportHeader.HeightF = 50F;
|
||||
this.ReportHeader.Name = "ReportHeader";
|
||||
//
|
||||
// xrLabel2
|
||||
//
|
||||
this.xrLabel2.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
|
||||
new DevExpress.XtraReports.UI.XRBinding("Text", null, "MonthInformation", "Zeitraum: {0:MMMM yyyy}")});
|
||||
this.xrLabel2.Font = new DevExpress.Drawing.DXFont("Arial", 12F);
|
||||
this.xrLabel2.LocationFloat = new DevExpress.Utils.PointFloat(0F, 24.99999F);
|
||||
this.xrLabel2.Name = "xrLabel2";
|
||||
this.xrLabel2.Padding = new DevExpress.XtraPrinting.PaddingInfo(0, 0, 0, 0, 100F);
|
||||
this.xrLabel2.SizeF = new System.Drawing.SizeF(677.0001F, 25F);
|
||||
this.xrLabel2.StylePriority.UseFont = false;
|
||||
this.xrLabel2.StylePriority.UsePadding = false;
|
||||
//
|
||||
// xrLabel1
|
||||
//
|
||||
this.xrLabel1.Font = new DevExpress.Drawing.DXFont("Arial", 14F);
|
||||
this.xrLabel1.LocationFloat = new DevExpress.Utils.PointFloat(0F, 0F);
|
||||
this.xrLabel1.Multiline = true;
|
||||
this.xrLabel1.Name = "xrLabel1";
|
||||
this.xrLabel1.SizeF = new System.Drawing.SizeF(677.0001F, 25F);
|
||||
this.xrLabel1.StyleName = "Title";
|
||||
this.xrLabel1.StylePriority.UseFont = false;
|
||||
this.xrLabel1.Text = "Auswertung über gefahrene Kilometer für [EmployeeName]";
|
||||
//
|
||||
// pageFooterBand1
|
||||
//
|
||||
this.pageFooterBand1.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
|
||||
this.xrPageInfo2,
|
||||
this.xrPageInfo1});
|
||||
this.pageFooterBand1.HeightF = 48F;
|
||||
this.pageFooterBand1.HeightF = 23.33336F;
|
||||
this.pageFooterBand1.Name = "pageFooterBand1";
|
||||
//
|
||||
// xrPageInfo2
|
||||
//
|
||||
this.xrPageInfo2.Font = new DevExpress.Drawing.DXFont("Arial", 8F);
|
||||
this.xrPageInfo2.LocationFloat = new DevExpress.Utils.PointFloat(382.4996F, 25F);
|
||||
this.xrPageInfo2.Name = "xrPageInfo2";
|
||||
this.xrPageInfo2.SizeF = new System.Drawing.SizeF(243.3336F, 23F);
|
||||
this.xrPageInfo2.StyleName = "PageInfo";
|
||||
this.xrPageInfo2.StylePriority.UseFont = false;
|
||||
this.xrPageInfo2.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopRight;
|
||||
this.xrPageInfo2.TextFormatString = "Seite {0} von {1}";
|
||||
//
|
||||
// xrPageInfo1
|
||||
//
|
||||
this.xrPageInfo1.Font = new DevExpress.Drawing.DXFont("Arial", 8F);
|
||||
this.xrPageInfo1.LocationFloat = new DevExpress.Utils.PointFloat(7.999929F, 25F);
|
||||
this.xrPageInfo1.Name = "xrPageInfo1";
|
||||
this.xrPageInfo1.PageInfo = DevExpress.XtraPrinting.PageInfo.DateTime;
|
||||
this.xrPageInfo1.SizeF = new System.Drawing.SizeF(223.25F, 23F);
|
||||
this.xrPageInfo1.StyleName = "PageInfo";
|
||||
this.xrPageInfo1.StylePriority.UseFont = false;
|
||||
//
|
||||
// Title
|
||||
//
|
||||
this.Title.BackColor = System.Drawing.Color.White;
|
||||
@@ -408,15 +431,282 @@ namespace CaritasverbandDuerenJuelichEV
|
||||
this.bottomMarginBand1.HeightF = 50F;
|
||||
this.bottomMarginBand1.Name = "bottomMarginBand1";
|
||||
//
|
||||
// GroupHeader1
|
||||
//
|
||||
this.GroupHeader1.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
|
||||
this.xrLabel1,
|
||||
this.xrLabel2,
|
||||
this.xrLabel3,
|
||||
this.xrLabel16,
|
||||
this.xrPictureBox1,
|
||||
this.xrLabel4,
|
||||
this.xrLabel5,
|
||||
this.xrLabel6,
|
||||
this.xrLabel7,
|
||||
this.xrLabel8,
|
||||
this.xrCheckBox1,
|
||||
this.xrCheckBox2,
|
||||
this.lblKennzeichen,
|
||||
this.lblDoppelkm});
|
||||
this.GroupHeader1.HeightF = 240.8333F;
|
||||
this.GroupHeader1.Name = "GroupHeader1";
|
||||
//
|
||||
// xrLabel1
|
||||
//
|
||||
this.xrLabel1.Font = new DevExpress.Drawing.DXFont("Arial", 14F, DevExpress.Drawing.DXFontStyle.Bold);
|
||||
this.xrLabel1.LocationFloat = new DevExpress.Utils.PointFloat(0F, 0F);
|
||||
this.xrLabel1.Multiline = true;
|
||||
this.xrLabel1.Name = "xrLabel1";
|
||||
this.xrLabel1.SizeF = new System.Drawing.SizeF(493.67F, 45F);
|
||||
this.xrLabel1.StyleName = "Title";
|
||||
this.xrLabel1.StylePriority.UseFont = false;
|
||||
this.xrLabel1.StylePriority.UseTextAlignment = false;
|
||||
this.xrLabel1.Text = "Fahrtkostenabrechnung";
|
||||
this.xrLabel1.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
|
||||
//
|
||||
// xrLabel2
|
||||
//
|
||||
this.xrLabel2.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
|
||||
new DevExpress.XtraReports.UI.XRBinding("Text", null, "MonthInformation")});
|
||||
this.xrLabel2.Font = new DevExpress.Drawing.DXFont("Arial", 12F, DevExpress.Drawing.DXFontStyle.Bold);
|
||||
this.xrLabel2.LocationFloat = new DevExpress.Utils.PointFloat(0F, 103.3333F);
|
||||
this.xrLabel2.Name = "xrLabel2";
|
||||
this.xrLabel2.Padding = new DevExpress.XtraPrinting.PaddingInfo(0, 0, 0, 0, 100F);
|
||||
this.xrLabel2.SizeF = new System.Drawing.SizeF(265.5418F, 25F);
|
||||
this.xrLabel2.StylePriority.UseFont = false;
|
||||
this.xrLabel2.StylePriority.UsePadding = false;
|
||||
this.xrLabel2.StylePriority.UseTextAlignment = false;
|
||||
this.xrLabel2.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
|
||||
this.xrLabel2.TextFormatString = "Abrechnungsmonat: {0:MMMM}";
|
||||
//
|
||||
// xrLabel3
|
||||
//
|
||||
this.xrLabel3.Font = new DevExpress.Drawing.DXFont("Arial", 14F);
|
||||
this.xrLabel3.LocationFloat = new DevExpress.Utils.PointFloat(0F, 45.00001F);
|
||||
this.xrLabel3.Multiline = true;
|
||||
this.xrLabel3.Name = "xrLabel3";
|
||||
this.xrLabel3.SizeF = new System.Drawing.SizeF(493.67F, 45F);
|
||||
this.xrLabel3.StyleName = "Title";
|
||||
this.xrLabel3.StylePriority.UseFont = false;
|
||||
this.xrLabel3.StylePriority.UseTextAlignment = false;
|
||||
this.xrLabel3.Text = "Formular";
|
||||
this.xrLabel3.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
|
||||
//
|
||||
// xrLabel16
|
||||
//
|
||||
this.xrLabel16.Borders = DevExpress.XtraPrinting.BorderSide.None;
|
||||
this.xrLabel16.Font = new DevExpress.Drawing.DXFont("Arial", 7F);
|
||||
this.xrLabel16.LocationFloat = new DevExpress.Utils.PointFloat(533.3751F, 10.00001F);
|
||||
this.xrLabel16.Multiline = true;
|
||||
this.xrLabel16.Name = "xrLabel16";
|
||||
this.xrLabel16.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
|
||||
this.xrLabel16.SizeF = new System.Drawing.SizeF(143.62F, 30F);
|
||||
this.xrLabel16.StylePriority.UseBorders = false;
|
||||
this.xrLabel16.StylePriority.UseFont = false;
|
||||
this.xrLabel16.StylePriority.UseTextAlignment = false;
|
||||
this.xrLabel16.Text = "Caritasverband \r\nfür die Region Düren-Jülich e.V.";
|
||||
this.xrLabel16.TextAlignment = DevExpress.XtraPrinting.TextAlignment.BottomLeft;
|
||||
//
|
||||
// xrPictureBox1
|
||||
//
|
||||
this.xrPictureBox1.ImageSource = new DevExpress.XtraPrinting.Drawing.ImageSource("img", resources.GetString("xrPictureBox1.ImageSource"));
|
||||
this.xrPictureBox1.LocationFloat = new DevExpress.Utils.PointFloat(493.67F, 0F);
|
||||
this.xrPictureBox1.Name = "xrPictureBox1";
|
||||
this.xrPictureBox1.SizeF = new System.Drawing.SizeF(39.70499F, 40.00003F);
|
||||
this.xrPictureBox1.Sizing = DevExpress.XtraPrinting.ImageSizeMode.ZoomImage;
|
||||
//
|
||||
// xrLabel4
|
||||
//
|
||||
this.xrLabel4.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
|
||||
new DevExpress.XtraReports.UI.XRBinding("Text", null, "MonthInformation")});
|
||||
this.xrLabel4.Font = new DevExpress.Drawing.DXFont("Arial", 12F, DevExpress.Drawing.DXFontStyle.Bold);
|
||||
this.xrLabel4.LocationFloat = new DevExpress.Utils.PointFloat(411.4532F, 103.3333F);
|
||||
this.xrLabel4.Name = "xrLabel4";
|
||||
this.xrLabel4.Padding = new DevExpress.XtraPrinting.PaddingInfo(0, 0, 0, 0, 100F);
|
||||
this.xrLabel4.SizeF = new System.Drawing.SizeF(265.5418F, 25F);
|
||||
this.xrLabel4.StylePriority.UseFont = false;
|
||||
this.xrLabel4.StylePriority.UsePadding = false;
|
||||
this.xrLabel4.StylePriority.UseTextAlignment = false;
|
||||
this.xrLabel4.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
|
||||
this.xrLabel4.TextFormatString = "Abrechnungsjahr: {0:yyyy}";
|
||||
//
|
||||
// xrLabel5
|
||||
//
|
||||
this.xrLabel5.Borders = DevExpress.XtraPrinting.BorderSide.None;
|
||||
this.xrLabel5.Font = new DevExpress.Drawing.DXFont("Arial", 12F);
|
||||
this.xrLabel5.LocationFloat = new DevExpress.Utils.PointFloat(493.6751F, 45.00001F);
|
||||
this.xrLabel5.Multiline = true;
|
||||
this.xrLabel5.Name = "xrLabel5";
|
||||
this.xrLabel5.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
|
||||
this.xrLabel5.SizeF = new System.Drawing.SizeF(183.3251F, 45.00001F);
|
||||
this.xrLabel5.StylePriority.UseBorders = false;
|
||||
this.xrLabel5.StylePriority.UseFont = false;
|
||||
this.xrLabel5.StylePriority.UseTextAlignment = false;
|
||||
this.xrLabel5.Text = "Geltungsbereich:\r\nGesamtverband";
|
||||
this.xrLabel5.TextAlignment = DevExpress.XtraPrinting.TextAlignment.BottomLeft;
|
||||
//
|
||||
// xrLabel6
|
||||
//
|
||||
this.xrLabel6.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
|
||||
new DevExpress.XtraReports.UI.XRBinding("Text", null, "EmployeeName")});
|
||||
this.xrLabel6.Font = new DevExpress.Drawing.DXFont("Arial", 12F, DevExpress.Drawing.DXFontStyle.Bold);
|
||||
this.xrLabel6.LocationFloat = new DevExpress.Utils.PointFloat(0F, 128.3333F);
|
||||
this.xrLabel6.Name = "xrLabel6";
|
||||
this.xrLabel6.Padding = new DevExpress.XtraPrinting.PaddingInfo(0, 0, 0, 0, 100F);
|
||||
this.xrLabel6.SizeF = new System.Drawing.SizeF(677.0002F, 25F);
|
||||
this.xrLabel6.StylePriority.UseFont = false;
|
||||
this.xrLabel6.StylePriority.UsePadding = false;
|
||||
this.xrLabel6.StylePriority.UseTextAlignment = false;
|
||||
this.xrLabel6.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
|
||||
this.xrLabel6.TextFormatString = "Fahrer/in: {0}";
|
||||
//
|
||||
// xrLabel7
|
||||
//
|
||||
this.xrLabel7.Font = new DevExpress.Drawing.DXFont("Arial", 12F, DevExpress.Drawing.DXFontStyle.Bold);
|
||||
this.xrLabel7.LocationFloat = new DevExpress.Utils.PointFloat(0F, 153.3333F);
|
||||
this.xrLabel7.Name = "xrLabel7";
|
||||
this.xrLabel7.Padding = new DevExpress.XtraPrinting.PaddingInfo(0, 0, 0, 0, 100F);
|
||||
this.xrLabel7.SizeF = new System.Drawing.SizeF(677.0002F, 25F);
|
||||
this.xrLabel7.StylePriority.UseFont = false;
|
||||
this.xrLabel7.StylePriority.UsePadding = false;
|
||||
this.xrLabel7.StylePriority.UseTextAlignment = false;
|
||||
this.xrLabel7.Text = "Einrichtung/Fachdienst: AJFH";
|
||||
this.xrLabel7.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
|
||||
//
|
||||
// xrLabel8
|
||||
//
|
||||
this.xrLabel8.Font = new DevExpress.Drawing.DXFont("Arial", 12F, DevExpress.Drawing.DXFontStyle.Bold);
|
||||
this.xrLabel8.LocationFloat = new DevExpress.Utils.PointFloat(0F, 178.3333F);
|
||||
this.xrLabel8.Name = "xrLabel8";
|
||||
this.xrLabel8.Padding = new DevExpress.XtraPrinting.PaddingInfo(0, 0, 0, 0, 100F);
|
||||
this.xrLabel8.SizeF = new System.Drawing.SizeF(265.5418F, 25F);
|
||||
this.xrLabel8.StylePriority.UseFont = false;
|
||||
this.xrLabel8.StylePriority.UsePadding = false;
|
||||
this.xrLabel8.StylePriority.UseTextAlignment = false;
|
||||
this.xrLabel8.Text = "Mitarbeiterstatus:";
|
||||
this.xrLabel8.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
|
||||
//
|
||||
// xrCheckBox1
|
||||
//
|
||||
this.xrCheckBox1.CheckBoxState = DevExpress.XtraPrinting.CheckBoxState.Checked;
|
||||
this.xrCheckBox1.Checked = true;
|
||||
this.xrCheckBox1.Font = new DevExpress.Drawing.DXFont("arial", 9.75F);
|
||||
this.xrCheckBox1.LocationFloat = new DevExpress.Utils.PointFloat(349.9949F, 178.3333F);
|
||||
this.xrCheckBox1.Name = "xrCheckBox1";
|
||||
this.xrCheckBox1.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
|
||||
this.xrCheckBox1.SizeF = new System.Drawing.SizeF(120.8333F, 25F);
|
||||
this.xrCheckBox1.StylePriority.UseFont = false;
|
||||
this.xrCheckBox1.StylePriority.UseTextAlignment = false;
|
||||
this.xrCheckBox1.Text = "Hauptamtlich";
|
||||
//
|
||||
// xrCheckBox2
|
||||
//
|
||||
this.xrCheckBox2.Font = new DevExpress.Drawing.DXFont("arial", 9.75F);
|
||||
this.xrCheckBox2.LocationFloat = new DevExpress.Utils.PointFloat(533.3701F, 178.3333F);
|
||||
this.xrCheckBox2.Name = "xrCheckBox2";
|
||||
this.xrCheckBox2.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
|
||||
this.xrCheckBox2.SizeF = new System.Drawing.SizeF(143.62F, 25F);
|
||||
this.xrCheckBox2.StylePriority.UseFont = false;
|
||||
this.xrCheckBox2.StylePriority.UseTextAlignment = false;
|
||||
this.xrCheckBox2.Text = "Ehrenamtlich";
|
||||
//
|
||||
// lblKennzeichen
|
||||
//
|
||||
this.lblKennzeichen.Font = new DevExpress.Drawing.DXFont("Arial", 12F, DevExpress.Drawing.DXFontStyle.Bold);
|
||||
this.lblKennzeichen.LocationFloat = new DevExpress.Utils.PointFloat(0F, 203.3333F);
|
||||
this.lblKennzeichen.Name = "lblKennzeichen";
|
||||
this.lblKennzeichen.Padding = new DevExpress.XtraPrinting.PaddingInfo(0, 0, 0, 0, 100F);
|
||||
this.lblKennzeichen.SizeF = new System.Drawing.SizeF(265.5418F, 25F);
|
||||
this.lblKennzeichen.StylePriority.UseFont = false;
|
||||
this.lblKennzeichen.StylePriority.UsePadding = false;
|
||||
this.lblKennzeichen.StylePriority.UseTextAlignment = false;
|
||||
this.lblKennzeichen.Text = "Kfz-Kennzeichen: ";
|
||||
this.lblKennzeichen.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
|
||||
//
|
||||
// lblDoppelkm
|
||||
//
|
||||
this.lblDoppelkm.Font = new DevExpress.Drawing.DXFont("Arial", 12F, DevExpress.Drawing.DXFontStyle.Bold);
|
||||
this.lblDoppelkm.LocationFloat = new DevExpress.Utils.PointFloat(411.4483F, 203.3333F);
|
||||
this.lblDoppelkm.Name = "lblDoppelkm";
|
||||
this.lblDoppelkm.Padding = new DevExpress.XtraPrinting.PaddingInfo(0, 0, 0, 0, 100F);
|
||||
this.lblDoppelkm.SizeF = new System.Drawing.SizeF(265.5418F, 25F);
|
||||
this.lblDoppelkm.StylePriority.UseFont = false;
|
||||
this.lblDoppelkm.StylePriority.UsePadding = false;
|
||||
this.lblDoppelkm.StylePriority.UseTextAlignment = false;
|
||||
this.lblDoppelkm.Text = "Doppelkilometer: ";
|
||||
this.lblDoppelkm.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
|
||||
//
|
||||
// xrTable1
|
||||
//
|
||||
this.xrTable1.Borders = ((DevExpress.XtraPrinting.BorderSide)((((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top)
|
||||
| DevExpress.XtraPrinting.BorderSide.Right)
|
||||
| DevExpress.XtraPrinting.BorderSide.Bottom)));
|
||||
this.xrTable1.Font = new DevExpress.Drawing.DXFont("Arial", 10F, DevExpress.Drawing.DXFontStyle.Bold);
|
||||
this.xrTable1.LocationFloat = new DevExpress.Utils.PointFloat(0F, 0F);
|
||||
this.xrTable1.Name = "xrTable1";
|
||||
this.xrTable1.Rows.AddRange(new DevExpress.XtraReports.UI.XRTableRow[] {
|
||||
this.xrTableRow1});
|
||||
this.xrTable1.SizeF = new System.Drawing.SizeF(677.0002F, 49.66666F);
|
||||
this.xrTable1.StylePriority.UseBorders = false;
|
||||
this.xrTable1.StylePriority.UseFont = false;
|
||||
this.xrTable1.StylePriority.UsePadding = false;
|
||||
//
|
||||
// xrTableRow1
|
||||
//
|
||||
this.xrTableRow1.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
|
||||
this.xrTableCell1,
|
||||
this.xrTableCell2,
|
||||
this.xrTableCell11,
|
||||
this.xrTableCell12});
|
||||
this.xrTableRow1.Name = "xrTableRow1";
|
||||
this.xrTableRow1.Weight = 1D;
|
||||
//
|
||||
// xrTableCell1
|
||||
//
|
||||
this.xrTableCell1.CanGrow = false;
|
||||
this.xrTableCell1.Name = "xrTableCell1";
|
||||
this.xrTableCell1.StylePriority.UseTextAlignment = false;
|
||||
this.xrTableCell1.Text = "Datum";
|
||||
this.xrTableCell1.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
|
||||
this.xrTableCell1.Weight = 0.55121411577217783D;
|
||||
//
|
||||
// xrTableCell2
|
||||
//
|
||||
this.xrTableCell2.Multiline = true;
|
||||
this.xrTableCell2.Name = "xrTableCell2";
|
||||
this.xrTableCell2.StylePriority.UseTextAlignment = false;
|
||||
this.xrTableCell2.Text = "Route";
|
||||
this.xrTableCell2.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
|
||||
this.xrTableCell2.Weight = 3.1438578698415873D;
|
||||
//
|
||||
// xrTableCell11
|
||||
//
|
||||
this.xrTableCell11.CanGrow = false;
|
||||
this.xrTableCell11.Multiline = true;
|
||||
this.xrTableCell11.Name = "xrTableCell11";
|
||||
this.xrTableCell11.StylePriority.UseTextAlignment = false;
|
||||
this.xrTableCell11.Text = "Kilometer\r\ngefahren";
|
||||
this.xrTableCell11.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
|
||||
this.xrTableCell11.Weight = 0.48293968769118206D;
|
||||
//
|
||||
// xrTableCell12
|
||||
//
|
||||
this.xrTableCell12.Multiline = true;
|
||||
this.xrTableCell12.Name = "xrTableCell12";
|
||||
this.xrTableCell12.StylePriority.UseTextAlignment = false;
|
||||
this.xrTableCell12.Text = "Kilometer\r\ndienstlich";
|
||||
this.xrTableCell12.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
|
||||
this.xrTableCell12.Weight = 0.48185133670195773D;
|
||||
//
|
||||
// EmployeeKilometerauswertungsReport
|
||||
//
|
||||
this.Bands.AddRange(new DevExpress.XtraReports.UI.Band[] {
|
||||
this.Detail,
|
||||
this.DetailReport,
|
||||
this.ReportHeader,
|
||||
this.pageFooterBand1,
|
||||
this.topMarginBand1,
|
||||
this.bottomMarginBand1});
|
||||
this.bottomMarginBand1,
|
||||
this.GroupHeader1});
|
||||
this.CalculatedFields.AddRange(new DevExpress.XtraReports.UI.CalculatedField[] {
|
||||
this.fieldFLS,
|
||||
this.fieldGroupFLS});
|
||||
@@ -433,9 +723,11 @@ namespace CaritasverbandDuerenJuelichEV
|
||||
this.PageInfo,
|
||||
this.DataField});
|
||||
this.Version = "23.2";
|
||||
xrWatermark1.Id = "Watermark1";
|
||||
this.Watermarks.Add(xrWatermark1);
|
||||
((System.ComponentModel.ISupportInitialize)(this.xrTable4)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.xrTable2)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.objectDataSource1)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.xrTable1)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this)).EndInit();
|
||||
|
||||
}
|
||||
@@ -445,28 +737,17 @@ namespace CaritasverbandDuerenJuelichEV
|
||||
private DevExpress.XtraReports.UI.DetailBand Detail;
|
||||
private DevExpress.XtraReports.UI.DetailBand Detail1;
|
||||
private DevExpress.XtraReports.UI.DetailReportBand DetailReport;
|
||||
private DevExpress.XtraReports.UI.ReportHeaderBand ReportHeader;
|
||||
private DevExpress.XtraReports.UI.XRLabel xrLabel1;
|
||||
private DevExpress.XtraReports.UI.PageFooterBand pageFooterBand1;
|
||||
private DevExpress.XtraReports.UI.XRPageInfo xrPageInfo2;
|
||||
private DevExpress.XtraReports.UI.XRPageInfo xrPageInfo1;
|
||||
private DevExpress.XtraReports.UI.XRControlStyle Title;
|
||||
private DevExpress.XtraReports.UI.XRControlStyle FieldCaption;
|
||||
private DevExpress.XtraReports.UI.XRControlStyle PageInfo;
|
||||
private DevExpress.XtraReports.UI.XRControlStyle DataField;
|
||||
private DevExpress.XtraReports.UI.XRTable xrTable2;
|
||||
private DevExpress.XtraReports.UI.XRTableRow xrTableRow2;
|
||||
private DevExpress.XtraReports.UI.XRTableCell xrTableCell5;
|
||||
private DevExpress.XtraReports.UI.XRTableCell xrTableCell6;
|
||||
private DevExpress.XtraReports.UI.XRTableCell xrTableCell7;
|
||||
private DevExpress.XtraReports.UI.DetailReportBand DetailReport1;
|
||||
private DevExpress.XtraReports.UI.DetailBand Detail2;
|
||||
private DevExpress.XtraReports.UI.XRTable xrTable4;
|
||||
private DevExpress.XtraReports.UI.XRTableRow xrTableRow4;
|
||||
private DevExpress.XtraReports.UI.XRTableCell xrTableCell3;
|
||||
private DevExpress.XtraReports.UI.XRTableCell xrTableCell4;
|
||||
private DevExpress.XtraReports.UI.XRTableCell xrTableCell9;
|
||||
private DevExpress.XtraReports.UI.XRLabel xrLabel2;
|
||||
private DevExpress.XtraReports.UI.XRLabel xrLabel13;
|
||||
private DevExpress.XtraReports.UI.CalculatedField fieldFLS;
|
||||
private DevExpress.XtraReports.UI.CalculatedField fieldGroupFLS;
|
||||
@@ -475,7 +756,35 @@ namespace CaritasverbandDuerenJuelichEV
|
||||
private DevExpress.XtraReports.UI.BottomMarginBand bottomMarginBand1;
|
||||
private DevExpress.XtraReports.UI.GroupHeaderBand GroupHeader2;
|
||||
private DevExpress.DataAccess.ObjectBinding.ObjectDataSource objectDataSource1;
|
||||
private DevExpress.XtraReports.UI.XRTableCell xrTableCell2;
|
||||
private DevExpress.XtraReports.UI.XRTableCell xrTableCell8;
|
||||
private DevExpress.XtraReports.UI.XRTableCell xrTableCell10;
|
||||
private DevExpress.XtraReports.UI.XRLabel xrLabel11;
|
||||
private DevExpress.XtraReports.UI.XRLabel xrLabel10;
|
||||
private DevExpress.XtraReports.UI.XRLabel xrLabel9;
|
||||
private DevExpress.XtraReports.UI.XRLabel lblUnterschriftMitarbeiter;
|
||||
private DevExpress.XtraReports.UI.XRLabel xrLabel15;
|
||||
private DevExpress.XtraReports.UI.XRLabel xrLabel14;
|
||||
private DevExpress.XtraReports.UI.XRLabel xrLabel12;
|
||||
private DevExpress.XtraReports.UI.GroupHeaderBand GroupHeader1;
|
||||
private DevExpress.XtraReports.UI.XRLabel xrLabel1;
|
||||
private DevExpress.XtraReports.UI.XRLabel xrLabel2;
|
||||
private DevExpress.XtraReports.UI.XRLabel xrLabel3;
|
||||
private DevExpress.XtraReports.UI.XRLabel xrLabel16;
|
||||
private DevExpress.XtraReports.UI.XRPictureBox xrPictureBox1;
|
||||
private DevExpress.XtraReports.UI.XRLabel xrLabel4;
|
||||
private DevExpress.XtraReports.UI.XRLabel xrLabel5;
|
||||
private DevExpress.XtraReports.UI.XRLabel xrLabel6;
|
||||
private DevExpress.XtraReports.UI.XRLabel xrLabel7;
|
||||
private DevExpress.XtraReports.UI.XRLabel xrLabel8;
|
||||
private DevExpress.XtraReports.UI.XRCheckBox xrCheckBox1;
|
||||
private DevExpress.XtraReports.UI.XRCheckBox xrCheckBox2;
|
||||
private DevExpress.XtraReports.UI.XRLabel lblKennzeichen;
|
||||
private DevExpress.XtraReports.UI.XRLabel lblDoppelkm;
|
||||
private DevExpress.XtraReports.UI.XRTable xrTable1;
|
||||
private DevExpress.XtraReports.UI.XRTableRow xrTableRow1;
|
||||
private DevExpress.XtraReports.UI.XRTableCell xrTableCell1;
|
||||
private DevExpress.XtraReports.UI.XRTableCell xrTableCell2;
|
||||
private DevExpress.XtraReports.UI.XRTableCell xrTableCell11;
|
||||
private DevExpress.XtraReports.UI.XRTableCell xrTableCell12;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -117,4 +117,7 @@
|
||||
<resheader name="writer">
|
||||
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<data name="xrPictureBox1.ImageSource" xml:space="preserve">
|
||||
<value>iVBORw0KGgoAAAANSUhEUgAAADcAAABICAYAAABSr21SAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAOwwAADsMBx2+oZAAADedJREFUaEPtWwl0VcUZfpBAJIQAIXtEBBFxq7tV2YqoVTYFKYII4ga4Lz097mu1VVurqF3cwFZsRbQoVNGqFaPZHmTfV0gIISELJGR9Wf6e73vvXt6de9+SBOjJqd85/4HM3Fm+mX9m/vnnfzYRkeasTMmePlV2xETJjrFxsvOE4weejI2THbHRkvnTC6QxPh60xNaSlyff22xiH8jENCHBKPnBZpPG+O/EljdnttijIswfHgFJCj5OkoYFeZWjMaCcwQvPF1vqpImy4/hY0wf9FRBryc6myjdnZJglM0Pay3dL8ojhR56gS0VtaaecfFTIJQYOot77QlLQEI/kPKX7JWPjxJY2eVKvyeH75NAQrlM1T5P+krNHR0rScUMlOSRYdsTFmPL9kV6Ts0eMYaMN/9oqGWedKSmjR5q+gfSHHFQ14+yzmN/wxTb+nTJmtKkNX9IrcinhYZIzc4ahc9kzZ0jSceYO9pVc0rChUnzTjepnUrxyBQdWbceb+EUOFUI97JHhaptE1dq1kuA6TrQyfSGXHDpcSlbfpn5C7PnNc2yDG5CP/mrikxwaThhkk4bPPuM6y5tzldou4airk53jx0nyyBEs11tyWGNpp01Ws6WruVmSR4Xy7GrJyZaWrCyS9NZnv8iRmM0mB7d/y4ba9+yR7TablNx6i9oHHUU3LOOa7BW542PZTldjoyGv69AhksKG4o6W3Fy24UtFvZKDCtRv+dRQceN32+Vbm00KFi8ypLuj7L57aPX4A5DDmVj5wm/VLP0MtALUVNMST+KRHKyWxKGBsvvhh9R6pfGH7yXeZpOd48ZKR1WVmk1gAPwBVD79jNPUZMmbN4ezZoW8eXPZfvqZp0tK2ChT372SAzGYL50HDsh/bDZpzc9X65fu9nbJOPdskii9fY2a7Te57yy+a9i2jeqPda4ChECs7uOP+HfOrJmSEhFmImZJTttAutvaWLj0zjtYWWd9vdKME/v//r7T8I6OlJ7ubj3dX3Ig4Q6sM9SXN9u8cRUsXMC+qION40OdIEtyKaNCpWrtK4bC2dOmcIQPfvO1Id0dqAdq5Kit5d99JYfjwGozwkyhzgNf/VvNkpq/vssd1Te50SOl8ncvquVl98MPUkXzF1ytZunAMYGRBazUzQoaOSwBbCCYNVzDVCC99M7b1WSWw7qzMtFM5LTtv62kRK2Hm0fqySex4/vf36BmE9k/m84BShjsHzl0uikxgW1i5g/tsKufSO7ll9H8UtHV1MRNDzcAlZglORKMi5Gk4cOkx+FQ6yPqNn1IgrlXXqFmETtPPIGd9Qc4CkDKHhWuq7Q76rdupTp2VO5Rszhj9phIEymv5CAwpaAmHXv3qnXqgK2XetJ4NVmkp8e0ljwBxMruvVtNJjoqKlhP5QvPq1lSdONy7g9qv/0iB8EMYucsf+JxtW4dUAurc6qvG4qG1qIiaoeVsXDgyy+o9v2yUEgQRvPIEbQi6rdsUduh3mPdFCxaaEjvD7m6zf/kxoSbgApHTY0kBAzy2mcTOXi+cKXxKGGjSKJo+Q1S8+56qX7zDQrWX85llzKv7O67pGb9Oqn9cKNlp63Azem9v7Eu1Fu07HrWhY2r4fPPpPqtN11tvSk169dL4pAAblim/rnE/WZCcjiAsy65SEpvXy3Ft9zsVQqXLpGCaxcYpGjFDc68JYv1tPyFC1QelihYdK0UXLtQL4f62dbKGw3plEULpfimlaY+aVKyZhXvmxpBksPCrHj6KbXdAYnqN/6iG9Q6uXILA3kgouqVl38kNyDxI7mBiv8/chVPPqF+NyCx789/MpKDPzJ//lypfudtqXr9NWt5dS2dOKrsfen3zN/7ysvGvOfNDh8rwCh2Cso9L1WvvUpR26l88QVznxSBNVN4/RLyMZhf8JuAsaWEBEti4GB6tUpW3abLrgful8Lrl9Jcgg1ads9denpvzC+YbSWrV0nZfffylgDzqvzRRw63tWaVFN+8kvYmnr1M/XMTjZiBnJagCi+vg23iqK5W+yWO+nreGmB2qeir4Vz7wT9IuCkhwZAOdDY00OaEEe/rRuAXORiqmqfJHYfsdhIof/wxNYvoKzmgaPkyEmzOSFezCCwB3AxgE6v99ZscLqO5V1ym1i2txUXsfMWT1ve8imee8tspC1VrTt2pJkvu5bNIfP+G99QsoqezU1JPmuD19ccjOaRB5ayAdVGw+BdqMgGrHMQSA8weLCtAM3DhtQLcihhEOGg9gY7ZcD/9liQ2No4EDnz5pVqXZE+fJvYI69cerAe69+rq/PZ+YRDSTj2F3msrNCUnczODT6Zx+3Y1m4B6WjmJTORADCNZ/8lmtQ6p+2gTR7KtpFjN4gsNynV3dPBvf9ecNggYlPSzzlSzdRQtW8o6cd9TgTatggdM5HCgV7/9llqeFWB9lN5h9h3iZQed64/HGd4tqDOewdzrcQecwuhD2qSTDemN38fTW+d75vDePWK4oTDA52EL1cGWDWdtW2mpIb235AD4RaGmGCi4FawAdzs80uk/OUNP44trnB9qydkbM1ryr57Pgu0VFTwc8TRsBWw6ux96UE3uEzkNeGCBuuJfK+AdAzMI7wHatnKleyQHwezhvKHFEDZKerq61DYke8Y0PgKqKH/sUb+PAk8bDxxPiUMGO19U83LVbL4ZYGAxEepa80kOgvWXY3HOASVrVnPU1c0Fr6/Y2fw9CtD5wqXXqck6cmZdynYQPeGO7tZWn5aKV3JIx8ioz1fYVKB2aoMAy8VEWb7UWIEvq8OCpPjWm9UsHWX33M32MJtAt8PhV3yKV3LsaGw0t3jNra6NpNVzFkgjKADlekOOjt/QEB4nsB+tgPANPjp+tInvCt4CfPwmR4JxMc5FO36cswPKwzxQ9/HHBhd3b8mhDA5jqDTWrBUyzzuHW76vGdPEL3IQza2+57ln1Tbl4DffOMMn3PS/L+T0dkKCJXXiBMN3uB+ifW9rTBW/yWlCtZtwon6u7Xn21yZikL6S0wRnFwMK9u1jGFbScO+bh5X0mhyEG8bQQD4Vewop7C85thMbLUnBQT6vNp6kT+Qg6JCVsarJkSDXX+kzOV/i6RqjwsrgPVJy1MhBQBDXFW9ytIhBjiq5/7UcW3KIzkMU/DFq79iRcxHLvPACbvFoE4fx0Wz7mJJLGBLATSR39lXOSIhJE3Wipu+PgBxTcjDC9/7hJUk/43Q6hoCSO9Y4D2z1+yMgHsnhDIM1gvua5uVVbTp6qUOCjd9odbnMNfyN+yDyoZbYIVEO972OmhopWLLYGQUENcUAhIfRfmSdwUGSEjbSsKOibFKIK39YED0EnnZcS3K8tsdG00nUefAgI3sQcYCR16xxkELYUlNKCq/+CKFAJEPyyBDd0K7btIl3rvLHH2U4L27WNevekbRTJ9OzjAgl/Cyl/tNPWAbES9eslpb8PH4PL0DFM09Louugx/0ye9pUOZSaKl0tLbw7wtbl4FgQNJGDqaMFzYBQ9ozpkjf7SmnJyWEaCGK00Alg1/33scHcq37OTnW3tVLlElwWCh7gATxmYCaBzAvOY9RQV0szwzPwLoBZqN34AfOLViyXrKmXMNIBQPwLCOC6Bex+8FeSNeVi5sNx1ZScxJn0Sg7stYA0jAj+DzXA4wLUyLF/P0dZi8zLnzeXM2OPjuBsa66FjPPO0aNccQ9EOmZSc/Jmnnu2Xl/hsqU0wTTnEwYAg4dB5jXrxBOYjjYbE37gSw7qQT4GGrMNpJ1+qskcNJBDAcwCgAoMuh4TJVkXXchbMdYiomOxliBQRZDU/CE5l8/SyRUuuU73CGsdwb0MbghHfR1fb9BJ3BPxYsQfSKDO0BDOFogCqK9+6xZpLy93DlZIsDOoJjKcnjDEoKnLy0AOlZY/8rB07KuinqvTDILaDxdwzUFZXCyxfprT0tgJAD+k0MhBxbV16omctsZRBh5tBGfXb94srQWHI2I1A1sD9oOS227l7DJS3WJTNJHDAm4rK2VorfoxOkBVGBooDds+ZyO1GzfSxYYIHqwbwH3mUieO19XFEznUCXWEGx7AIygGDU9j2DmBZKh/ZLgkBNgk/5qrpWbdOunYW8m8/Rs2WP4qxaiWEWMY6gegc+4fo4N4dMDiL7zO+R4H1aV6IO4xYoxOCLFgh8lN8EkOg4XNCxdTqhzWHVQ+HKRDWQadR1+xdNAWvmEcmCvIFMsF3xvJuf3EDP9imtnBWTP1az0EHUMHmtPTOFOH0tL0Gzi36TDnD5YARMv6Ra6hXopWruDG1ZyZyfBjrF2tL9AEuOoBbRPDsUI/iqtdPpDEx3PXdXfOIs+Wqvx+DgsZ788k6Fo7qKDsrjv1zmZdfJGLhCt/sDH2Gb9/1XZOvPyYyJ1/Lv/vqKvliGMjgkYA+A51Yh3t+uUDerQu6sPzMYAgPHwDyZ8/z9nmtCnctTVi8BbYChZeY3hH5iwNCTC5yHGo4seuXB8jhusNacCDJCrHwzuACLseR6eTnMuywUzAFY7DHFqx6/579fL2qEip+uPrbjWKHPj6KxJozspyfhMXzfd2d8ATnn/NfNanccAGlj11itjaXa8rIEgTyCXYgqE6TvNqCNeF+zdYE1jc1P3AwU7zCmcTtvCAQdymaVnERhvqxYxo1x60gXKJQYF6WdQJSwTaQMcr/Cj4JnAQyzE4XGs3KNB5XISH6fVrph3UnLrTUVnJeEasP8rkSYfFKs2Ub5Hur1jVr/5tJWq5UybxlpE3d4605jtD9/8L4j8jqy56TigAAAAASUVORK5CYII=</value>
|
||||
</data>
|
||||
</root>
|
||||
@@ -31,6 +31,7 @@
|
||||
<WarningLevel>4</WarningLevel>
|
||||
</PropertyGroup>
|
||||
<ItemGroup>
|
||||
<Reference Include="DevExpress.DataAccess.v23.2, Version=23.2.4.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a" />
|
||||
<Reference Include="DevExpress.Drawing.v23.2, Version=23.2.4.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a, processorArchitecture=MSIL" />
|
||||
<Reference Include="DevExpress.Data.v23.2, Version=23.2.4.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a, processorArchitecture=MSIL" />
|
||||
<Reference Include="DevExpress.Office.v23.2.Core, Version=23.2.4.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a, processorArchitecture=MSIL" />
|
||||
@@ -39,6 +40,7 @@
|
||||
<Reference Include="DevExpress.Printing.v23.2.Core, Version=23.2.4.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a, processorArchitecture=MSIL" />
|
||||
<Reference Include="DevExpress.Data.Desktop.v23.2, Version=23.2.4.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a, processorArchitecture=MSIL" />
|
||||
<Reference Include="DevExpress.Utils.v23.2, Version=23.2.4.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a, processorArchitecture=MSIL" />
|
||||
<Reference Include="DevExpress.Xpo.v23.2, Version=23.2.4.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a" />
|
||||
<Reference Include="DevExpress.XtraPrinting.v23.2, Version=23.2.4.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a, processorArchitecture=MSIL" />
|
||||
<Reference Include="DevExpress.Charts.v23.2.Core, Version=23.2.4.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a, processorArchitecture=MSIL" />
|
||||
<Reference Include="DevExpress.XtraCharts.v23.2, Version=23.2.4.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a, processorArchitecture=MSIL" />
|
||||
@@ -76,6 +78,12 @@
|
||||
<DesignTime>True</DesignTime>
|
||||
<DependentUpon>Resources.resx</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="Quittierungsbeleg.cs">
|
||||
<SubType>Component</SubType>
|
||||
</Compile>
|
||||
<Compile Include="Quittierungsbeleg.Designer.cs">
|
||||
<DependentUpon>Quittierungsbeleg.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="ServiceInvoiceReport.cs">
|
||||
<SubType>Component</SubType>
|
||||
</Compile>
|
||||
@@ -121,6 +129,10 @@
|
||||
<Generator>ResXFileCodeGenerator</Generator>
|
||||
<LastGenOutput>Resources.Designer.cs</LastGenOutput>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="Quittierungsbeleg.resx">
|
||||
<DependentUpon>Quittierungsbeleg.cs</DependentUpon>
|
||||
<SubType>Designer</SubType>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="ServiceInvoiceReport.resx">
|
||||
<DependentUpon>ServiceInvoiceReport.cs</DependentUpon>
|
||||
<SubType>Designer</SubType>
|
||||
|
||||
@@ -1,4 +1,8 @@
|
||||
using BeWo.Report;
|
||||
using System.Collections.Generic;
|
||||
using BeWo.Data.Access;
|
||||
using BeWo.Data.Entities;
|
||||
using BeWo.Report;
|
||||
using BeWo.Report.ReportObjects;
|
||||
using DevExpress.XtraReports.UI;
|
||||
|
||||
namespace CaritasOstvest
|
||||
@@ -9,5 +13,122 @@ namespace CaritasOstvest
|
||||
{
|
||||
return base.CreateSettlementReport(dcId, invoiceBaseOid, true);
|
||||
}
|
||||
}
|
||||
|
||||
public override XtraReport CreateServiceOverviewAllCustomersReport(int month, int year, long orgaOid, long empOid, long? serviceCategoryOid, int startDay, int endDay)
|
||||
{
|
||||
List<ServicesOverviewRO> lROs = ServicesOverviewRO.Create(month, year, orgaOid, empOid, startDay, endDay, serviceCategoryOid, true);
|
||||
|
||||
if (lROs.Count > 0)
|
||||
{
|
||||
XtraReport rootReport = null;
|
||||
var reports = CreateServicesOverviewReportsForRo(lROs[0], serviceCategoryOid);
|
||||
rootReport = reports[0];
|
||||
rootReport.CreateDocument();
|
||||
|
||||
for (int i = 1; i < reports.Count; i++)
|
||||
{
|
||||
var lNext = reports[i];
|
||||
lNext.CreateDocument();
|
||||
rootReport.Pages.AddRange(lNext.Pages);
|
||||
}
|
||||
|
||||
for (int i = 1; i < lROs.Count; i++)
|
||||
{
|
||||
var lNextReports = CreateServicesOverviewReportsForRo(lROs[i], serviceCategoryOid);
|
||||
for (int j = 0; j < lNextReports.Count; j++)
|
||||
{
|
||||
var lNext = lNextReports[j];
|
||||
lNext.CreateDocument();
|
||||
rootReport.Pages.AddRange(lNext.Pages);
|
||||
}
|
||||
}
|
||||
|
||||
return rootReport;
|
||||
}
|
||||
return new XtraReport();
|
||||
}
|
||||
|
||||
public override XtraReport CreateServiceOverviewSingleCustomerReport(long customerOid, int month, int year, long orgaOid, long empOid, long? serviceCategoryOid, int startDay, int endDay)
|
||||
{
|
||||
var ro = ServicesOverviewRO.Create(customerOid, month, year, false, orgaOid, empOid, startDay, endDay, serviceCategoryOid);
|
||||
|
||||
if (TemplateOid == 2)
|
||||
CheckeHilfeplan(ro);
|
||||
var reports = CreateServicesOverviewReportsForRo(ro, serviceCategoryOid);
|
||||
|
||||
|
||||
if (reports.Count == 1)
|
||||
{
|
||||
return reports[0];
|
||||
}
|
||||
if (reports.Count > 1)
|
||||
{
|
||||
var rootReport = reports[0];
|
||||
rootReport.CreateDocument();
|
||||
|
||||
for (int i = 1; i < reports.Count; i++)
|
||||
{
|
||||
var lNext = reports[i];
|
||||
lNext.CreateDocument();
|
||||
rootReport.Pages.AddRange(lNext.Pages);
|
||||
}
|
||||
return rootReport;
|
||||
}
|
||||
return new XtraReport();
|
||||
}
|
||||
|
||||
private IList<XtraReport> CreateServicesOverviewReportsForRo(ServicesOverviewRO ro, long? serviceCategoryOid)
|
||||
{
|
||||
IList<XtraReport> reports = new List<XtraReport>();
|
||||
|
||||
if (TemplateOid.HasValue && TemplateOid.Value == 1 || TemplateOid.Value == 2)
|
||||
{
|
||||
IBeWoReport<ServicesOverviewRO> report = new CaritasOstvest.Quittierungsbeleg();
|
||||
if (TemplateOid.Value == 2)
|
||||
{
|
||||
ro.Services = new List<ServicesOverviewRO.ServiceDetail>();
|
||||
for (int i = 0; i < 20; i++)
|
||||
{
|
||||
ro.Services.Add(new ServicesOverviewRO.ServiceDetail());
|
||||
}
|
||||
}
|
||||
report.SetReportDataSource(ro);
|
||||
reports.Add(report as XtraReport);
|
||||
}
|
||||
|
||||
return reports;
|
||||
}
|
||||
|
||||
private void CheckeHilfeplan(ServicesOverviewRO ro)
|
||||
{
|
||||
if (ro.CostBearer2SupportConceptList.Count == 0)
|
||||
{
|
||||
//Suche Hilfeplan
|
||||
var customer = DAOFactory.GenericDAO.LoadByID<Customer>(ro.CustomerOid);
|
||||
|
||||
foreach (var sc in customer.SupportConcepts)
|
||||
{
|
||||
foreach (var c2s in sc.CostBearer2SupportConceptList)
|
||||
{
|
||||
if (c2s.StartDate.HasValue && c2s.EndDate.HasValue && c2s.StartDate.Value < ro.EndDate && c2s.EndDate.Value >= ro.StartDate)
|
||||
{
|
||||
ro.ReferenceNumber = c2s.CustomerReferenceNumber;
|
||||
|
||||
foreach (var ap in c2s.ApprovalPeriodList)
|
||||
{
|
||||
if (ap.ApprovedBETotal.HasValue)
|
||||
{
|
||||
ro.ApprovedFLSPerWeekTotal = ap.ApprovedBETotal.Value;
|
||||
}
|
||||
else if (ap.ApprovedBEPerInterval.HasValue)
|
||||
{
|
||||
ro.ApprovedFLSPerWeekTotal = ap.ApprovedBEPerInterval.Value;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
1487
ReportImp/CaritasverbandOstvest/Quittierungsbeleg.Designer.cs
generated
Normal file
1487
ReportImp/CaritasverbandOstvest/Quittierungsbeleg.Designer.cs
generated
Normal file
File diff suppressed because it is too large
Load Diff
180
ReportImp/CaritasverbandOstvest/Quittierungsbeleg.cs
Normal file
180
ReportImp/CaritasverbandOstvest/Quittierungsbeleg.cs
Normal file
@@ -0,0 +1,180 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Drawing;
|
||||
using System.IO;
|
||||
using System.Linq;
|
||||
using System.Text.RegularExpressions;
|
||||
using BeWo.Report;
|
||||
using BeWo.Report.ReportObjects;
|
||||
using BS.Shared.Core;
|
||||
using DevExpress.XtraReports.UI;
|
||||
|
||||
namespace CaritasOstvest
|
||||
{
|
||||
public partial class Quittierungsbeleg : XtraReport, IBeWoReport<ServicesOverviewRO>
|
||||
{
|
||||
public Quittierungsbeleg()
|
||||
{
|
||||
InitializeComponent();
|
||||
}
|
||||
|
||||
public void SetReportDataSource(ServicesOverviewRO pRO)
|
||||
{
|
||||
pRO.TotalFLSQualifiedString = "";
|
||||
pRO.TotalFLSQualified = 0;
|
||||
pRO.TotalFLSUnqualifiedString = "";
|
||||
pRO.TotalFLSUnqualified = 0;
|
||||
bool hatGruppen = false;
|
||||
bool leerBeleg = false;
|
||||
|
||||
if (pRO.Services != null)
|
||||
{
|
||||
List<ServicesOverviewRO.ServiceDetail> servicesBillable = new List<ServicesOverviewRO.ServiceDetail>();
|
||||
|
||||
if (pRO.Services.Count == 20 && pRO.Services.Any(s => s.Minutes == 0))
|
||||
{
|
||||
leerBeleg = true;
|
||||
}
|
||||
|
||||
foreach (var sd in pRO.Services)
|
||||
{
|
||||
if (sd.IsBillable || (sd.ServiceDescription != null && sd.ServiceDescription.ToLower().Contains("fehlkontakt")))
|
||||
{
|
||||
ServicesOverviewRO.CreateSignatureString(sd);
|
||||
sd.Notice5 = "E";
|
||||
sd.Notice4 = sd.CustomerCount.ToString();
|
||||
if (sd.IsGroup)
|
||||
{
|
||||
hatGruppen = true;
|
||||
sd.Notice5 = "GR";
|
||||
}
|
||||
if (sd.Minutes == 0)
|
||||
{
|
||||
sd.FLSQualifiedString = "";
|
||||
}
|
||||
else if (sd.ServiceDescription.ToLower().Contains("fehlkontakt"))
|
||||
{
|
||||
sd.FLSQualifiedString = String.Format("{0:0.##}", sd.Minutes);
|
||||
pRO.TotalFLSUnqualified += sd.Minutes;
|
||||
sd.Notice5 = "F";
|
||||
}
|
||||
else
|
||||
{
|
||||
sd.FLSQualifiedString = String.Format("{0:0.##}", sd.Minutes);
|
||||
pRO.TotalFLSQualified += sd.Minutes;
|
||||
}
|
||||
servicesBillable.Add(sd);
|
||||
}
|
||||
else if (sd.Minutes == 0)
|
||||
{
|
||||
sd.Notice5 = "";
|
||||
sd.Notice4 = "";
|
||||
sd.StartDateString = "";
|
||||
sd.FLSQualifiedString = "";
|
||||
servicesBillable.Add(sd);
|
||||
}
|
||||
}
|
||||
|
||||
if (pRO.TotalFLSQualified != 0)
|
||||
pRO.TotalFLSQualifiedString = String.Format("{0:0.##}", pRO.TotalFLSQualified);
|
||||
else
|
||||
pRO.TotalFLSQualifiedString = "";
|
||||
|
||||
if (pRO.TotalFLSUnqualified != 0)
|
||||
pRO.TotalFLSUnqualifiedString = String.Format("{0:0.##}", pRO.TotalFLSUnqualified);
|
||||
else
|
||||
pRO.TotalFLSUnqualifiedString = "0";
|
||||
|
||||
if (pRO.TotalFLSUnqualified == 0 && pRO.TotalFLSQualified == 0)
|
||||
pRO.TotalFLSUnqualifiedString = "";
|
||||
|
||||
pRO.Services = servicesBillable;
|
||||
}
|
||||
|
||||
if (!leerBeleg && String.IsNullOrWhiteSpace(pRO.AbsenceTimes))
|
||||
{
|
||||
lblHatAbwesenheiten.Text = "X";
|
||||
}
|
||||
|
||||
if (!leerBeleg && !hatGruppen)
|
||||
{
|
||||
lblHatGruppen.Text = "X";
|
||||
}
|
||||
|
||||
ErstelleAbwesenheitenTabelle(pRO);
|
||||
|
||||
bindingSource1.DataSource = pRO;
|
||||
}
|
||||
|
||||
private void ErstelleAbwesenheitenTabelle(ServicesOverviewRO pRo)
|
||||
{
|
||||
if (pRo.Abwesenheiten != null)
|
||||
{
|
||||
int newRows = 0;
|
||||
int index = 1;
|
||||
foreach (var at in pRo.Abwesenheiten)
|
||||
{
|
||||
DevExpress.XtraReports.UI.XRTableRow row = null;
|
||||
if (index < xrTableAbwesenheiten.Rows.Count)
|
||||
{
|
||||
row = xrTableAbwesenheiten.Rows[index];
|
||||
}
|
||||
else
|
||||
{
|
||||
row = xrTableAbwesenheiten.InsertRowBelow(xrTableAbwesenheiten.Rows[xrTableAbwesenheiten.Rows.Count - 1]);
|
||||
newRows++;
|
||||
}
|
||||
|
||||
row.Cells[0].Text = String.Format("{0:dd.MM.yyyy}", at.Start);
|
||||
int? days = null;
|
||||
|
||||
if (at.End.HasValue)
|
||||
{
|
||||
row.Cells[1].Text = String.Format("{0:dd.MM.yyyy}", at.End);
|
||||
days = (int)at.End.Value.Subtract(at.Start.Value).TotalDays + 1;
|
||||
}
|
||||
else
|
||||
{
|
||||
row.Cells[1].Text = "unbekannt";
|
||||
}
|
||||
|
||||
row.Cells[2].Text = String.Format("{0:0}", days);
|
||||
|
||||
index++;
|
||||
}
|
||||
|
||||
if (newRows > 0)
|
||||
{
|
||||
lblUnterschriftKlient.Top += newRows * 20;
|
||||
lblUnterschriftMitarbeiter.Top += newRows * 20;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
private void picSignature_BeforePrint(object sender, System.ComponentModel.CancelEventArgs e)
|
||||
{
|
||||
XRPictureBox xrBox = sender as XRPictureBox;
|
||||
//var test = this.GetCurrent
|
||||
string base64String = xrBox.Tag as string;
|
||||
if (!String.IsNullOrWhiteSpace(base64String))
|
||||
{
|
||||
var base64Data = Regex.Match(base64String, @"data:image/(?<type>.+?),(?<data>.+)").Groups["data"].Value;
|
||||
var binData = Convert.FromBase64String(base64Data);
|
||||
Image img = ByteArrayToImage(binData);
|
||||
xrBox.Image = Utils.CropImage(img);
|
||||
}
|
||||
else
|
||||
{
|
||||
xrBox.Image = null;
|
||||
}
|
||||
}
|
||||
|
||||
public Image ByteArrayToImage(byte[] byteArrayIn)
|
||||
{
|
||||
using(var memoryStream = new MemoryStream(byteArrayIn))
|
||||
{
|
||||
return Image.FromStream(memoryStream);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
126
ReportImp/CaritasverbandOstvest/Quittierungsbeleg.resx
Normal file
126
ReportImp/CaritasverbandOstvest/Quittierungsbeleg.resx
Normal file
@@ -0,0 +1,126 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<root>
|
||||
<!--
|
||||
Microsoft ResX Schema
|
||||
|
||||
Version 2.0
|
||||
|
||||
The primary goals of this format is to allow a simple XML format
|
||||
that is mostly human readable. The generation and parsing of the
|
||||
various data types are done through the TypeConverter classes
|
||||
associated with the data types.
|
||||
|
||||
Example:
|
||||
|
||||
... ado.net/XML headers & schema ...
|
||||
<resheader name="resmimetype">text/microsoft-resx</resheader>
|
||||
<resheader name="version">2.0</resheader>
|
||||
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
|
||||
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
|
||||
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
|
||||
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
|
||||
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
|
||||
<value>[base64 mime encoded serialized .NET Framework object]</value>
|
||||
</data>
|
||||
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
|
||||
<comment>This is a comment</comment>
|
||||
</data>
|
||||
|
||||
There are any number of "resheader" rows that contain simple
|
||||
name/value pairs.
|
||||
|
||||
Each data row contains a name, and value. The row also contains a
|
||||
type or mimetype. Type corresponds to a .NET class that support
|
||||
text/value conversion through the TypeConverter architecture.
|
||||
Classes that don't support this are serialized and stored with the
|
||||
mimetype set.
|
||||
|
||||
The mimetype is used for serialized objects, and tells the
|
||||
ResXResourceReader how to depersist the object. This is currently not
|
||||
extensible. For a given mimetype the value must be set accordingly:
|
||||
|
||||
Note - application/x-microsoft.net.object.binary.base64 is the format
|
||||
that the ResXResourceWriter will generate, however the reader can
|
||||
read any of the formats listed below.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.binary.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.soap.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.bytearray.base64
|
||||
value : The object must be serialized into a byte array
|
||||
: using a System.ComponentModel.TypeConverter
|
||||
: and then encoded with base64 encoding.
|
||||
-->
|
||||
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
|
||||
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
|
||||
<xsd:element name="root" msdata:IsDataSet="true">
|
||||
<xsd:complexType>
|
||||
<xsd:choice maxOccurs="unbounded">
|
||||
<xsd:element name="metadata">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" use="required" type="xsd:string" />
|
||||
<xsd:attribute name="type" type="xsd:string" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="assembly">
|
||||
<xsd:complexType>
|
||||
<xsd:attribute name="alias" type="xsd:string" />
|
||||
<xsd:attribute name="name" type="xsd:string" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="data">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
|
||||
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="resheader">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:choice>
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:schema>
|
||||
<resheader name="resmimetype">
|
||||
<value>text/microsoft-resx</value>
|
||||
</resheader>
|
||||
<resheader name="version">
|
||||
<value>2.0</value>
|
||||
</resheader>
|
||||
<resheader name="reader">
|
||||
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<resheader name="writer">
|
||||
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<data name="xrRichText2.SerializableRtfString" xml:space="preserve">
|
||||
<value>ewBcAHIAdABmADEAXABkAGUAZgBmADAAewBcAGYAbwBuAHQAdABiAGwAewBcAGYAMAAgAEMAYQBsAGkAYgByAGkAOwB9AHsAXABmADEAIABUAGkAbQBlAHMAIABOAGUAdwAgAFIAbwBtAGEAbgA7AH0AewBcAGYAMgAgAEEAcgBpAGEAbAA7AH0AfQB7AFwAYwBvAGwAbwByAHQAYgBsACAAOwBcAHIAZQBkADAAXABnAHIAZQBlAG4AMABcAGIAbAB1AGUAMAAgADsAXAByAGUAZAAwAFwAZwByAGUAZQBuADAAXABiAGwAdQBlADIANQA1ACAAOwB9AHsAXAAqAFwAZABlAGYAYwBoAHAAIABcAGYAMQBcAGYAcwAyADQAfQB7AFwAcwB0AHkAbABlAHMAaABlAGUAdAAgAHsAXABxAGwAXABmADEAXABmAHMAMgA0ACAATgBvAHIAbQBhAGwAOwB9AHsAXAAqAFwAYwBzADEAXABmADEAXABmAHMAMgA0AFwAYwBmADEAIABEAGUAZgBhAHUAbAB0ACAAUABhAHIAYQBnAHIAYQBwAGgAIABGAG8AbgB0ADsAfQB7AFwAKgBcAGMAcwAyAFwAcwBiAGEAcwBlAGQAbwBuADEAXABmADEAXABmAHMAMgA0AFwAYwBmADEAIABMAGkAbgBlACAATgB1AG0AYgBlAHIAOwB9AHsAXAAqAFwAYwBzADMAXAB1AGwAXABmADEAXABmAHMAMgA0AFwAYwBmADIAIABIAHkAcABlAHIAbABpAG4AawA7AH0AewBcACoAXAB0AHMANABcAHQAcwByAG8AdwBkAFwAZgAxAFwAZgBzADIANABcAHEAbABcAHQAcwBjAGUAbABsAHAAYQBkAGQAZgBsADMAXAB0AHMAYwBlAGwAbABwAGEAZABkAGwAMQAwADgAXAB0AHMAYwBlAGwAbABwAGEAZABkAGYAYgAzAFwAdABzAGMAZQBsAGwAcABhAGQAZABmAHIAMwBcAHQAcwBjAGUAbABsAHAAYQBkAGQAcgAxADAAOABcAHQAcwBjAGUAbABsAHAAYQBkAGQAZgB0ADMAXAB0AHMAdgBlAHIAdABhAGwAdABcAGMAbAB0AHgAbAByAHQAYgAgAE4AbwByAG0AYQBsACAAVABhAGIAbABlADsAfQB7AFwAKgBcAHQAcwA1AFwAdABzAHIAbwB3AGQAXABzAGIAYQBzAGUAZABvAG4ANABcAGYAMQBcAGYAcwAyADQAXABxAGwAXAB0AHIAYgByAGQAcgB0AFwAYgByAGQAcgBzAFwAYgByAGQAcgB3ADEAMABcAHQAcgBiAHIAZAByAGwAXABiAHIAZAByAHMAXABiAHIAZAByAHcAMQAwAFwAdAByAGIAcgBkAHIAYgBcAGIAcgBkAHIAcwBcAGIAcgBkAHIAdwAxADAAXAB0AHIAYgByAGQAcgByAFwAYgByAGQAcgBzAFwAYgByAGQAcgB3ADEAMABcAHQAcgBiAHIAZAByAGgAXABiAHIAZAByAHMAXABiAHIAZAByAHcAMQAwAFwAdAByAGIAcgBkAHIAdgBcAGIAcgBkAHIAcwBcAGIAcgBkAHIAdwAxADAAXAB0AHMAYwBlAGwAbABwAGEAZABkAGYAbAAzAFwAdABzAGMAZQBsAGwAcABhAGQAZABsADEAMAA4AFwAdABzAGMAZQBsAGwAcABhAGQAZABmAHIAMwBcAHQAcwBjAGUAbABsAHAAYQBkAGQAcgAxADAAOABcAHQAcwB2AGUAcgB0AGEAbAB0AFwAYwBsAHQAeABsAHIAdABiACAAVABhAGIAbABlACAAUwBpAG0AcABsAGUAIAAxADsAfQB9AHsAXAAqAFwAbABpAHMAdABvAHYAZQByAHIAaQBkAGUAdABhAGIAbABlAH0AXABuAG8AdQBpAGMAbwBtAHAAYQB0AFwAcwBwAGwAeQB0AHcAbgBpAG4AZQBcAGgAdABtAGEAdQB0AHMAcABcAHAAYQByAGQAXABwAGwAYQBpAG4AXABxAGwAewBcAGYAMgBcAGYAcwAyADAAXABjAGYAMQAgAEsAZQBpAG4AZQAgAH0AewBcAGwAYQBuAGcAMQAwADMAMQBcAGwAYQBuAGcAZgBlADEAMAAzADEAXAB1AGwAXABmADIAXABmAHMAMgAwAFwAYwBmADEAIABLAHIAYQBuAGsAZQBuAGgAYQB1AHMAYQB1AGYAZQBuAHQAaABhAGwAdABlAH0AXABsAGEAbgBnADEAMAAzADEAXABsAGEAbgBnAGYAZQAxADAAMwAxAFwAdQBsAFwAZgAyAFwAZgBzADIAMABcAGMAZgAxAFwAcABhAHIAXABwAGEAcgBkAFwAcABsAGEAaQBuAFwAcQBsAHsAXABsAGEAbgBnADEAMAAzADEAXABsAGEAbgBnAGYAZQAxADAAMwAxAFwAdQBsAFwAZgAyAFwAZgBzADIAMABcAGMAZgAxACAAYgBlAGsAYQBuAG4AdAAgAG8AZABlAHIAIAB9AFwAbABhAG4AZwAxADAAMwAxAFwAbABhAG4AZwBmAGUAMQAwADMAMQBcAHUAbABcAGYAMgBcAGYAcwAyADAAXABjAGYAMQBcAHAAYQByAFwAcABhAHIAZABcAHAAbABhAGkAbgBcAHEAbAB7AFwAbABhAG4AZwAxADAAMwAxAFwAbABhAG4AZwBmAGUAMQAwADMAMQBcAHUAbABcAGYAMgBcAGYAcwAyADAAXABjAGYAMQAgAGEAYgByAGUAYwBoAG4AdQBuAGcAcwByAGUAbABlAHYAYQBuAHQAfQB7AFwAbABhAG4AZwAxADAAMwAxAFwAbABhAG4AZwBmAGUAMQAwADMAMQBcAGYAMgBcAGYAcwAyADAAXABjAGYAMQAgACAAaQBtACAAQQBiAHIAZQBjAGgAbgB1AG4AZwBzAHoAZQBpAHQAcgBhAHUAbQB9AFwAbABhAG4AZwAxADAAMwAxAFwAbABhAG4AZwBmAGUAMQAwADMAMQBcAGYAMQBcAGYAcwAyADQAXABjAGYAMQBcAHAAYQByAH0A</value>
|
||||
</data>
|
||||
<data name="xrRichText1.SerializableRtfString" xml:space="preserve">
|
||||
<value>ewBcAHIAdABmADEAXABkAGUAZgBmADAAewBcAGYAbwBuAHQAdABiAGwAewBcAGYAMAAgAEMAYQBsAGkAYgByAGkAOwB9AHsAXABmADEAIABUAGkAbQBlAHMAIABOAGUAdwAgAFIAbwBtAGEAbgA7AH0AewBcAGYAMgAgAEEAcgBpAGEAbAA7AH0AfQB7AFwAYwBvAGwAbwByAHQAYgBsACAAOwBcAHIAZQBkADAAXABnAHIAZQBlAG4AMABcAGIAbAB1AGUAMAAgADsAXAByAGUAZAAwAFwAZwByAGUAZQBuADAAXABiAGwAdQBlADIANQA1ACAAOwB9AHsAXAAqAFwAZABlAGYAYwBoAHAAIABcAGYAMQBcAGYAcwAyADQAfQB7AFwAcwB0AHkAbABlAHMAaABlAGUAdAAgAHsAXABxAGwAXABmADEAXABmAHMAMgA0ACAATgBvAHIAbQBhAGwAOwB9AHsAXAAqAFwAYwBzADEAXABmADEAXABmAHMAMgA0AFwAYwBmADEAIABEAGUAZgBhAHUAbAB0ACAAUABhAHIAYQBnAHIAYQBwAGgAIABGAG8AbgB0ADsAfQB7AFwAKgBcAGMAcwAyAFwAcwBiAGEAcwBlAGQAbwBuADEAXABmADEAXABmAHMAMgA0AFwAYwBmADEAIABMAGkAbgBlACAATgB1AG0AYgBlAHIAOwB9AHsAXAAqAFwAYwBzADMAXAB1AGwAXABmADEAXABmAHMAMgA0AFwAYwBmADIAIABIAHkAcABlAHIAbABpAG4AawA7AH0AewBcACoAXAB0AHMANABcAHQAcwByAG8AdwBkAFwAZgAxAFwAZgBzADIANABcAHEAbABcAHQAcwBjAGUAbABsAHAAYQBkAGQAZgBsADMAXAB0AHMAYwBlAGwAbABwAGEAZABkAGwAMQAwADgAXAB0AHMAYwBlAGwAbABwAGEAZABkAGYAYgAzAFwAdABzAGMAZQBsAGwAcABhAGQAZABmAHIAMwBcAHQAcwBjAGUAbABsAHAAYQBkAGQAcgAxADAAOABcAHQAcwBjAGUAbABsAHAAYQBkAGQAZgB0ADMAXAB0AHMAdgBlAHIAdABhAGwAdABcAGMAbAB0AHgAbAByAHQAYgAgAE4AbwByAG0AYQBsACAAVABhAGIAbABlADsAfQB7AFwAKgBcAHQAcwA1AFwAdABzAHIAbwB3AGQAXABzAGIAYQBzAGUAZABvAG4ANABcAGYAMQBcAGYAcwAyADQAXABxAGwAXAB0AHIAYgByAGQAcgB0AFwAYgByAGQAcgBzAFwAYgByAGQAcgB3ADEAMABcAHQAcgBiAHIAZAByAGwAXABiAHIAZAByAHMAXABiAHIAZAByAHcAMQAwAFwAdAByAGIAcgBkAHIAYgBcAGIAcgBkAHIAcwBcAGIAcgBkAHIAdwAxADAAXAB0AHIAYgByAGQAcgByAFwAYgByAGQAcgBzAFwAYgByAGQAcgB3ADEAMABcAHQAcgBiAHIAZAByAGgAXABiAHIAZAByAHMAXABiAHIAZAByAHcAMQAwAFwAdAByAGIAcgBkAHIAdgBcAGIAcgBkAHIAcwBcAGIAcgBkAHIAdwAxADAAXAB0AHMAYwBlAGwAbABwAGEAZABkAGYAbAAzAFwAdABzAGMAZQBsAGwAcABhAGQAZABsADEAMAA4AFwAdABzAGMAZQBsAGwAcABhAGQAZABmAHIAMwBcAHQAcwBjAGUAbABsAHAAYQBkAGQAcgAxADAAOABcAHQAcwB2AGUAcgB0AGEAbAB0AFwAYwBsAHQAeABsAHIAdABiACAAVABhAGIAbABlACAAUwBpAG0AcABsAGUAIAAxADsAfQB9AHsAXAAqAFwAbABpAHMAdABvAHYAZQByAHIAaQBkAGUAdABhAGIAbABlAH0AXABuAG8AdQBpAGMAbwBtAHAAYQB0AFwAcwBwAGwAeQB0AHcAbgBpAG4AZQBcAGgAdABtAGEAdQB0AHMAcABcAHAAYQByAGQAXABwAGwAYQBpAG4AXABxAGwAewBcAGYAMgBcAGYAcwAyADAAXABjAGYAMQAgAEsAZQBpAG4AZQAgAH0AewBcAHUAbABcAGYAMgBcAGYAcwAyADAAXABjAGYAMQAgAEcAcgB1AHAAcABlAG4AYQBuAGcAZQBiAG8AdABlAH0AewBcAGYAMgBcAGYAcwAyADAAXABjAGYAMQAgACAAaQBtACAAQQBiAHIAZQBjAGgAbgB1AG4AZwBzAHoAZQBpAHQAcgBhAHUAbQB9AFwAZgAxAFwAZgBzADIANABcAGMAZgAxAFwAcABhAHIAfQA=</value>
|
||||
</data>
|
||||
</root>
|
||||
@@ -105,7 +105,7 @@ namespace BeWo.ChristopherusHaus.Export
|
||||
}
|
||||
else
|
||||
{
|
||||
betrag = betrag * 4.33;
|
||||
betrag = betrag * 4.34;
|
||||
}
|
||||
sb.Append(String.Format("{0:0.00}", Math.Round(betrag, 2, MidpointRounding.AwayFromZero)));
|
||||
}
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user