Merge branch 'master' into feature_rene_17_xrechnung
# Conflicts: # BeWo/BeWo.csproj # Host/Web.config
This commit is contained in:
@@ -39,16 +39,16 @@
|
||||
<UpdatePeriodically>false</UpdatePeriodically>
|
||||
<UpdateRequired>true</UpdateRequired>
|
||||
<MapFileExtensions>false</MapFileExtensions>
|
||||
<InstallUrl>https://app.ownsoft.de/test/</InstallUrl>
|
||||
<InstallUrl>https://app.ownsoft.de/</InstallUrl>
|
||||
<TargetCulture>de-DE</TargetCulture>
|
||||
<ProductName>BeWoPlaner</ProductName>
|
||||
<PublisherName>ownSoft GmbH</PublisherName>
|
||||
<MinimumRequiredVersion>2.0.1.266</MinimumRequiredVersion>
|
||||
<MinimumRequiredVersion>2.0.1.268</MinimumRequiredVersion>
|
||||
<CreateWebPageOnPublish>true</CreateWebPageOnPublish>
|
||||
<WebPage>publish.htm</WebPage>
|
||||
<OpenBrowserOnPublish>false</OpenBrowserOnPublish>
|
||||
<TrustUrlParameters>true</TrustUrlParameters>
|
||||
<ApplicationRevision>267</ApplicationRevision>
|
||||
<ApplicationRevision>269</ApplicationRevision>
|
||||
<ApplicationVersion>2.0.1.%2a</ApplicationVersion>
|
||||
<UseApplicationTrust>false</UseApplicationTrust>
|
||||
<CreateDesktopShortcut>true</CreateDesktopShortcut>
|
||||
@@ -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\GeneratedAccountingEnhancedService.cs" />
|
||||
@@ -3559,6 +3558,8 @@
|
||||
<Resource Include="Ressources\Icons\chatbot2.png" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Folder Include="Converter\Features\" />
|
||||
<Folder Include="Scripts\" />
|
||||
<Folder Include="View\Controls\Popup\" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<PropertyGroup>
|
||||
<PublishUrlHistory>D:\Projects\beyondsoft\BeWoPlaner\Publish\|publish\|D:\Projects\beyondsoft\BeWoPlaner\PublishTest\|D:\Projects\beyondsoft\BeWoPlaner\PublishDev\|D:\Projects\beyondsoft\BeWoPlaner\Publish45\</PublishUrlHistory>
|
||||
<InstallUrlHistory>https://app.ownsoft.de/test/|https://app.ownsoft.de/|https://app.ownsoft.de/dev/|http://app.ownsoft.de/dev/|http://app.beyondsoft.de/dev/</InstallUrlHistory>
|
||||
<InstallUrlHistory>https://app.ownsoft.de/|https://app.ownsoft.de/test/|https://app.ownsoft.de/dev/|http://app.ownsoft.de/dev/|http://app.beyondsoft.de/dev/</InstallUrlHistory>
|
||||
<SupportUrlHistory />
|
||||
<UpdateUrlHistory>https://app.ownsoft.de/|https://app.ownsoft.de/bewoplaner.application/</UpdateUrlHistory>
|
||||
<BootstrapperUrlHistory />
|
||||
|
||||
@@ -58,7 +58,7 @@ namespace BeWo
|
||||
|
||||
public static string ShortVersion = "3.26";
|
||||
|
||||
public static string Version = "Version 3.26 Test";
|
||||
public static string Version = "Version 3.26";
|
||||
|
||||
public static int RenderTier = 0;
|
||||
public static bool IsInDesignMode = DesignerProperties.GetIsInDesignMode(new DependencyObject());
|
||||
|
||||
@@ -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();
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -146,11 +146,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
|
||||
});
|
||||
|
||||
|
||||
@@ -178,7 +178,7 @@ namespace BeWo
|
||||
}
|
||||
|
||||
|
||||
if (BeWoApp.LoggedOnUser != null && BeWoApp.LoggedOnUser.HasRight(UserRightType.DocumentsAllowViewAll))
|
||||
if (BeWoApp.LoggedOnUser != null && BeWoApp.LoggedOnUser.HasRight(UserRightType.DocumentsAllowViewAll) && BeWoApp.AppSettings.ShowWohnhilfe)
|
||||
{
|
||||
this.button_Dokumente.Visibility = Visibility.Visible;
|
||||
}
|
||||
|
||||
@@ -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)
|
||||
|
||||
@@ -621,12 +621,14 @@
|
||||
<ResourceDictionary Source="..\..\..\Styles\ModernOrangeBlack.xaml" />
|
||||
</StackPanel.Resources>
|
||||
<Button
|
||||
x:Name="btnOpenAi2"
|
||||
Margin="3"
|
||||
HorizontalAlignment="Stretch"
|
||||
Command="{Binding Path=OpenAiWindowCommand, RelativeSource={RelativeSource AncestorType={x:Type localView:BeWoView}}}">
|
||||
AI Chat Window
|
||||
</Button>
|
||||
<Button
|
||||
x:Name="btnOpenAi3"
|
||||
Margin="3"
|
||||
HorizontalAlignment="Stretch"
|
||||
Command="{Binding Path=OpenAiPopupCommand, RelativeSource={RelativeSource AncestorType={x:Type localView:BeWoView}}}">
|
||||
|
||||
@@ -350,7 +350,16 @@ 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; }
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -18,6 +18,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;
|
||||
@@ -218,7 +219,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)
|
||||
{
|
||||
|
||||
@@ -327,6 +327,7 @@
|
||||
<Compile Include="Models\ReportViewerModel.cs" />
|
||||
<Compile Include="Models\SchedulerModel.cs" />
|
||||
<Compile Include="Util\DcToMokMapper.cs" />
|
||||
<Compile Include="Util\MokServiceRecord.cs" />
|
||||
<Compile Include="Util\MokMandator.cs" />
|
||||
<Compile Include="Util\MokSettings.cs" />
|
||||
<Compile Include="Util\AppointmentListItem.cs" />
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<PropertyGroup>
|
||||
<UseIISExpress>false</UseIISExpress>
|
||||
|
||||
@@ -1336,6 +1336,7 @@ namespace BeWoPlanerMobil.Controllers
|
||||
LoadCustomerToModel(customer.CustomerOid);
|
||||
|
||||
Model.SelectedAbsenceTime = null;
|
||||
Model.SelectedAbsenceTimeOid = null;
|
||||
Model.SelectedAbsenceReasonOid = -1;
|
||||
|
||||
return RedirectToActionPermanent("Customer", new { id = customer.CustomerOid });
|
||||
|
||||
@@ -193,10 +193,10 @@ namespace BeWoPlanerMobil.Controllers
|
||||
Model.SelectedCostBearer2SupportConceptRelListObject = Model.SupportConceptListObjects.FirstOrDefault(f => f.CostBearer2SupportConceptOid == Model.SelectedCostBearerSupportConceptOid) ?? Model.SupportConceptListObjects.First();
|
||||
}
|
||||
|
||||
if (Model.SelectedSupportConceptOid.HasValue)
|
||||
{
|
||||
//if (Model.SelectedSupportConceptOid.HasValue)
|
||||
//{
|
||||
|
||||
}
|
||||
//}
|
||||
|
||||
if (Model.SelectedConceptCostBearerRelationOids.Count > 0)
|
||||
{
|
||||
@@ -213,7 +213,10 @@ namespace BeWoPlanerMobil.Controllers
|
||||
LoadSupportConceptThings(Model.SelectedCostBearerSupportConceptOid);
|
||||
LoadPaginatedServiceRecordsToModel(Model.CurrentPage);
|
||||
}
|
||||
|
||||
else if (Model.IsInGroupBookingMode || Model.IsInMultiBookingMode)
|
||||
{
|
||||
LoadSupportConceptThings(null);
|
||||
}
|
||||
if (Model.AllGoals != null)
|
||||
{
|
||||
Model.SelectedGoals = Model.AllGoals.Where(g => Model.SelectedGoalOids.Contains(g.ValueListEntryOid.Value)).ToList();
|
||||
@@ -1371,10 +1374,34 @@ namespace BeWoPlanerMobil.Controllers
|
||||
{
|
||||
Log.Error(e.Message, e);
|
||||
}
|
||||
if (!Model.IsInGroupBookingMode && !Model.IsInMultiBookingMode)
|
||||
{
|
||||
//Setze den zuletzt ausgewählten HP zurück, sonst springt die Anzeige dorthin
|
||||
Model.PreviouslySelectedCostbearer2SupportConceptOid = null;
|
||||
}
|
||||
|
||||
|
||||
//Wenn nicht im Editing Mode, dann behalte die zuletzt ausgewählte Leistung bei, die im Reset zurückgesetzt wird
|
||||
long? oldCatOid = null;
|
||||
long? oldDescOid = null;
|
||||
|
||||
if (!Model.IsInEditingMode)
|
||||
{
|
||||
oldCatOid = Model.SelectedServiceCategoryOid;
|
||||
oldDescOid = Model.SelectedServiceDescriptionOid;
|
||||
}
|
||||
|
||||
ResetBookingMode(Model.IsInGroupBookingMode ? BookingMode.GroupBookingMode : BookingMode.SingleBookingMode);
|
||||
|
||||
return ResetEditingMode();
|
||||
var result = ResetEditingMode();
|
||||
|
||||
if (oldCatOid.HasValue && oldDescOid.HasValue)
|
||||
{
|
||||
Model.SelectedServiceCategoryOid = oldCatOid;
|
||||
Model.SelectedServiceDescriptionOid = oldDescOid;
|
||||
}
|
||||
|
||||
return result;
|
||||
}
|
||||
|
||||
[Authorize]
|
||||
@@ -1827,7 +1854,7 @@ namespace BeWoPlanerMobil.Controllers
|
||||
long? cb2ScOid = Convert.ToInt64(formCollection[FormCollectionConstants.CostBearer2SupportConceptOidKey]);
|
||||
|
||||
Model.SelectedCostBearerSupportConceptOid = cb2ScOid;
|
||||
|
||||
Model.CurrentPage = 1;
|
||||
return RedirectToActionPermanent("Main");//ResetEditingMode();
|
||||
}
|
||||
catch (Exception e)
|
||||
@@ -2349,7 +2376,7 @@ namespace BeWoPlanerMobil.Controllers
|
||||
|
||||
Model.IsInEditingMode = true;
|
||||
|
||||
Model.PreviouslySelectedSupportConceptOid = Model.SelectedSupportConcept?.SupportConceptOid;
|
||||
//Model.PreviouslySelectedSupportConceptOid = Model.SelectedSupportConcept?.SupportConceptOid;
|
||||
Model.PreviouslySelectedCostbearer2SupportConceptOid = Model.SelectedCostBearerSupportConceptOid;
|
||||
|
||||
// Gruppenbuchung
|
||||
@@ -2357,7 +2384,7 @@ namespace BeWoPlanerMobil.Controllers
|
||||
{
|
||||
Model.IsInGroupBookingMode = true;
|
||||
|
||||
Model.SelectedSupportConceptOid = null;
|
||||
//Model.SelectedSupportConceptOid = null;
|
||||
Model.SelectedEmployeeOid = null;
|
||||
|
||||
var group = OperationsService.GetServiceRecordGroup(selectedServiceRecord.GroupOid.Value);
|
||||
@@ -3146,10 +3173,10 @@ namespace BeWoPlanerMobil.Controllers
|
||||
ResetMultiBookingMode();
|
||||
|
||||
Model.PreviouslySelectedEmployeeOid = Model.SelectedEmployeeOid;
|
||||
Model.PreviouslySelectedSupportConceptOid = Model.SelectedSupportConceptOid;
|
||||
//Model.PreviouslySelectedSupportConceptOid = Model.SelectedSupportConceptOid;
|
||||
Model.PreviouslySelectedCostbearer2SupportConceptOid = Model.SelectedCostBearerSupportConceptOid;
|
||||
|
||||
Model.SelectedSupportConceptOid = null;
|
||||
//Model.SelectedSupportConceptOid = null;
|
||||
Model.SelectedCostBearerSupportConceptOid = null;
|
||||
Model.SelectedEmployeeOid = null;
|
||||
|
||||
@@ -3164,11 +3191,11 @@ namespace BeWoPlanerMobil.Controllers
|
||||
ResetGroupBookingMode();
|
||||
|
||||
Model.PreviouslySelectedEmployeeOid = Model.SelectedEmployeeOid;
|
||||
Model.PreviouslySelectedSupportConceptOid = Model.SelectedSupportConceptOid;
|
||||
//Model.PreviouslySelectedSupportConceptOid = Model.SelectedSupportConceptOid;
|
||||
Model.PreviouslySelectedCostbearer2SupportConceptOid = Model.SelectedCostBearerSupportConceptOid;
|
||||
|
||||
|
||||
Model.SelectedSupportConceptOid = null;
|
||||
//Model.SelectedSupportConceptOid = null;
|
||||
Model.SelectedCostBearerSupportConceptOid = null;
|
||||
Model.SelectedEmployeeOid = null;
|
||||
|
||||
@@ -3185,10 +3212,10 @@ namespace BeWoPlanerMobil.Controllers
|
||||
|
||||
Model.SelectedEmployeeOid = Model.PreviouslySelectedEmployeeOid ?? LoggedInUser.Employee.EmployeeOid;
|
||||
|
||||
if (Model.PreviouslySelectedSupportConceptOid.HasValue)
|
||||
{
|
||||
Model.SelectedSupportConceptOid = Model.PreviouslySelectedSupportConceptOid;
|
||||
}
|
||||
//if (Model.PreviouslySelectedSupportConceptOid.HasValue)
|
||||
//{
|
||||
// Model.SelectedSupportConceptOid = Model.PreviouslySelectedSupportConceptOid;
|
||||
//}
|
||||
if (Model.PreviouslySelectedCostbearer2SupportConceptOid.HasValue)
|
||||
{
|
||||
Model.SelectedCostBearerSupportConceptOid = Model.PreviouslySelectedCostbearer2SupportConceptOid;
|
||||
@@ -3196,9 +3223,10 @@ namespace BeWoPlanerMobil.Controllers
|
||||
|
||||
|
||||
ResetGroupBookingMode();
|
||||
ResetMultiBookingMode();
|
||||
}
|
||||
|
||||
Model.SelectedSupportConceptOid = Model.SelectedSupportConcept?.SupportConceptOid;
|
||||
//Model.SelectedSupportConceptOid = Model.SelectedSupportConcept?.SupportConceptOid;
|
||||
Model.SelectedEmployeeOid = Model.SelectedEmployee?.EmployeeOid;
|
||||
Model.SelectedServiceRecordOid = Model.SelectedServiceRecord?.ServiceRecordOid;
|
||||
|
||||
@@ -3266,9 +3294,10 @@ namespace BeWoPlanerMobil.Controllers
|
||||
return Logout();
|
||||
}
|
||||
|
||||
if(Model.PreviouslySelectedSupportConceptOid != null && Model.SelectedSupportConceptOid is null)
|
||||
//if(Model.PreviouslySelectedSupportConceptOid != null && Model.SelectedSupportConceptOid is null)
|
||||
if (Model.PreviouslySelectedCostbearer2SupportConceptOid != null && Model.SelectedCostBearerSupportConceptOid is null)
|
||||
{
|
||||
Model.SelectedSupportConceptOid = Model.PreviouslySelectedSupportConceptOid;
|
||||
//Model.SelectedSupportConceptOid = Model.PreviouslySelectedSupportConceptOid;
|
||||
Model.SelectedCostBearerSupportConceptOid = Model.PreviouslySelectedCostbearer2SupportConceptOid;
|
||||
}
|
||||
|
||||
|
||||
@@ -748,7 +748,7 @@ namespace BeWoPlanerMobil.Controllers
|
||||
(Model.Customers.FirstOrDefault(f => f.CustomerOid.Equals(signature.CustomerOid))?.LastNameFirstName ?? "unbekannt") :
|
||||
signature.Employee.SimpleDescription;
|
||||
|
||||
result.AddIfNotIn(new ConfirmationReceiptSignatureObject(img, date, personName, signature.SignatureType == SignatureType.Employee, signature.ServiceRecords));
|
||||
result.AddIfNotIn(new ConfirmationReceiptSignatureObject(img, date, personName, signature.SignatureType == SignatureType.Employee, signature.ServiceRecords.Select(s => DcToMokMapper.CreateServiceRecord(s, Model)).ToList()));
|
||||
}
|
||||
|
||||
return result;
|
||||
@@ -845,14 +845,9 @@ namespace BeWoPlanerMobil.Controllers
|
||||
return;
|
||||
}
|
||||
|
||||
if(!Guid.TryParse(guid, out var identifier))
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
var list = Model.ConfirmationReceiptObject.ConfirmationReceiptResultList;
|
||||
|
||||
var confirmationReceiptResult = list.FirstOrDefault(obj => obj.Identifier.Equals(identifier));
|
||||
var confirmationReceiptResult = list.FirstOrDefault(obj => obj.Identifier.Equals(guid));
|
||||
|
||||
if(confirmationReceiptResult is null)
|
||||
{
|
||||
@@ -878,12 +873,7 @@ namespace BeWoPlanerMobil.Controllers
|
||||
PartialView("ConfirmationReceiptSignaturePartial");
|
||||
}
|
||||
|
||||
if(!Guid.TryParse(identifier, out var resultIdentifier))
|
||||
{
|
||||
return PartialView("ConfirmationReceiptSignaturePartial", Model);
|
||||
}
|
||||
|
||||
var obj = Model.ConfirmationReceiptObject.ConfirmationReceiptResultList.FirstOrDefault(f => f.Identifier.Equals(resultIdentifier));
|
||||
var obj = Model.ConfirmationReceiptObject.ConfirmationReceiptResultList.FirstOrDefault(f => f.Identifier.Equals(identifier));
|
||||
|
||||
if(obj is null)
|
||||
{
|
||||
@@ -1260,7 +1250,7 @@ namespace BeWoPlanerMobil.Controllers
|
||||
employeeSignatureState = !areAllForeignEntriesSigned && areAllOwnEntriesSigned ? SignatureState.AllOwnServiceRecords : employeeSignatureState;
|
||||
}
|
||||
|
||||
Model.ConfirmationReceiptObject = null;
|
||||
Model.ConfirmationReceiptObject = null;
|
||||
Model.ConfirmationReceiptObject = new ConfirmationReceiptObject(
|
||||
BuildInformationString(),
|
||||
new List<QuittierungsbelegResult>(),
|
||||
@@ -1393,19 +1383,21 @@ namespace BeWoPlanerMobil.Controllers
|
||||
}
|
||||
}
|
||||
|
||||
[Serializable]
|
||||
public class ConfirmationReceiptSignatureObject
|
||||
{
|
||||
public Guid Identifier { get; }
|
||||
public String Identifier { get; }
|
||||
public string ImageStr { get; }
|
||||
public string InsTsStr { get; }
|
||||
public string PersonName { get; }
|
||||
public bool IsEmployeeSignature { get; }
|
||||
public int NumberOfServiceRecords { get; }
|
||||
public List<ServiceRecordDC> ServiceRecords { get; }
|
||||
|
||||
public List<MokServiceRecord> ServiceRecords { get; }
|
||||
|
||||
public ConfirmationReceiptSignatureObject(string imageStr, string insTsStr, string personName, bool isEmployeeSignature, List<ServiceRecordDC> serviceRecords)
|
||||
public ConfirmationReceiptSignatureObject(string imageStr, string insTsStr, string personName, bool isEmployeeSignature, List<MokServiceRecord> serviceRecords)
|
||||
{
|
||||
Identifier = Guid.NewGuid();
|
||||
Identifier = Guid.NewGuid().ToString();
|
||||
|
||||
ImageStr = imageStr;
|
||||
InsTsStr = insTsStr;
|
||||
|
||||
@@ -199,7 +199,7 @@ namespace BeWoPlanerMobil.Models
|
||||
|
||||
public ServiceRecordDC SelectedServiceRecord { get; set; }
|
||||
|
||||
public long? SelectedSupportConceptOid { get { return MainSessionModel.SelectedSupportConceptOid; } set { MainSessionModel.SelectedSupportConceptOid = value; } }
|
||||
//public long? SelectedSupportConceptOid { get { return MainSessionModel.SelectedSupportConceptOid; } set { MainSessionModel.SelectedSupportConceptOid = value; } }
|
||||
|
||||
public SupportConceptDC SelectedSupportConcept { get; set; }
|
||||
|
||||
@@ -409,8 +409,8 @@ namespace BeWoPlanerMobil.Models
|
||||
|
||||
public CompactEmployeeDC PreviouslySelectedEmployee { get; set; }
|
||||
|
||||
public long? PreviouslySelectedSupportConceptOid { get { return MainSessionModel.PreviouslySelectedSupportConceptOid; } set { MainSessionModel.PreviouslySelectedSupportConceptOid = value; } }
|
||||
public SupportConceptDC PreviouslySelectedSupportConcept { get; set; }
|
||||
//public long? PreviouslySelectedSupportConceptOid { get { return MainSessionModel.PreviouslySelectedSupportConceptOid; } set { MainSessionModel.PreviouslySelectedSupportConceptOid = value; } }
|
||||
//public SupportConceptDC PreviouslySelectedSupportConcept { get; set; }
|
||||
|
||||
|
||||
public long? PreviouslySelectedCostbearer2SupportConceptOid
|
||||
@@ -430,7 +430,7 @@ namespace BeWoPlanerMobil.Models
|
||||
}
|
||||
public bool IsEndDateVisible { get; set; }
|
||||
|
||||
public static string GetServiceRecordTimeHeader(ServiceRecordDC serviceRecord, bool isForServiceRecordsList)
|
||||
public static string GetServiceRecordTimeHeader(MokServiceRecord serviceRecord, bool isForServiceRecordsList)
|
||||
{
|
||||
if (serviceRecord?.Start is null || serviceRecord.End is null)
|
||||
{
|
||||
@@ -450,6 +450,26 @@ namespace BeWoPlanerMobil.Models
|
||||
return $"{GetServiceRecordTimeString(serviceRecord)} {gruppenInfo} {signatureToken}";
|
||||
}
|
||||
|
||||
public static string GetServiceRecordTimeHeader(ServiceRecordDC serviceRecord, bool isForServiceRecordsList)
|
||||
{
|
||||
if (serviceRecord?.Start is null || serviceRecord.End is null)
|
||||
{
|
||||
return string.Empty;
|
||||
}
|
||||
|
||||
var start = serviceRecord.Start.Value;
|
||||
var end = serviceRecord.End.Value;
|
||||
var gruppenInfo = string.Empty;
|
||||
var signatureToken = serviceRecord.SignatureOid.HasValue && isForServiceRecordsList ? "✔" : string.Empty;
|
||||
|
||||
if (serviceRecord.GroupOid.HasValue)
|
||||
{
|
||||
gruppenInfo = $"Gruppe ({serviceRecord.GroupPersonCount} Teilnehmer, {serviceRecord.GroupEmployeeCount} Betreuer) Dauer: {(end - start).TotalMinutes} {signatureToken}";
|
||||
}
|
||||
|
||||
return $"{GetServiceRecordTimeString(serviceRecord)} {gruppenInfo} {signatureToken}";
|
||||
}
|
||||
|
||||
public static string GetServiceRecordTimeString(ServiceRecordDC serviceRecord)
|
||||
{
|
||||
if(serviceRecord?.Start is null || serviceRecord.End is null)
|
||||
@@ -472,6 +492,27 @@ namespace BeWoPlanerMobil.Models
|
||||
$"{start.ToShortDateString()}";
|
||||
}
|
||||
|
||||
public static string GetServiceRecordTimeString(MokServiceRecord serviceRecord)
|
||||
{
|
||||
if (serviceRecord?.Start is null || serviceRecord.End is null)
|
||||
{
|
||||
return string.Empty;
|
||||
}
|
||||
|
||||
var start = serviceRecord.Start.Value;
|
||||
var end = serviceRecord.End.Value; //start.AddMinutes((int) serviceRecord.RoundedDuration), AB, 12.03.2025: Änderung vom 12.11.2024 rückgängig; Endzeit bleibt bei Gruppen- und Einzelbuchungen die tatäschliche Zeit - genau wie FAK
|
||||
|
||||
if (start.Second == 0)
|
||||
{
|
||||
return start.Date != end.Date ?
|
||||
$"{start.ToShortDateString()} {start.ToShortTimeString()} - {end.ToShortDateString()} {end.ToShortTimeString()}" :
|
||||
$"{start.ToShortDateString()} {start.ToShortTimeString()} - {end.ToShortTimeString()}";
|
||||
}
|
||||
|
||||
return start.Date != end.Date ?
|
||||
$"{start.ToShortDateString()} - {end.ToShortDateString()}" :
|
||||
$"{start.ToShortDateString()}";
|
||||
}
|
||||
public bool HasRightToEditServiceRecord(ServiceRecordDC serviceRecord)
|
||||
{
|
||||
var allowed = false;
|
||||
|
||||
@@ -133,8 +133,8 @@ namespace BeWoPlanerMobil.Models
|
||||
[Display(Name = "Bis")]
|
||||
public int? SelectedEndDay { get { return ReportSessionModel.SelectedEndDay; } set { ReportSessionModel.SelectedEndDay = value; } }
|
||||
|
||||
public ConfirmationReceiptObject ConfirmationReceiptObject { get; set; }
|
||||
|
||||
public ConfirmationReceiptObject ConfirmationReceiptObject { get { return ReportSessionModel.ConfirmationReceiptObject; } set { ReportSessionModel.ConfirmationReceiptObject = value; } }
|
||||
|
||||
[Display(Name = "Mitarbeiter")]
|
||||
public long? SelectedEmployeeOid { get { return ReportSessionModel.SelectedEmployeeOid; } set { ReportSessionModel.SelectedEmployeeOid = value; } }
|
||||
|
||||
@@ -273,9 +273,9 @@ namespace BeWoPlanerMobil.Models
|
||||
public bool IsForSelectedCostbearersOnly { get { return ReportSessionModel.IsForSelectedCostbearersOnly; } set { ReportSessionModel.IsForSelectedCostbearersOnly = value; } }
|
||||
public bool IsForSelectedCategoryOnly { get { return ReportSessionModel.IsForSelectedCategoryOnly; } set { ReportSessionModel.IsForSelectedCategoryOnly = value; } }
|
||||
|
||||
public List<ConfirmationReceiptSignatureObject> SelectedConfirmationReceiptSignatures { get; set; }
|
||||
public List<ConfirmationReceiptSignatureObject> SelectedConfirmationReceiptSignatures { get { return ReportSessionModel.SelectedConfirmationReceiptSignatures; } set { ReportSessionModel.SelectedConfirmationReceiptSignatures = value; } }
|
||||
|
||||
public Quittierungsbelegsunterschriftenobjekt Quittierungsbelegsunterschriftenobjekt { get; set; }
|
||||
public Quittierungsbelegsunterschriftenobjekt Quittierungsbelegsunterschriftenobjekt { get { return ReportSessionModel.Quittierungsbelegsunterschriftenobjekt; } set { ReportSessionModel.Quittierungsbelegsunterschriftenobjekt = value; } }
|
||||
|
||||
public AbstractReportCreator ReportCreator { get; set; }
|
||||
|
||||
|
||||
@@ -32,6 +32,9 @@ namespace BeWoPlanerMobil.Models
|
||||
public bool IsForSelectedCostbearersOnly { get; internal set; }
|
||||
public bool IsForSelectedCategoryOnly { get; internal set; }
|
||||
public QuittierungsbelegsReportSettings QuittierungsbelegsReportSettings { get; internal set; }
|
||||
public ConfirmationReceiptObject ConfirmationReceiptObject { get; internal set; }
|
||||
public Quittierungsbelegsunterschriftenobjekt Quittierungsbelegsunterschriftenobjekt { get; internal set; }
|
||||
public List<ConfirmationReceiptSignatureObject> SelectedConfirmationReceiptSignatures { get; internal set; }
|
||||
|
||||
public void ResetValues()
|
||||
{
|
||||
@@ -49,6 +52,9 @@ namespace BeWoPlanerMobil.Models
|
||||
IsForSelectedCostbearersOnly = false;
|
||||
IsForSelectedCategoryOnly = false;
|
||||
QuittierungsbelegsReportSettings = null;
|
||||
ConfirmationReceiptObject = null;
|
||||
Quittierungsbelegsunterschriftenobjekt = null;
|
||||
SelectedConfirmationReceiptSignatures = null;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -221,7 +221,10 @@ function calcDuration(idPrefix, isFormatChange, isInvokedByStart, isInvokedByEnd
|
||||
const endDateValue = endDateInput.val();
|
||||
const endTimeValue = endTimeInput.val();
|
||||
const durationValue = durationInput.val();
|
||||
const isInMin = hoursMinutesBtn.length === 0 || hoursMinutesBtn.length > 0 && hoursMinutesBtn.text().replaceAll(/\s/g, "") !== "Minuten";
|
||||
|
||||
//alert(hoursMinutesBtn.text());
|
||||
const isInMin = hoursMinutesBtn.length === 0 || hoursMinutesBtn.length > 0 && hoursMinutesBtn.text().replaceAll(/\s/g, "") === "Minuten";
|
||||
//alert(isInMin);
|
||||
const hasEndDate = endDateInput.length;
|
||||
|
||||
if (startDateValue.length === 0) {
|
||||
@@ -261,7 +264,8 @@ function calcDuration(idPrefix, isFormatChange, isInvokedByStart, isInvokedByEnd
|
||||
}
|
||||
|
||||
durationInput.val(dauer);
|
||||
} else if(true === isStartTimeValid && true === isDurationValid) {
|
||||
} else if (true === isStartTimeValid && true === isDurationValid) {
|
||||
var newDuration = duration;
|
||||
if(true === isFormatChange) {
|
||||
let newDurationValue = true === isInMin ? duration * 60.0 : duration / 60.0;
|
||||
|
||||
@@ -270,9 +274,10 @@ function calcDuration(idPrefix, isFormatChange, isInvokedByStart, isInvokedByEnd
|
||||
} else {
|
||||
durationInput.val(newDurationValue);
|
||||
}
|
||||
newDuration = newDurationValue;
|
||||
}
|
||||
|
||||
calcTimeWithDuration(startTimeValue, endTimeInput, start, duration, isFormatChange, isInMin);
|
||||
calcTimeWithDuration(startTimeValue, endTimeInput, start, newDuration, isFormatChange, isInMin);
|
||||
} else if(true === isEndTimeValid && true === isDurationValid) {
|
||||
if(true === isFormatChange) {
|
||||
durationInput.val(formatDuration(isInMin, true === isInMin ? duration * 60.0 : duration / 60.0));
|
||||
|
||||
@@ -151,6 +151,10 @@ namespace BeWoPlanerMobil.Service
|
||||
{
|
||||
//TODO: ist bei showPin=1 null!
|
||||
tenant = HttpContext.Current.Request.Params["tb_tenant"];
|
||||
if (!String.IsNullOrEmpty(tenant))
|
||||
{
|
||||
tenant = tenant.Trim();
|
||||
}
|
||||
MobileSessionFacade.Tenant = tenant;
|
||||
}
|
||||
|
||||
@@ -180,8 +184,8 @@ namespace BeWoPlanerMobil.Service
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
if(pin != null)
|
||||
tenant = tenant.Trim();
|
||||
if (pin != null)
|
||||
{
|
||||
var browserType = context.Request.Browser.Type;
|
||||
var browserPlatform = context.Request.Browser.Platform;
|
||||
@@ -189,6 +193,8 @@ namespace BeWoPlanerMobil.Service
|
||||
pin += "_" + browserType + "_" + browserPlatform;
|
||||
}
|
||||
|
||||
|
||||
|
||||
MobileSessionFacade.Tenant = tenant;
|
||||
var userService = new UserServiceImp();
|
||||
|
||||
|
||||
@@ -1,7 +1,11 @@
|
||||
using BeWoPlanerMobil.Models;
|
||||
using BS.Shared;
|
||||
using BS.Shared.DataContracts;
|
||||
using BS.Shared.DataContracts.Compact;
|
||||
using BS.Shared.DataContracts.Invoicing;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Runtime.Serialization;
|
||||
using System.Windows.Media;
|
||||
|
||||
@@ -19,5 +23,128 @@ namespace BeWoPlanerMobil.Util
|
||||
|
||||
}
|
||||
|
||||
public static MokServiceRecord CreateServiceRecord(ServiceRecordDC dc, ReportModel model)
|
||||
{
|
||||
var s = new MokServiceRecord
|
||||
{
|
||||
Oid = dc.ServiceRecordOid.Value,
|
||||
Start = dc.Start,
|
||||
End = dc.End,
|
||||
EmployeeName = dc.Employee.FirstNameLastName,
|
||||
ServiceCategoryName = dc.ServiceDescription.CategoryName,
|
||||
ServiceDescriptionName = dc.ServiceDescription.Name,
|
||||
SignatureOid = dc.SignatureOid,
|
||||
Notice = dc.Notice,
|
||||
Notice2 = dc.Notice2,
|
||||
Notice3 = dc.Notice3,
|
||||
Notice4 = dc.Notice4,
|
||||
Notice5 = dc.Notice5,
|
||||
RoundedDuration = dc.RoundedDuration,
|
||||
DistanceInMeterDecimal = dc.DistanceInMeterDecimal,
|
||||
Betrag = dc.Betrag,
|
||||
InsertedOn = dc.InsertedOn,
|
||||
InsUser = dc.InsUser,
|
||||
GroupOid = dc.GroupOid,
|
||||
GroupPersonCount = dc.GroupPersonCount,
|
||||
GroupEmployeeCount = dc.GroupEmployeeCount
|
||||
};
|
||||
|
||||
if (s.Start.HasValue && s.End.HasValue)
|
||||
{
|
||||
s.HasSignatureString = s.SignatureOid.HasValue ? "JA" : "NEIN";
|
||||
|
||||
var start = s.Start.Value;
|
||||
var end = s.End.Value;
|
||||
|
||||
var duration = (end - start).TotalMinutes;
|
||||
|
||||
var roundedDuration = MobileUtils.GetDecimalValueWithMaxDecimal(s.RoundedDuration, 2);
|
||||
|
||||
if (dc.ServiceDescription.Category.Percentage > 0 && dc.ServiceDescription.Category.Percentage < 100)
|
||||
{
|
||||
roundedDuration = roundedDuration * dc.ServiceDescription.Category.Percentage / 100;
|
||||
}
|
||||
|
||||
s.DurationString = dc.GroupOid.HasValue ? string.Format("{0:###0.#} ({0:###0.#})", roundedDuration) : $"{duration:###0.#} ({roundedDuration:###0.#})";
|
||||
|
||||
s.MassnahmenString = string.Empty;
|
||||
s.ZieleString = string.Empty;
|
||||
|
||||
if (dc.Goals != null && dc.Goals.Count > 0)
|
||||
{
|
||||
foreach (var goal in dc.Goals.Where(g => g.Type == ValueListEntryType.SupportConceptGoalType || g.Type == ValueListEntryType.SupportConceptIndividualGoalType))
|
||||
{
|
||||
if (goal.Abbreviation != null && goal.TypeDescription != null)
|
||||
{
|
||||
s.MassnahmenString += $"{goal.Abbreviation}: {goal.TypeDescription}";
|
||||
}
|
||||
else if (goal.Abbreviation is null && goal.TypeDescription != null)
|
||||
{
|
||||
s.MassnahmenString += goal.TypeDescription;
|
||||
}
|
||||
else if (goal.Abbreviation != null && goal.TypeDescription is null)
|
||||
{
|
||||
s.MassnahmenString += goal.Abbreviation;
|
||||
}
|
||||
|
||||
#if DEBUG
|
||||
if (goal.RatingTypeOid.HasValue)
|
||||
{
|
||||
var goalRating = model.GoalRatingTypes.FirstOrDefault(g => g.RatingTypeOid.HasValue && g.RatingTypeOid.Equals(goal.RatingTypeOid.Value));
|
||||
|
||||
if (goalRating?.DisplayName != null && goalRating.DisplayName.Length > 0)
|
||||
{
|
||||
s.MassnahmenString += $" <strong style='color: blue;'>({goalRating.DisplayName})</strong>";
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
if (dc.Goals.IndexOf(goal) < dc.Goals.Count - 1)
|
||||
{
|
||||
s.MassnahmenString += ", ";
|
||||
}
|
||||
}
|
||||
|
||||
if (model.ServiceRecordOids2GoalHeader.ContainsKey(s.Oid))
|
||||
{
|
||||
var ziele = dc.Goals.Where(g => g.Type == ValueListEntryType.SupportConceptIndividualGoalCategoryType || g.Type == ValueListEntryType.SupportConceptGoalCategoryType).ToList();
|
||||
|
||||
foreach (var ziel in ziele)
|
||||
{
|
||||
if (ziel.Abbreviation != null && ziel.TypeDescription != null)
|
||||
{
|
||||
s.ZieleString += $"{ziel.Abbreviation}: {ziel.TypeDescription} ";
|
||||
}
|
||||
else if (ziel.Abbreviation is null && ziel.TypeDescription != null)
|
||||
{
|
||||
s.ZieleString += ziel.TypeDescription;
|
||||
}
|
||||
else if (ziel.Abbreviation != null && ziel.TypeDescription is null)
|
||||
{
|
||||
s.ZieleString += ziel.Abbreviation;
|
||||
}
|
||||
|
||||
#if DEBUG
|
||||
if (ziel.RatingTypeOid.HasValue)
|
||||
{
|
||||
var zielbewertung = model.GoalRatingTypes.FirstOrDefault(goalRatingType => goalRatingType.RatingTypeOid.HasValue && goalRatingType.RatingTypeOid.Equals(ziel.RatingTypeOid.Value));
|
||||
|
||||
if (zielbewertung?.DisplayName != null && zielbewertung.DisplayName.Length > 0)
|
||||
{
|
||||
s.ZieleString += $" <strong style='color: blue;'>({zielbewertung.DisplayName})</strong>";
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
s.ZieleString += ", ";
|
||||
}
|
||||
}
|
||||
|
||||
s.ZieleString = s.ZieleString.TrimEnd(' ').TrimEnd(',');
|
||||
}
|
||||
}
|
||||
|
||||
return s;
|
||||
}
|
||||
}
|
||||
}
|
||||
78
BeWoPlanerMobil/Util/MokServiceRecord.cs
Normal file
78
BeWoPlanerMobil/Util/MokServiceRecord.cs
Normal file
@@ -0,0 +1,78 @@
|
||||
using BS.Shared.DataContracts.Compact;
|
||||
using BS.Shared.DataContracts.Invoicing;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Runtime.Serialization;
|
||||
using System.Windows.Media;
|
||||
|
||||
namespace BeWoPlanerMobil.Util
|
||||
{
|
||||
[Serializable]
|
||||
public class MokServiceRecord
|
||||
{
|
||||
public long Oid { get; set; }
|
||||
|
||||
public DateTime? Start { get; set; }
|
||||
|
||||
public DateTime? End { get; set; }
|
||||
|
||||
public String EmployeeName { get; set; }
|
||||
|
||||
public String ServiceCategoryName { get; set; }
|
||||
|
||||
public String ServiceDescriptionName { get; set; }
|
||||
|
||||
public long? SignatureOid { get; set; }
|
||||
|
||||
public string Notice { get; set; }
|
||||
|
||||
public string Notice2 { get; set; }
|
||||
|
||||
public string Notice3 { get; set; }
|
||||
|
||||
public string Notice4 { get; set; }
|
||||
|
||||
public string Notice5 { get; set; }
|
||||
|
||||
public decimal RoundedDuration { get; set; }
|
||||
public String DurationString { get; set; }
|
||||
|
||||
public decimal? DistanceInMeterDecimal { get; set; }
|
||||
|
||||
public decimal? Betrag { get; set; }
|
||||
|
||||
public List<String> Goals { get; set; }
|
||||
public String ZieleString { get; set; }
|
||||
public String MassnahmenString { get; set; }
|
||||
public String HasSignatureString { get; set; }
|
||||
|
||||
public DateTime? InsertedOn { get; set; }
|
||||
|
||||
public string InsUser { get; set; }
|
||||
|
||||
public long? GroupOid { get; set; }
|
||||
|
||||
public int? GroupPersonCount { get; set; }
|
||||
public int? GroupEmployeeCount { get; set; }
|
||||
|
||||
public List<string> NoticeList =>
|
||||
new List<string>
|
||||
{
|
||||
Notice,
|
||||
Notice2,
|
||||
Notice3,
|
||||
Notice4,
|
||||
Notice5
|
||||
};
|
||||
|
||||
public override bool Equals(object obj)
|
||||
{
|
||||
if (obj is MokServiceRecord serviceRecord)
|
||||
{
|
||||
return Oid == serviceRecord.Oid;
|
||||
}
|
||||
|
||||
return false;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -3,9 +3,10 @@ using BeWo.Report.ReportObjects;
|
||||
|
||||
namespace BeWoPlanerMobil.Util
|
||||
{
|
||||
[Serializable]
|
||||
public class QuittierungsbelegItem
|
||||
{
|
||||
public Guid Identifier { get; }
|
||||
public String Identifier { get; }
|
||||
|
||||
public string DateTimeString { get; }
|
||||
|
||||
@@ -36,7 +37,7 @@ namespace BeWoPlanerMobil.Util
|
||||
|
||||
DateTimeString = $"{serviceDetail.StartDate:dd.MM.yyyy HH:mm} - {serviceDetail.EndDate:HH:mm}";
|
||||
|
||||
Identifier = Guid.NewGuid();
|
||||
Identifier = Guid.NewGuid().ToString();
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -4,9 +4,10 @@ using BeWoPlanerMobil.Util.ReportUtils;
|
||||
|
||||
namespace BeWoPlanerMobil.Util
|
||||
{
|
||||
[Serializable]
|
||||
public class QuittierungsbelegResult
|
||||
{
|
||||
public Guid Identifier { get; }
|
||||
public String Identifier { get; }
|
||||
|
||||
public string CustomerName { get; }
|
||||
|
||||
@@ -33,7 +34,7 @@ namespace BeWoPlanerMobil.Util
|
||||
{
|
||||
CustomerName = customerName;
|
||||
Items = items;
|
||||
Identifier = Guid.NewGuid();
|
||||
Identifier = Guid.NewGuid().ToString();
|
||||
CustomerOid = customerOid;
|
||||
HasCustomerSignature = hasCustomerSignature;
|
||||
CustomerSignatureOid = customerSignatureOid;
|
||||
|
||||
@@ -1,9 +1,12 @@
|
||||
using System.Collections.Generic;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using BS.Shared.DataContracts;
|
||||
using BS.Shared.Extensions;
|
||||
|
||||
namespace BeWoPlanerMobil.Util.ReportUtils
|
||||
{
|
||||
[Serializable]
|
||||
public class ConfirmationReceiptObject
|
||||
{
|
||||
public string Information { get; }
|
||||
@@ -30,7 +33,8 @@ namespace BeWoPlanerMobil.Util.ReportUtils
|
||||
|
||||
public SignatureState EmployeeSignatureState { get; }
|
||||
|
||||
public List<ConfirmationReceiptSignatureDC> EmployeeSignatures { get; }
|
||||
//public List<ConfirmationReceiptSignatureDC> EmployeeSignatures { get; }
|
||||
public List<long> EmployeeSignatureOids { get; }
|
||||
|
||||
public ConfirmationReceiptObject(string information, List<QuittierungsbelegResult> confirmationReceiptResultList, string signatureCanvasInformation, string timeSpanString, bool hasEmployeeSignature, List<ConfirmationReceiptSignatureDC> employeeSignatures, SignatureState employeeSignatureState)
|
||||
{
|
||||
@@ -39,7 +43,7 @@ namespace BeWoPlanerMobil.Util.ReportUtils
|
||||
SignatureCanvasInformation = signatureCanvasInformation;
|
||||
TimeSpanString = timeSpanString;
|
||||
HasEmployeeSignature = hasEmployeeSignature;
|
||||
EmployeeSignatures = employeeSignatures;
|
||||
EmployeeSignatureOids = employeeSignatures.Select(s => s.ConfirmationReceiptSignatureOid.Value).ToList();
|
||||
EmployeeSignatureState = employeeSignatureState;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,5 +1,8 @@
|
||||
namespace BeWoPlanerMobil.Util.ReportUtils
|
||||
using System;
|
||||
|
||||
namespace BeWoPlanerMobil.Util.ReportUtils
|
||||
{
|
||||
[Serializable]
|
||||
public class Quittierungsbelegsunterschriftenobjekt
|
||||
{
|
||||
public bool IsEmployeeSignature { get; }
|
||||
|
||||
@@ -118,9 +118,10 @@
|
||||
function clearCustomerAbsenceTimesForm() {
|
||||
try {
|
||||
$("#customer-absence-time-notice, #customer-absence-time-start-date, #customer-absence-time-end-date, #customer-absence-time-start-time, #customer-absence-time-end-time").val("");
|
||||
$.get("@Url.Action("DeselectAbsenceTime")").done(function() {
|
||||
$("#customer-absence-time-modal-body").load('@Url.Action("LoadAbsenceTimeToForm", "Customer")').load();
|
||||
});
|
||||
$.get("@Url.Action("DeselectAbsenceTime")");
|
||||
//$.get("@Url.Action("DeselectAbsenceTime")").done(function() {
|
||||
// $("#customer-absence-time-modal-body").load('@Url.Action("LoadAbsenceTimeToForm", "Customer")').load();
|
||||
//});
|
||||
} catch(error) {
|
||||
showErrorPopup(error);
|
||||
}
|
||||
|
||||
@@ -20,9 +20,7 @@
|
||||
@{
|
||||
var timeSpanColorClass2 = cb2Sc.IsAboutToExpire ? "text-bewo-is-about-to-expire" : cb2Sc.ExpiresInThreeMonthsOrLess ? "text-bewo-expires-in-three-months" : "text-dark";
|
||||
|
||||
var wasSuccessful = long.TryParse(cb2Sc.CostBearer2SupportConceptOid, out var cb2ScOid);
|
||||
|
||||
var checkedValue = wasSuccessful ? Model.MultiBookingSelectedConceptCostBearerRelations.Any(a => a.CostBearer2SupportConceptOid.Equals(cb2ScOid)) : wasSuccessful;
|
||||
var checkedValue = Model.MultiBookingSelectedConceptCostBearerRelations.Any(a => a.CostBearer2SupportConceptOid.Equals(cb2Sc.CostBearer2SupportConceptOid));
|
||||
}
|
||||
|
||||
<div class="custom-control custom-checkbox custom-control-inline">
|
||||
|
||||
@@ -191,96 +191,6 @@
|
||||
continue;
|
||||
}
|
||||
|
||||
var start = serviceRecord.Start.Value;
|
||||
var end = serviceRecord.End.Value;
|
||||
var hasSignatureStr = serviceRecord.SignatureOid.HasValue ? "JA" : "NEIN";
|
||||
|
||||
var duration = (end - start).TotalMinutes;
|
||||
|
||||
var roundedDuration = MobileUtils.GetDecimalValueWithMaxDecimal(serviceRecord.RoundedDuration, 2);
|
||||
|
||||
if(serviceRecord.ServiceDescription.Category.Percentage > 0 && serviceRecord.ServiceDescription.Category.Percentage < 100)
|
||||
{
|
||||
roundedDuration = roundedDuration * serviceRecord.ServiceDescription.Category.Percentage / 100;
|
||||
}
|
||||
|
||||
var durationStr = serviceRecord.GroupOid.HasValue ? string.Format("{0:###0.#} ({0:###0.#})", roundedDuration) : $"{duration:###0.#} ({roundedDuration:###0.#})";
|
||||
|
||||
var massnahmenString = string.Empty;
|
||||
var zieleString = string.Empty;
|
||||
|
||||
if(serviceRecord.Goals != null && serviceRecord.Goals.Count > 0)
|
||||
{
|
||||
foreach(var goal in serviceRecord.Goals.Where(g => g.Type == ValueListEntryType.SupportConceptGoalType || g.Type == ValueListEntryType.SupportConceptIndividualGoalType))
|
||||
{
|
||||
if(goal.Abbreviation != null && goal.TypeDescription != null)
|
||||
{
|
||||
massnahmenString += $"{goal.Abbreviation}: {goal.TypeDescription}";
|
||||
}
|
||||
else if(goal.Abbreviation is null && goal.TypeDescription != null)
|
||||
{
|
||||
massnahmenString += goal.TypeDescription;
|
||||
}
|
||||
else if(goal.Abbreviation != null && goal.TypeDescription is null)
|
||||
{
|
||||
massnahmenString += goal.Abbreviation;
|
||||
}
|
||||
|
||||
#if DEBUG
|
||||
if(goal.RatingTypeOid.HasValue)
|
||||
{
|
||||
var goalRating = Model.GoalRatingTypes.FirstOrDefault(g => g.RatingTypeOid.HasValue && g.RatingTypeOid.Equals(goal.RatingTypeOid.Value));
|
||||
|
||||
if(goalRating?.DisplayName != null && goalRating.DisplayName.Length > 0)
|
||||
{
|
||||
massnahmenString += $" <strong style='color: blue;'>({goalRating.DisplayName})</strong>";
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
if(serviceRecord.Goals.IndexOf(goal) < serviceRecord.Goals.Count - 1)
|
||||
{
|
||||
massnahmenString += ", ";
|
||||
}
|
||||
}
|
||||
|
||||
if(serviceRecord.ServiceRecordOid.HasValue && Model.ServiceRecordOids2GoalHeader.ContainsKey(serviceRecord.ServiceRecordOid.Value))
|
||||
{
|
||||
var ziele = serviceRecord.Goals.Where(g => g.Type == ValueListEntryType.SupportConceptIndividualGoalCategoryType || g.Type == ValueListEntryType.SupportConceptGoalCategoryType).ToList();
|
||||
|
||||
foreach(var ziel in ziele)
|
||||
{
|
||||
if(ziel.Abbreviation != null && ziel.TypeDescription != null)
|
||||
{
|
||||
zieleString += $"{ziel.Abbreviation}: {ziel.TypeDescription} ";
|
||||
}
|
||||
else if(ziel.Abbreviation is null && ziel.TypeDescription != null)
|
||||
{
|
||||
zieleString += ziel.TypeDescription;
|
||||
}
|
||||
else if(ziel.Abbreviation != null && ziel.TypeDescription is null)
|
||||
{
|
||||
zieleString += ziel.Abbreviation;
|
||||
}
|
||||
|
||||
#if DEBUG
|
||||
if(ziel.RatingTypeOid.HasValue)
|
||||
{
|
||||
var zielbewertung = Model.GoalRatingTypes.FirstOrDefault(goalRatingType => goalRatingType.RatingTypeOid.HasValue && goalRatingType.RatingTypeOid.Equals(ziel.RatingTypeOid.Value));
|
||||
|
||||
if(zielbewertung?.DisplayName != null && zielbewertung.DisplayName.Length > 0)
|
||||
{
|
||||
zieleString += $" <strong style='color: blue;'>({zielbewertung.DisplayName})</strong>";
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
zieleString += ", ";
|
||||
}
|
||||
}
|
||||
|
||||
zieleString = zieleString.TrimEnd(' ').TrimEnd(',');
|
||||
}
|
||||
|
||||
<div class="card mt-1">
|
||||
<div class="card-body p-1">
|
||||
@@ -293,7 +203,7 @@
|
||||
Minuten (gerundet):
|
||||
</td>
|
||||
<td class="text-info">
|
||||
@durationStr
|
||||
@serviceRecord.DurationString
|
||||
</td>
|
||||
</tr>
|
||||
@if(Model.ShowDistanceField && serviceRecord.DistanceInMeterDecimal != null && serviceRecord.DistanceInMeterDecimal.Value > 0)
|
||||
@@ -310,26 +220,26 @@
|
||||
|
||||
@if(serviceRecord.Goals != null && serviceRecord.Goals.Count > 0)
|
||||
{
|
||||
if(!string.IsNullOrEmpty(zieleString))
|
||||
if(!string.IsNullOrEmpty(serviceRecord.ZieleString))
|
||||
{
|
||||
<tr>
|
||||
<td class="text-secondary">
|
||||
Ziele:
|
||||
</td>
|
||||
<td>
|
||||
@(new HtmlString(zieleString))
|
||||
@(new HtmlString(serviceRecord.ZieleString))
|
||||
</td>
|
||||
</tr>
|
||||
}
|
||||
|
||||
if(serviceRecord.Goals.Any(goal => goal.Type == ValueListEntryType.SupportConceptGoalType || goal.Type == ValueListEntryType.SupportConceptIndividualGoalType))
|
||||
if(!String.IsNullOrEmpty(serviceRecord.MassnahmenString))
|
||||
{
|
||||
<tr>
|
||||
<td class="text-secondary">
|
||||
Maßnahmen:
|
||||
</td>
|
||||
<td>
|
||||
@(new HtmlString(massnahmenString))
|
||||
@(new HtmlString(serviceRecord.MassnahmenString))
|
||||
</td>
|
||||
</tr>
|
||||
}
|
||||
@@ -339,7 +249,7 @@
|
||||
Leistungskategorie:
|
||||
</td>
|
||||
<td>
|
||||
@serviceRecord.ServiceDescription.CategoryName
|
||||
@serviceRecord.ServiceCategoryName
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
@@ -347,7 +257,7 @@
|
||||
Leistung:
|
||||
</td>
|
||||
<td>
|
||||
@serviceRecord.ServiceDescription.Name
|
||||
@serviceRecord.ServiceDescriptionName
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
@@ -355,7 +265,7 @@
|
||||
Angelegt für:
|
||||
</td>
|
||||
<td>
|
||||
@serviceRecord.Employee.FirstNameLastName
|
||||
@serviceRecord.EmployeeName
|
||||
</td>
|
||||
</tr>
|
||||
@if(Model.ShowServiceRecordInsertedOn)
|
||||
@@ -441,7 +351,7 @@
|
||||
Unterschrieben:
|
||||
</td>
|
||||
<td>
|
||||
@hasSignatureStr
|
||||
@serviceRecord.HasSignatureString
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
@@ -47,33 +47,33 @@
|
||||
<link type="text/css" rel="stylesheet" href="@Url.Content("~/Content/style.css")" />
|
||||
<link type="text/css" rel="stylesheet" href="@Url.Content("~/Content/tempusdominus-bootstrap-4.min.css")" />
|
||||
|
||||
<script type="text/javascript" src="@Scripts.Url("~/Scripts/ownSoft-Scripts/utils/dateUtils.js")"></script>
|
||||
<script type="text/javascript" src="@Scripts.Url("~/Scripts/ownSoft-Scripts/utils/dateUtils.js?v=1.3")"></script>
|
||||
|
||||
<script type="text/javascript" src="@Scripts.Url("~/Scripts/moment/moment.min.js")"></script>
|
||||
<script type="text/javascript" src="@Scripts.Url("~/Scripts/moment/locale/de.js")"></script>
|
||||
<script type="text/javascript" src="@Scripts.Url("~/Scripts/tempusdominus-boostrap-4.min.js")"></script>
|
||||
<script type="text/javascript" src="@Scripts.Url("~/Scripts/ownSoft-Scripts/mobileUtils.js")"></script>
|
||||
<script type="text/javascript" src="@Scripts.Url("~/Scripts/ownSoft-Scripts/mobileUtils.js?v=1.3")"></script>
|
||||
|
||||
<script type="text/javascript" src="@Scripts.Url("~/Scripts/ownSoft-Scripts/view-scripts/main.js?v=1.2")"></script>
|
||||
<script type="text/javascript" src="@Scripts.Url("~/Scripts/ownSoft-Scripts/signature.js?v=1.2")"></script>
|
||||
<script type="text/javascript" src="@Scripts.Url("~/Scripts/ownSoft-Scripts/view-scripts/main.js?v=1.3")"></script>
|
||||
<script type="text/javascript" src="@Scripts.Url("~/Scripts/ownSoft-Scripts/signature.js?v=1.3")"></script>
|
||||
|
||||
<link type="text/css" rel="stylesheet" href="@Url.Content("~/Scripts/bootstrap/bootstrap4-modal-fullscreen.min.css")" />
|
||||
|
||||
<script type="text/javascript" src="@Scripts.Url("~/Scripts/ownSoft-Scripts/support-concept-statistics.js")"></script>
|
||||
<script type="text/javascript" src="@Scripts.Url("~/Scripts/ownSoft-Scripts/view-scripts/customer.js")"></script>
|
||||
<script type="text/javascript" src="@Scripts.Url("~/Scripts/ownSoft-Scripts/view-scripts/scheduler.js")"></script>
|
||||
<script type="text/javascript" src="@Scripts.Url("~/Scripts/ownSoft-Scripts/support-concept-statistics.js?v=1.3")"></script>
|
||||
<script type="text/javascript" src="@Scripts.Url("~/Scripts/ownSoft-Scripts/view-scripts/customer.js?v=1.3")"></script>
|
||||
<script type="text/javascript" src="@Scripts.Url("~/Scripts/ownSoft-Scripts/view-scripts/scheduler.js?v=1.3")"></script>
|
||||
|
||||
<script type="text/javascript" src="@Url.Content("~/Scripts/ownSoft-Scripts/view-scripts/report.js")"></script>
|
||||
<script type="text/javascript" src="@Url.Content("~/Scripts/ownSoft-Scripts/view-scripts/report.js?v=1.3")"></script>
|
||||
<script type="text/javascript" src="@Scripts.Url("~/Scripts/signature-pad.min.js")"></script>
|
||||
<script type="text/javascript" src="@Scripts.Url("~/Scripts/ownSoft-Scripts/utils/trimCanvas.js")"></script>
|
||||
<script type="text/javascript" src="@Scripts.Url("~/Scripts/ownSoft-Scripts/utils/resources-list-utils.js")"></script>
|
||||
<script type="text/javascript" src="@Scripts.Url("~/Scripts/ownSoft-Scripts/utils/list-utils.js")"></script>
|
||||
<script type="text/javascript" src="@Scripts.Url("~/Scripts/ownSoft-Scripts/utils/service-record-time-calc.js")"></script>
|
||||
<script type="text/javascript" src="@Scripts.Url("~/Scripts/ownSoft-Scripts/utils/js-helper.js")"></script>
|
||||
<script type="text/javascript" src="@Scripts.Url("~/Scripts/ownSoft-Scripts/utils/logging.js")"></script>
|
||||
<script type="text/javascript" src="@Scripts.Url("~/Scripts/ownSoft-Scripts/utils/MoKPasswordSecurity.js")"></script>
|
||||
<script type="text/javascript" src="@Scripts.Url("~/Scripts/bs-custom-file-input.min.js?v=1.3")"></script>
|
||||
<script type="text/javascript" src="@Scripts.Url("~/Scripts/ownSoft-Scripts/utils/dropdown-search.js")"></script>
|
||||
<script type="text/javascript" src="@Scripts.Url("~/Scripts/ownSoft-Scripts/utils/trimCanvas.js?v=1.3")"></script>
|
||||
<script type="text/javascript" src="@Scripts.Url("~/Scripts/ownSoft-Scripts/utils/resources-list-utils.js?v=1.3")"></script>
|
||||
<script type="text/javascript" src="@Scripts.Url("~/Scripts/ownSoft-Scripts/utils/list-utils.js?v=1.3")"></script>
|
||||
<script type="text/javascript" src="@Scripts.Url("~/Scripts/ownSoft-Scripts/utils/service-record-time-calc.js?v=1.3")"></script>
|
||||
<script type="text/javascript" src="@Scripts.Url("~/Scripts/ownSoft-Scripts/utils/js-helper.js?v=1.3")"></script>
|
||||
<script type="text/javascript" src="@Scripts.Url("~/Scripts/ownSoft-Scripts/utils/logging.js?v=1.3")"></script>
|
||||
<script type="text/javascript" src="@Scripts.Url("~/Scripts/ownSoft-Scripts/utils/MoKPasswordSecurity.js?v=1.3")"></script>
|
||||
<script type="text/javascript" src="@Scripts.Url("~/Scripts/bs-custom-file-input.min.js")"></script>
|
||||
<script type="text/javascript" src="@Scripts.Url("~/Scripts/ownSoft-Scripts/utils/dropdown-search.js?v=1.3")"></script>
|
||||
|
||||
<script type="text/javascript" src="@Scripts.Url("~/Scripts/devexpress-dependencies/devextreme/dx.all.js")"></script>
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003" ToolsVersion="4.0">
|
||||
<PropertyGroup>
|
||||
<NameOfLastUsedPublishProfile>C:\Projects\Bewo\BeWo - Main\Host\Properties\PublishProfiles\FolderProfile.pubxml</NameOfLastUsedPublishProfile>
|
||||
|
||||
@@ -1562,6 +1562,37 @@ CHANGE COLUMN `Text` `Text` LONGBLOB NULL DEFAULT NULL ;
|
||||
ALTER TABLE `dokumentvorlage`
|
||||
CHANGE COLUMN `RTFText` `RTFText` LONGBLOB NULL DEFAULT NULL ;
|
||||
|
||||
ALTER TABLE `organisation`
|
||||
CHANGE COLUMN `GroßkundenanschriftAddressOid` `GrosskundenanschriftAddressOid` BIGINT(20) NULL DEFAULT NULL ;
|
||||
|
||||
|
||||
|
||||
ALTER TABLE `organisation`
|
||||
ADD COLUMN `HausanschriftAddressOid` BIGINT NULL DEFAULT NULL AFTER `CostBearerOid`,
|
||||
ADD COLUMN `PostfachanschriftAddressOid` BIGINT NULL DEFAULT NULL AFTER `HausanschriftAddressOid`,
|
||||
ADD COLUMN `GrosskundenanschriftAddressOid` BIGINT NULL DEFAULT NULL AFTER `PostfachanschriftAddressOid`,
|
||||
ADD INDEX `FK_ORGANISA_HAUSADD_idx` (`HausanschriftAddressOid` ASC),
|
||||
ADD INDEX `FK_ORGANISA_POSTADD_idx` (`PostfachanschriftAddressOid` ASC),
|
||||
ADD INDEX `FK_ORGANISA_GROSADD_idx` (`GroßkundenanschriftAddressOid` ASC);
|
||||
;
|
||||
ALTER TABLE `organisation`
|
||||
ADD CONSTRAINT `FK_ORGANISA_HAUSADD`
|
||||
FOREIGN KEY (`HausanschriftAddressOid`)
|
||||
REFERENCES `address` (`Oid`)
|
||||
ON DELETE CASCADE
|
||||
ON UPDATE CASCADE,
|
||||
ADD CONSTRAINT `FK_ORGANISA_POSTADD`
|
||||
FOREIGN KEY (`PostfachanschriftAddressOid`)
|
||||
REFERENCES `address` (`Oid`)
|
||||
ON DELETE CASCADE
|
||||
ON UPDATE CASCADE,
|
||||
ADD CONSTRAINT `FK_ORGANISA_GROSADD`
|
||||
FOREIGN KEY (`GroßkundenanschriftAddressOid`)
|
||||
REFERENCES `address` (`Oid`)
|
||||
ON DELETE CASCADE
|
||||
ON UPDATE CASCADE;
|
||||
|
||||
|
||||
ALTER TABLE `customer`
|
||||
ADD COLUMN `EinkommenBeginnValueListEntryOid` BIGINT NULL DEFAULT NULL AFTER `CustomerFalldatenOid`,
|
||||
ADD COLUMN `EinkommenEndeValueListEntryOid` BIGINT NULL DEFAULT NULL AFTER `EinkommenBeginnValueListEntryOid`,
|
||||
|
||||
@@ -1,19 +1,21 @@
|
||||
-- Bei Bewo direkt 1378137009 (APP1)
|
||||
-- Bei Monvita 1992495802 (APP1)
|
||||
-- Hilfepläne ohne Bewertung in den letzten 5 Monaten (6 Monate sind LVR Vorgabe)
|
||||
|
||||
select p.LastName as Nachname, p.FirstName as Vorname,
|
||||
cb2sc.ApprovedStartDate as 'Bewilligt von', cb2sc.ApprovedEndDate as 'Bewilligt bis',
|
||||
SELECT
|
||||
p.LastName AS Nachname, p.FirstName AS Vorname, sc.oid,
|
||||
cb2sc.ApprovedStartDate AS 'Bewilligt von', cb2sc.ApprovedEndDate AS 'Bewilligt bis',
|
||||
o.`Name` as 'Kostentraeger',
|
||||
(select CONCAT(emp1p.`FirstName`, ' ', emp1p.`LastName`) from employee emp1 join `person` emp1p on emp1p.`Oid` = emp1.`PersonOid` where emp1.`Oid` in (select employeeoid from `employee2customer` e2c1 join `valuelistentry2object` vl2o on e2c1.`Oid` = vl2o.`ObjectOid` join `valuelistentry` vle on vl2o.`ValueListEntryOid` = vle.`Oid`
|
||||
where e2c1.`CustomerOid` = cust.`Oid` and vle.`SystemEntryID` = 3) LIMIT 1) as 'Bezugsbetreuung',
|
||||
letzteBewertung as 'Datum der letzten Bewertung'
|
||||
from `person` p
|
||||
join `customer` cust on p.Oid = cust.PersonOid
|
||||
join `supportconcept` sc on cust.Oid = sc.CustomerOid
|
||||
join `costbearer2supportconcept` cb2sc on sc.Oid = cb2sc.SupportConceptOid
|
||||
join `costbearer` cb on cb2sc.`CostBearerOid` = cb.`Oid`
|
||||
join `organisation` o on cb.`Oid` = o.`CostBearerOid`
|
||||
left join (select max(rat.startdate) as letzteBewertung, rat.SupportConceptOid as ratscoid from rating rat) as rating on rating.ratscoid = sc.oid
|
||||
WHERE (letzteBewertung < DATE_ADD(CURDATE(), INTERVAL -5 MONTH) or letzteBewertung is null)
|
||||
and cust.IsActive = 1 and sc.IsActive = 1
|
||||
order by p.lastname
|
||||
rating.letzteBewertung AS 'Datum der letzten Bewertung'
|
||||
FROM `person` p
|
||||
JOIN `customer` cust ON p.Oid = cust.PersonOid
|
||||
JOIN `supportconcept` sc ON cust.Oid = sc.CustomerOid
|
||||
JOIN `costbearer2supportconcept` cb2sc ON sc.Oid = cb2sc.SupportConceptOid
|
||||
JOIN `costbearer` cb ON cb2sc.`CostBearerOid` = cb.`Oid`
|
||||
JOIN `organisation` o ON cb.`Oid` = o.`CostBearerOid`
|
||||
LEFT JOIN (SELECT rat.SupportConceptOid AS ratscoid, MAX(rat.startdate) AS letzteBewertung FROM rating rat
|
||||
GROUP BY rat.SupportConceptOid) AS rating ON rating.ratscoid = sc.oid
|
||||
WHERE (letzteBewertung < DATE_ADD(CURDATE(), INTERVAL -5 MONTH) or letzteBewertung is null)
|
||||
AND cust.IsActive = 1 AND sc.IsActive = 1
|
||||
ORDER BY p.lastname
|
||||
@@ -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
@@ -58,6 +58,12 @@
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Compile Include="Invoicing\SettlementInvoiceCreation.cs" />
|
||||
<Compile Include="Mitarbeiterarbeitszeitkonto.cs">
|
||||
<SubType>Component</SubType>
|
||||
</Compile>
|
||||
<Compile Include="Mitarbeiterarbeitszeitkonto.designer.cs">
|
||||
<DependentUpon>Mitarbeiterarbeitszeitkonto.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="Properties\AssemblyInfo.cs" />
|
||||
<Compile Include="QuittierungsbelegMitDatum.cs">
|
||||
<SubType>Component</SubType>
|
||||
@@ -98,6 +104,9 @@
|
||||
</ProjectReference>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<EmbeddedResource Include="Mitarbeiterarbeitszeitkonto.resx">
|
||||
<DependentUpon>Mitarbeiterarbeitszeitkonto.cs</DependentUpon>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="Properties\licenses.licx" />
|
||||
<EmbeddedResource Include="QuittierungsbelegMitDatum.resx">
|
||||
<DependentUpon>QuittierungsbelegMitDatum.cs</DependentUpon>
|
||||
|
||||
61
ReportImp/AuswegHeikePuetz/Mitarbeiterarbeitszeitkonto.cs
Normal file
61
ReportImp/AuswegHeikePuetz/Mitarbeiterarbeitszeitkonto.cs
Normal file
@@ -0,0 +1,61 @@
|
||||
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using BeWo.Report;
|
||||
using BeWo.Report.ReportObjects;
|
||||
|
||||
using BS.Shared.Core;
|
||||
using DevExpress.XtraReports.UI;
|
||||
|
||||
namespace Ausweg
|
||||
{
|
||||
[IDSpecificClass(Identifier = "Mitarbeiterarbeitszeitkonto")]
|
||||
public partial class Mitarbeiterarbeitszeitkonto : DevExpress.XtraReports.UI.XtraReport, IBeWoReport<MitarbeiterstundenkontoRO>
|
||||
{
|
||||
|
||||
public Mitarbeiterarbeitszeitkonto()
|
||||
{
|
||||
InitializeComponent();
|
||||
}
|
||||
|
||||
public void SetReportDataSource(MitarbeiterstundenkontoRO pRO)
|
||||
{
|
||||
var msb = new MitarbeiterstundenkontoBerechnung();
|
||||
msb.CreateReport(pRO);
|
||||
|
||||
foreach (var ed in pRO.EmployeeDetailList)
|
||||
{
|
||||
var c = ed.Employee.GetValidContractForDate(pRO.ReportStartDate);
|
||||
if (c != null)
|
||||
{
|
||||
if (c.MonthlyTotalHours.HasValue)
|
||||
{
|
||||
ed.Regelarbeitszeit = String.Format("{0:0.00} Stunden im Monat", c.MonthlyTotalHours);
|
||||
}
|
||||
else if (c.WeeklyTotalHours.HasValue)
|
||||
{
|
||||
ed.Regelarbeitszeit = String.Format("{0:0.00} Stunden pro Woche", c.WeeklyTotalHours);
|
||||
}
|
||||
}
|
||||
|
||||
ed.UrlaubUndKrankheit = 0;
|
||||
foreach (var day in ed.Days)
|
||||
{
|
||||
day.Custom1 = day.ZeitraeumeString;
|
||||
if (day.ServiceRecords != null)
|
||||
{
|
||||
var fahrzeit = day.ServiceRecords.FirstOrDefault(sr => sr.ServiceDescription.Name.ToLower().Contains("fahrtzeit"));
|
||||
if (fahrzeit != null)
|
||||
day.Custom1 += ", Fahrzeit";
|
||||
}
|
||||
|
||||
ed.UrlaubUndKrankheit += (day.HoursSick + day.HoursInVacation);
|
||||
}
|
||||
|
||||
}
|
||||
this.bindingSource1.DataSource = pRO;
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
1114
ReportImp/AuswegHeikePuetz/Mitarbeiterarbeitszeitkonto.designer.cs
generated
Normal file
1114
ReportImp/AuswegHeikePuetz/Mitarbeiterarbeitszeitkonto.designer.cs
generated
Normal file
File diff suppressed because it is too large
Load Diff
120
ReportImp/AuswegHeikePuetz/Mitarbeiterarbeitszeitkonto.resx
Normal file
120
ReportImp/AuswegHeikePuetz/Mitarbeiterarbeitszeitkonto.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>
|
||||
@@ -85,6 +85,12 @@
|
||||
<Compile Include="SettlementReport2.Designer.cs">
|
||||
<DependentUpon>SettlementReport2.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="SupportConceptReport.cs">
|
||||
<SubType>Component</SubType>
|
||||
</Compile>
|
||||
<Compile Include="SupportConceptReport.Designer.cs">
|
||||
<DependentUpon>SupportConceptReport.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="Teamstundenkonto.cs">
|
||||
<SubType>Component</SubType>
|
||||
</Compile>
|
||||
@@ -106,6 +112,9 @@
|
||||
<DependentUpon>SettlementReport2.cs</DependentUpon>
|
||||
<SubType>Designer</SubType>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="SupportConceptReport.resx">
|
||||
<DependentUpon>SupportConceptReport.cs</DependentUpon>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="Teamstundenkonto.resx">
|
||||
<DependentUpon>Teamstundenkonto.cs</DependentUpon>
|
||||
</EmbeddedResource>
|
||||
|
||||
998
ReportImp/BeWoAmrath/SupportConceptReport.Designer.cs
generated
Normal file
998
ReportImp/BeWoAmrath/SupportConceptReport.Designer.cs
generated
Normal file
@@ -0,0 +1,998 @@
|
||||
using BeWo.Report.ReportObjects;
|
||||
namespace BeWoAmrath
|
||||
{
|
||||
partial class Hilfeplanuebersicht
|
||||
{
|
||||
/// <summary>
|
||||
/// Required designer variable.
|
||||
/// </summary>
|
||||
private System.ComponentModel.IContainer components = null;
|
||||
|
||||
/// <summary>
|
||||
/// Clean up any resources being used.
|
||||
/// </summary>
|
||||
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
|
||||
protected override void Dispose(bool disposing)
|
||||
{
|
||||
if (disposing && (components != null))
|
||||
{
|
||||
components.Dispose();
|
||||
}
|
||||
base.Dispose(disposing);
|
||||
}
|
||||
|
||||
#region Designer generated code
|
||||
|
||||
/// <summary>
|
||||
/// Required method for Designer support - do not modify
|
||||
/// the contents of this method with the code editor.
|
||||
/// </summary>
|
||||
private void InitializeComponent()
|
||||
{
|
||||
this.components = new System.ComponentModel.Container();
|
||||
DevExpress.XtraReports.UI.XRSummary xrSummary1 = new DevExpress.XtraReports.UI.XRSummary();
|
||||
DevExpress.XtraReports.UI.XRSummary xrSummary2 = new DevExpress.XtraReports.UI.XRSummary();
|
||||
DevExpress.XtraReports.UI.XRSummary xrSummary3 = new DevExpress.XtraReports.UI.XRSummary();
|
||||
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();
|
||||
this.Detail = new DevExpress.XtraReports.UI.DetailBand();
|
||||
this.ReportHeader = new DevExpress.XtraReports.UI.ReportHeaderBand();
|
||||
this.xrPageInfo1 = new DevExpress.XtraReports.UI.XRPageInfo();
|
||||
this.xrLabel1 = new DevExpress.XtraReports.UI.XRLabel();
|
||||
this.DetailReport = new DevExpress.XtraReports.UI.DetailReportBand();
|
||||
this.Detail1 = new DevExpress.XtraReports.UI.DetailBand();
|
||||
this.xrTable2 = new DevExpress.XtraReports.UI.XRTable();
|
||||
this.xrTableRow2 = new DevExpress.XtraReports.UI.XRTableRow();
|
||||
this.xrTableCell18 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell19 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell36 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell20 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell21 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell22 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell23 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell24 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell25 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell26 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell27 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell56 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell28 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell29 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell30 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell31 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell32 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell33 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
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();
|
||||
this.xrTableCell1 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell2 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell35 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell3 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell4 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell5 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell6 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell7 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell8 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell9 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell10 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell55 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell11 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell12 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell13 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell14 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell15 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell16 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell17 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.PageFooter = new DevExpress.XtraReports.UI.PageFooterBand();
|
||||
this.xrPageInfo2 = new DevExpress.XtraReports.UI.XRPageInfo();
|
||||
this.approvedText = new DevExpress.XtraReports.UI.CalculatedField();
|
||||
this.topMarginBand1 = new DevExpress.XtraReports.UI.TopMarginBand();
|
||||
this.bottomMarginBand1 = new DevExpress.XtraReports.UI.BottomMarginBand();
|
||||
this.GroupFooter1 = new DevExpress.XtraReports.UI.GroupFooterBand();
|
||||
this.xrTable3 = new DevExpress.XtraReports.UI.XRTable();
|
||||
this.xrTableRow3 = new DevExpress.XtraReports.UI.XRTableRow();
|
||||
this.xrTableCell37 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell38 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell39 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell40 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell41 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell42 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell43 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell44 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
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.xrTableCell57 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell49 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell50 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell51 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell52 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell53 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell54 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
((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)).BeginInit();
|
||||
//
|
||||
// Detail
|
||||
//
|
||||
this.Detail.HeightF = 0F;
|
||||
this.Detail.Name = "Detail";
|
||||
this.Detail.Padding = new DevExpress.XtraPrinting.PaddingInfo(0, 0, 0, 0, 100F);
|
||||
this.Detail.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft;
|
||||
//
|
||||
// ReportHeader
|
||||
//
|
||||
this.ReportHeader.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
|
||||
this.xrPageInfo1,
|
||||
this.xrLabel1});
|
||||
this.ReportHeader.HeightF = 75F;
|
||||
this.ReportHeader.Name = "ReportHeader";
|
||||
//
|
||||
// xrPageInfo1
|
||||
//
|
||||
this.xrPageInfo1.Font = new DevExpress.Drawing.DXFont("Arial", 8F);
|
||||
this.xrPageInfo1.LocationFloat = new DevExpress.Utils.PointFloat(0F, 32.99999F);
|
||||
this.xrPageInfo1.Name = "xrPageInfo1";
|
||||
this.xrPageInfo1.PageInfo = DevExpress.XtraPrinting.PageInfo.DateTime;
|
||||
this.xrPageInfo1.SizeF = new System.Drawing.SizeF(1109F, 23F);
|
||||
this.xrPageInfo1.StylePriority.UseFont = false;
|
||||
//
|
||||
// xrLabel1
|
||||
//
|
||||
this.xrLabel1.Font = new DevExpress.Drawing.DXFont("Arial", 14F);
|
||||
this.xrLabel1.LocationFloat = new DevExpress.Utils.PointFloat(0F, 7.999992F);
|
||||
this.xrLabel1.Multiline = true;
|
||||
this.xrLabel1.Name = "xrLabel1";
|
||||
this.xrLabel1.SizeF = new System.Drawing.SizeF(1109F, 25F);
|
||||
this.xrLabel1.StylePriority.UseFont = false;
|
||||
this.xrLabel1.Text = "Hilfeplanübersicht";
|
||||
//
|
||||
// DetailReport
|
||||
//
|
||||
this.DetailReport.Bands.AddRange(new DevExpress.XtraReports.UI.Band[] {
|
||||
this.Detail1});
|
||||
this.DetailReport.DataMember = "SupportConceptDetailList";
|
||||
this.DetailReport.DataSource = this.bindingSource1;
|
||||
this.DetailReport.Level = 0;
|
||||
this.DetailReport.Name = "DetailReport";
|
||||
//
|
||||
// Detail1
|
||||
//
|
||||
this.Detail1.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
|
||||
this.xrTable2});
|
||||
this.Detail1.HeightF = 20F;
|
||||
this.Detail1.Name = "Detail1";
|
||||
//
|
||||
// xrTable2
|
||||
//
|
||||
this.xrTable2.BackColor = System.Drawing.Color.Transparent;
|
||||
this.xrTable2.Borders = ((DevExpress.XtraPrinting.BorderSide)(((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Right)
|
||||
| DevExpress.XtraPrinting.BorderSide.Bottom)));
|
||||
this.xrTable2.Font = new DevExpress.Drawing.DXFont("Arial", 7F);
|
||||
this.xrTable2.LocationFloat = new DevExpress.Utils.PointFloat(0F, 0F);
|
||||
this.xrTable2.Name = "xrTable2";
|
||||
this.xrTable2.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 2, 0, 100F);
|
||||
this.xrTable2.Rows.AddRange(new DevExpress.XtraReports.UI.XRTableRow[] {
|
||||
this.xrTableRow2});
|
||||
this.xrTable2.SizeF = new System.Drawing.SizeF(1109F, 20F);
|
||||
this.xrTable2.StylePriority.UseBackColor = false;
|
||||
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.xrTableCell18,
|
||||
this.xrTableCell19,
|
||||
this.xrTableCell36,
|
||||
this.xrTableCell20,
|
||||
this.xrTableCell21,
|
||||
this.xrTableCell22,
|
||||
this.xrTableCell23,
|
||||
this.xrTableCell24,
|
||||
this.xrTableCell25,
|
||||
this.xrTableCell26,
|
||||
this.xrTableCell27,
|
||||
this.xrTableCell56,
|
||||
this.xrTableCell28,
|
||||
this.xrTableCell29,
|
||||
this.xrTableCell30,
|
||||
this.xrTableCell31,
|
||||
this.xrTableCell32,
|
||||
this.xrTableCell33,
|
||||
this.xrTableCell34});
|
||||
this.xrTableRow2.FormattingRules.Add(this.ruleNotApprovedAndExpiringNext4Months);
|
||||
this.xrTableRow2.FormattingRules.Add(this.ruleNotApprovedAndExpiringNext8Months);
|
||||
this.xrTableRow2.Name = "xrTableRow2";
|
||||
this.xrTableRow2.Weight = 1D;
|
||||
//
|
||||
// xrTableCell18
|
||||
//
|
||||
this.xrTableCell18.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
|
||||
new DevExpress.XtraReports.UI.XRBinding("Text", null, "SupportConceptDetailList.CustomerLastName")});
|
||||
this.xrTableCell18.Font = new DevExpress.Drawing.DXFont("Arial", 7F, DevExpress.Drawing.DXFontStyle.Bold);
|
||||
this.xrTableCell18.Name = "xrTableCell18";
|
||||
this.xrTableCell18.StylePriority.UseBorders = false;
|
||||
this.xrTableCell18.StylePriority.UseFont = false;
|
||||
this.xrTableCell18.Text = "Name";
|
||||
this.xrTableCell18.Weight = 0.19930774754965561D;
|
||||
this.xrTableCell18.WordWrap = false;
|
||||
//
|
||||
// xrTableCell19
|
||||
//
|
||||
this.xrTableCell19.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
|
||||
new DevExpress.XtraReports.UI.XRBinding("Text", null, "SupportConceptDetailList.CustomerFirstName")});
|
||||
this.xrTableCell19.Font = new DevExpress.Drawing.DXFont("Arial", 7F, DevExpress.Drawing.DXFontStyle.Bold);
|
||||
this.xrTableCell19.Name = "xrTableCell19";
|
||||
this.xrTableCell19.StylePriority.UseFont = false;
|
||||
this.xrTableCell19.Text = "Vorname";
|
||||
this.xrTableCell19.Weight = 0.19930774536403145D;
|
||||
this.xrTableCell19.WordWrap = false;
|
||||
//
|
||||
// xrTableCell36
|
||||
//
|
||||
this.xrTableCell36.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
|
||||
new DevExpress.XtraReports.UI.XRBinding("Text", null, "SupportConceptDetailList.Costbearer")});
|
||||
this.xrTableCell36.Name = "xrTableCell36";
|
||||
this.xrTableCell36.Text = "xrTableCell36";
|
||||
this.xrTableCell36.Weight = 0.17993059157678859D;
|
||||
//
|
||||
// xrTableCell20
|
||||
//
|
||||
this.xrTableCell20.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
|
||||
new DevExpress.XtraReports.UI.XRBinding("Text", null, "SupportConceptDetailList.StartDate", "{0:dd/MM/yyyy}")});
|
||||
this.xrTableCell20.Name = "xrTableCell20";
|
||||
this.xrTableCell20.StylePriority.UseTextAlignment = false;
|
||||
this.xrTableCell20.Text = "xrTableCell20";
|
||||
this.xrTableCell20.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopCenter;
|
||||
this.xrTableCell20.Weight = 0.16608989744095626D;
|
||||
//
|
||||
// xrTableCell21
|
||||
//
|
||||
this.xrTableCell21.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
|
||||
new DevExpress.XtraReports.UI.XRBinding("Text", null, "SupportConceptDetailList.EndDate", "{0:dd/MM/yyyy}")});
|
||||
this.xrTableCell21.Name = "xrTableCell21";
|
||||
this.xrTableCell21.StylePriority.UseTextAlignment = false;
|
||||
this.xrTableCell21.Text = "xrTableCell21";
|
||||
this.xrTableCell21.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopCenter;
|
||||
this.xrTableCell21.Weight = 0.16608960252795707D;
|
||||
//
|
||||
// xrTableCell22
|
||||
//
|
||||
this.xrTableCell22.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
|
||||
new DevExpress.XtraReports.UI.XRBinding("Text", null, "SupportConceptDetailList.FLSTotal", "{0:0.00}")});
|
||||
this.xrTableCell22.Name = "xrTableCell22";
|
||||
this.xrTableCell22.StylePriority.UseTextAlignment = false;
|
||||
this.xrTableCell22.Text = "xrTableCell22";
|
||||
this.xrTableCell22.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopRight;
|
||||
this.xrTableCell22.Weight = 0.13840828520101817D;
|
||||
//
|
||||
// xrTableCell23
|
||||
//
|
||||
this.xrTableCell23.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
|
||||
new DevExpress.XtraReports.UI.XRBinding("Text", null, "SupportConceptDetailList.FLSTotalRecordedBillable", "{0:0.00}")});
|
||||
this.xrTableCell23.Name = "xrTableCell23";
|
||||
this.xrTableCell23.StylePriority.UseTextAlignment = false;
|
||||
this.xrTableCell23.Text = "xrTableCell23";
|
||||
this.xrTableCell23.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopRight;
|
||||
this.xrTableCell23.Weight = 0.22145292030216038D;
|
||||
//
|
||||
// xrTableCell24
|
||||
//
|
||||
this.xrTableCell24.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
|
||||
new DevExpress.XtraReports.UI.XRBinding("Text", null, "SupportConceptDetailList.FLSRemaining", "{0:0.00}")});
|
||||
this.xrTableCell24.Name = "xrTableCell24";
|
||||
this.xrTableCell24.StylePriority.UseTextAlignment = false;
|
||||
this.xrTableCell24.Text = "xrTableCell24";
|
||||
this.xrTableCell24.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopRight;
|
||||
this.xrTableCell24.Weight = 0.13840828511397604D;
|
||||
//
|
||||
// xrTableCell25
|
||||
//
|
||||
this.xrTableCell25.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
|
||||
new DevExpress.XtraReports.UI.XRBinding("Text", null, "SupportConceptDetailList.FLSOpenPerWeek", "{0:0.00}")});
|
||||
this.xrTableCell25.Name = "xrTableCell25";
|
||||
this.xrTableCell25.StylePriority.UseTextAlignment = false;
|
||||
this.xrTableCell25.Text = "xrTableCell25";
|
||||
this.xrTableCell25.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopRight;
|
||||
this.xrTableCell25.Weight = 0.16055352507561488D;
|
||||
//
|
||||
// xrTableCell26
|
||||
//
|
||||
this.xrTableCell26.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
|
||||
new DevExpress.XtraReports.UI.XRBinding("Text", null, "SupportConceptDetailList.OpenWeeks", "{0:0.00}")});
|
||||
this.xrTableCell26.Name = "xrTableCell26";
|
||||
this.xrTableCell26.StylePriority.UseTextAlignment = false;
|
||||
this.xrTableCell26.Text = "xrTableCell26";
|
||||
this.xrTableCell26.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopRight;
|
||||
this.xrTableCell26.Weight = 0.16055352390135408D;
|
||||
//
|
||||
// xrTableCell27
|
||||
//
|
||||
this.xrTableCell27.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
|
||||
new DevExpress.XtraReports.UI.XRBinding("Text", null, "SupportConceptDetailList.DurationPercentage", "{0:0}%")});
|
||||
this.xrTableCell27.Font = new DevExpress.Drawing.DXFont("Arial", 7F, DevExpress.Drawing.DXFontStyle.Bold);
|
||||
this.xrTableCell27.Name = "xrTableCell27";
|
||||
this.xrTableCell27.StylePriority.UseFont = false;
|
||||
this.xrTableCell27.StylePriority.UseTextAlignment = false;
|
||||
this.xrTableCell27.Text = "xrTableCell27";
|
||||
this.xrTableCell27.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopCenter;
|
||||
this.xrTableCell27.Weight = 0.091349423732524554D;
|
||||
//
|
||||
// xrTableCell56
|
||||
//
|
||||
this.xrTableCell56.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
|
||||
new DevExpress.XtraReports.UI.XRBinding("Text", null, "SupportConceptDetailList.Custom1")});
|
||||
this.xrTableCell56.Font = new DevExpress.Drawing.DXFont("Arial", 7F, DevExpress.Drawing.DXFontStyle.Bold);
|
||||
this.xrTableCell56.Multiline = true;
|
||||
this.xrTableCell56.Name = "xrTableCell56";
|
||||
this.xrTableCell56.StylePriority.UseFont = false;
|
||||
this.xrTableCell56.StylePriority.UseTextAlignment = false;
|
||||
this.xrTableCell56.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopCenter;
|
||||
this.xrTableCell56.Weight = 0.11142541478797531D;
|
||||
//
|
||||
// xrTableCell28
|
||||
//
|
||||
this.xrTableCell28.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
|
||||
new DevExpress.XtraReports.UI.XRBinding("Text", null, "SupportConceptDetailList.TotalWeeks", "{0:0.00}")});
|
||||
this.xrTableCell28.Name = "xrTableCell28";
|
||||
this.xrTableCell28.StylePriority.UseTextAlignment = false;
|
||||
this.xrTableCell28.Text = "xrTableCell28";
|
||||
this.xrTableCell28.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopRight;
|
||||
this.xrTableCell28.Weight = 0.133710500154541D;
|
||||
//
|
||||
// xrTableCell29
|
||||
//
|
||||
this.xrTableCell29.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
|
||||
new DevExpress.XtraReports.UI.XRBinding("Text", null, "SupportConceptDetailList.WeeksPassed", "{0:0.00}")});
|
||||
this.xrTableCell29.Name = "xrTableCell29";
|
||||
this.xrTableCell29.StylePriority.UseTextAlignment = false;
|
||||
this.xrTableCell29.Text = "xrTableCell29";
|
||||
this.xrTableCell29.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopRight;
|
||||
this.xrTableCell29.Weight = 0.14517488487060853D;
|
||||
//
|
||||
// xrTableCell30
|
||||
//
|
||||
this.xrTableCell30.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
|
||||
new DevExpress.XtraReports.UI.XRBinding("Text", null, "SupportConceptDetailList.FLSPerWeekSoll", "{0:0.00}")});
|
||||
this.xrTableCell30.Name = "xrTableCell30";
|
||||
this.xrTableCell30.StylePriority.UseTextAlignment = false;
|
||||
this.xrTableCell30.Text = "xrTableCell30";
|
||||
this.xrTableCell30.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopRight;
|
||||
this.xrTableCell30.Weight = 0.15224914713984677D;
|
||||
//
|
||||
// xrTableCell31
|
||||
//
|
||||
this.xrTableCell31.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
|
||||
new DevExpress.XtraReports.UI.XRBinding("Text", null, "SupportConceptDetailList.FLSPerWeekIst", "{0:0.00}")});
|
||||
this.xrTableCell31.Name = "xrTableCell31";
|
||||
this.xrTableCell31.StylePriority.UseTextAlignment = false;
|
||||
this.xrTableCell31.Text = "xrTableCell31";
|
||||
this.xrTableCell31.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopRight;
|
||||
this.xrTableCell31.Weight = 0.1522488154781535D;
|
||||
//
|
||||
// xrTableCell32
|
||||
//
|
||||
this.xrTableCell32.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
|
||||
new DevExpress.XtraReports.UI.XRBinding("Text", null, "SupportConceptDetailList.DiffPerWeekAmount", "{0:c}")});
|
||||
this.xrTableCell32.Name = "xrTableCell32";
|
||||
this.xrTableCell32.StylePriority.UseTextAlignment = false;
|
||||
this.xrTableCell32.Text = "xrTableCell32";
|
||||
this.xrTableCell32.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopRight;
|
||||
this.xrTableCell32.Weight = 0.20761195211596387D;
|
||||
//
|
||||
// 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;
|
||||
//
|
||||
// xrTableCell34
|
||||
//
|
||||
this.xrTableCell34.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
|
||||
new DevExpress.XtraReports.UI.XRBinding("Text", null, "SupportConceptDetailList.OpenMonths", "{0:0.00}")});
|
||||
this.xrTableCell34.Name = "xrTableCell34";
|
||||
this.xrTableCell34.StylePriority.UseBorders = false;
|
||||
this.xrTableCell34.StylePriority.UseTextAlignment = false;
|
||||
this.xrTableCell34.Text = "xrTableCell34";
|
||||
this.xrTableCell34.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopRight;
|
||||
this.xrTableCell34.Weight = 0.13840751413540875D;
|
||||
//
|
||||
// ruleNotApprovedAndExpiringNext4Months
|
||||
//
|
||||
this.ruleNotApprovedAndExpiringNext4Months.Condition = "[IsApproved] == False And [OpenMonths] < 4";
|
||||
this.ruleNotApprovedAndExpiringNext4Months.DataMember = "SupportConceptDetailList";
|
||||
this.ruleNotApprovedAndExpiringNext4Months.Formatting.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(128)))), ((int)(((byte)(128)))));
|
||||
this.ruleNotApprovedAndExpiringNext4Months.Name = "ruleNotApprovedAndExpiringNext4Months";
|
||||
//
|
||||
// ruleNotApprovedAndExpiringNext8Months
|
||||
//
|
||||
this.ruleNotApprovedAndExpiringNext8Months.Condition = "[IsApproved] == False And [OpenMonths] < 8 And [OpenMonths] >= 4";
|
||||
this.ruleNotApprovedAndExpiringNext8Months.DataMember = "SupportConceptDetailList";
|
||||
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[] {
|
||||
this.xrTable1});
|
||||
this.PageHeader.HeightF = 42F;
|
||||
this.PageHeader.Name = "PageHeader";
|
||||
this.PageHeader.StylePriority.UseBorderColor = false;
|
||||
this.PageHeader.StylePriority.UseTextAlignment = false;
|
||||
this.PageHeader.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopCenter;
|
||||
//
|
||||
// xrTable1
|
||||
//
|
||||
this.xrTable1.BackColor = System.Drawing.Color.LightSteelBlue;
|
||||
this.xrTable1.Borders = ((DevExpress.XtraPrinting.BorderSide)((DevExpress.XtraPrinting.BorderSide.Top | DevExpress.XtraPrinting.BorderSide.Bottom)));
|
||||
this.xrTable1.Font = new DevExpress.Drawing.DXFont("Arial", 7F, 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(1109F, 42F);
|
||||
this.xrTable1.StylePriority.UseBackColor = false;
|
||||
this.xrTable1.StylePriority.UseBorders = false;
|
||||
this.xrTable1.StylePriority.UseFont = false;
|
||||
this.xrTable1.StylePriority.UseTextAlignment = false;
|
||||
this.xrTable1.TextAlignment = DevExpress.XtraPrinting.TextAlignment.BottomCenter;
|
||||
//
|
||||
// xrTableRow1
|
||||
//
|
||||
this.xrTableRow1.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
|
||||
this.xrTableCell1,
|
||||
this.xrTableCell2,
|
||||
this.xrTableCell35,
|
||||
this.xrTableCell3,
|
||||
this.xrTableCell4,
|
||||
this.xrTableCell5,
|
||||
this.xrTableCell6,
|
||||
this.xrTableCell7,
|
||||
this.xrTableCell8,
|
||||
this.xrTableCell9,
|
||||
this.xrTableCell10,
|
||||
this.xrTableCell55,
|
||||
this.xrTableCell11,
|
||||
this.xrTableCell12,
|
||||
this.xrTableCell13,
|
||||
this.xrTableCell14,
|
||||
this.xrTableCell15,
|
||||
this.xrTableCell16,
|
||||
this.xrTableCell17});
|
||||
this.xrTableRow1.Name = "xrTableRow1";
|
||||
this.xrTableRow1.Weight = 1D;
|
||||
//
|
||||
// xrTableCell1
|
||||
//
|
||||
this.xrTableCell1.Borders = ((DevExpress.XtraPrinting.BorderSide)(((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top)
|
||||
| DevExpress.XtraPrinting.BorderSide.Bottom)));
|
||||
this.xrTableCell1.Name = "xrTableCell1";
|
||||
this.xrTableCell1.StylePriority.UseBorders = false;
|
||||
this.xrTableCell1.Text = "Name";
|
||||
this.xrTableCell1.Weight = 0.1947700715855491D;
|
||||
//
|
||||
// xrTableCell2
|
||||
//
|
||||
this.xrTableCell2.Name = "xrTableCell2";
|
||||
this.xrTableCell2.Text = "Vorname";
|
||||
this.xrTableCell2.Weight = 0.19477006735273836D;
|
||||
//
|
||||
// xrTableCell35
|
||||
//
|
||||
this.xrTableCell35.Name = "xrTableCell35";
|
||||
this.xrTableCell35.Text = "Kostenträger";
|
||||
this.xrTableCell35.Weight = 0.17583408383421184D;
|
||||
//
|
||||
// xrTableCell3
|
||||
//
|
||||
this.xrTableCell3.Name = "xrTableCell3";
|
||||
this.xrTableCell3.Text = "Start";
|
||||
this.xrTableCell3.Weight = 0.1623083867569467D;
|
||||
//
|
||||
// xrTableCell4
|
||||
//
|
||||
this.xrTableCell4.Name = "xrTableCell4";
|
||||
this.xrTableCell4.Text = "Ende";
|
||||
this.xrTableCell4.Weight = 0.16230838391519292D;
|
||||
//
|
||||
// xrTableCell5
|
||||
//
|
||||
this.xrTableCell5.Name = "xrTableCell5";
|
||||
this.xrTableCell5.Text = "gesamte FLS";
|
||||
this.xrTableCell5.Weight = 0.13525698632089916D;
|
||||
//
|
||||
// xrTableCell6
|
||||
//
|
||||
this.xrTableCell6.Name = "xrTableCell6";
|
||||
this.xrTableCell6.Text = "geleistete FLS abrechenbar";
|
||||
this.xrTableCell6.Weight = 0.21641118213734856D;
|
||||
//
|
||||
// xrTableCell7
|
||||
//
|
||||
this.xrTableCell7.Name = "xrTableCell7";
|
||||
this.xrTableCell7.Text = "restliche FLS";
|
||||
this.xrTableCell7.Weight = 0.135256986233857D;
|
||||
//
|
||||
// xrTableCell8
|
||||
//
|
||||
this.xrTableCell8.Name = "xrTableCell8";
|
||||
this.xrTableCell8.Text = "restl. FLS pro Woche";
|
||||
this.xrTableCell8.Weight = 0.15689810126025036D;
|
||||
//
|
||||
// xrTableCell9
|
||||
//
|
||||
this.xrTableCell9.Name = "xrTableCell9";
|
||||
this.xrTableCell9.Text = "Restzeit in Wochen";
|
||||
this.xrTableCell9.Weight = 0.15689811071234514D;
|
||||
//
|
||||
// xrTableCell10
|
||||
//
|
||||
this.xrTableCell10.Name = "xrTableCell10";
|
||||
this.xrTableCell10.Text = "Heute";
|
||||
this.xrTableCell10.Weight = 0.089269612164975D;
|
||||
//
|
||||
// xrTableCell55
|
||||
//
|
||||
this.xrTableCell55.Multiline = true;
|
||||
this.xrTableCell55.Name = "xrTableCell55";
|
||||
this.xrTableCell55.Text = "Assis-tenz / FK";
|
||||
this.xrTableCell55.Weight = 0.10888857101193653D;
|
||||
//
|
||||
// xrTableCell11
|
||||
//
|
||||
this.xrTableCell11.Name = "xrTableCell11";
|
||||
this.xrTableCell11.Text = "Wochen gesamt";
|
||||
this.xrTableCell11.Weight = 0.13066628119830248D;
|
||||
//
|
||||
// xrTableCell12
|
||||
//
|
||||
this.xrTableCell12.Name = "xrTableCell12";
|
||||
this.xrTableCell12.Text = "Wochen bisher";
|
||||
this.xrTableCell12.Weight = 0.13066628360729798D;
|
||||
//
|
||||
// xrTableCell13
|
||||
//
|
||||
this.xrTableCell13.Name = "xrTableCell13";
|
||||
this.xrTableCell13.Text = "FLS/Woche Soll";
|
||||
this.xrTableCell13.Weight = 0.1599859268146562D;
|
||||
//
|
||||
// xrTableCell14
|
||||
//
|
||||
this.xrTableCell14.Name = "xrTableCell14";
|
||||
this.xrTableCell14.Text = "FLS/Woche Ist";
|
||||
this.xrTableCell14.Weight = 0.14878268254386506D;
|
||||
//
|
||||
// xrTableCell15
|
||||
//
|
||||
this.xrTableCell15.Name = "xrTableCell15";
|
||||
this.xrTableCell15.Text = "Differenz pro Woche x €/Std";
|
||||
this.xrTableCell15.Weight = 0.20288548698789807D;
|
||||
//
|
||||
// xrTableCell16
|
||||
//
|
||||
this.xrTableCell16.Name = "xrTableCell16";
|
||||
this.xrTableCell16.Text = "bewilligt oder nicht bewilligt";
|
||||
this.xrTableCell16.Weight = 0.22182145262578157D;
|
||||
//
|
||||
// xrTableCell17
|
||||
//
|
||||
this.xrTableCell17.Borders = ((DevExpress.XtraPrinting.BorderSide)(((DevExpress.XtraPrinting.BorderSide.Top | DevExpress.XtraPrinting.BorderSide.Right)
|
||||
| DevExpress.XtraPrinting.BorderSide.Bottom)));
|
||||
this.xrTableCell17.Name = "xrTableCell17";
|
||||
this.xrTableCell17.StylePriority.UseBorders = false;
|
||||
this.xrTableCell17.Text = "Restzeit (Monate)";
|
||||
this.xrTableCell17.Weight = 0.13525699097924732D;
|
||||
//
|
||||
// PageFooter
|
||||
//
|
||||
this.PageFooter.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
|
||||
this.xrPageInfo2});
|
||||
this.PageFooter.HeightF = 35.00001F;
|
||||
this.PageFooter.Name = "PageFooter";
|
||||
//
|
||||
// xrPageInfo2
|
||||
//
|
||||
this.xrPageInfo2.Font = new DevExpress.Drawing.DXFont("Arial", 8F);
|
||||
this.xrPageInfo2.LocationFloat = new DevExpress.Utils.PointFloat(976.9999F, 17.00001F);
|
||||
this.xrPageInfo2.Name = "xrPageInfo2";
|
||||
this.xrPageInfo2.SizeF = new System.Drawing.SizeF(131.9999F, 18F);
|
||||
this.xrPageInfo2.StylePriority.UseFont = false;
|
||||
this.xrPageInfo2.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopRight;
|
||||
this.xrPageInfo2.TextFormatString = "Seite {0} von {1}";
|
||||
//
|
||||
// approvedText
|
||||
//
|
||||
this.approvedText.DataMember = "SupportConceptDetailList";
|
||||
this.approvedText.Expression = "Iif([IsApproved], \'bewilligt\' , \'nicht bewilligt\')";
|
||||
this.approvedText.Name = "approvedText";
|
||||
//
|
||||
// topMarginBand1
|
||||
//
|
||||
this.topMarginBand1.HeightF = 50F;
|
||||
this.topMarginBand1.Name = "topMarginBand1";
|
||||
//
|
||||
// bottomMarginBand1
|
||||
//
|
||||
this.bottomMarginBand1.HeightF = 20F;
|
||||
this.bottomMarginBand1.Name = "bottomMarginBand1";
|
||||
//
|
||||
// GroupFooter1
|
||||
//
|
||||
this.GroupFooter1.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
|
||||
this.xrTable3});
|
||||
this.GroupFooter1.HeightF = 20F;
|
||||
this.GroupFooter1.Name = "GroupFooter1";
|
||||
//
|
||||
// xrTable3
|
||||
//
|
||||
this.xrTable3.BackColor = System.Drawing.Color.Transparent;
|
||||
this.xrTable3.Borders = ((DevExpress.XtraPrinting.BorderSide)(((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Right)
|
||||
| DevExpress.XtraPrinting.BorderSide.Bottom)));
|
||||
this.xrTable3.Font = new DevExpress.Drawing.DXFont("Arial", 7F, DevExpress.Drawing.DXFontStyle.Bold);
|
||||
this.xrTable3.LocationFloat = new DevExpress.Utils.PointFloat(0F, 0F);
|
||||
this.xrTable3.Name = "xrTable3";
|
||||
this.xrTable3.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 2, 0, 100F);
|
||||
this.xrTable3.Rows.AddRange(new DevExpress.XtraReports.UI.XRTableRow[] {
|
||||
this.xrTableRow3});
|
||||
this.xrTable3.SizeF = new System.Drawing.SizeF(1109F, 20F);
|
||||
this.xrTable3.StylePriority.UseBackColor = false;
|
||||
this.xrTable3.StylePriority.UseBorders = false;
|
||||
this.xrTable3.StylePriority.UseFont = false;
|
||||
this.xrTable3.StylePriority.UsePadding = false;
|
||||
//
|
||||
// xrTableRow3
|
||||
//
|
||||
this.xrTableRow3.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
|
||||
this.xrTableCell37,
|
||||
this.xrTableCell38,
|
||||
this.xrTableCell39,
|
||||
this.xrTableCell40,
|
||||
this.xrTableCell41,
|
||||
this.xrTableCell42,
|
||||
this.xrTableCell43,
|
||||
this.xrTableCell44,
|
||||
this.xrTableCell45,
|
||||
this.xrTableCell46,
|
||||
this.xrTableCell47,
|
||||
this.xrTableCell48,
|
||||
this.xrTableCell57,
|
||||
this.xrTableCell49,
|
||||
this.xrTableCell50,
|
||||
this.xrTableCell51,
|
||||
this.xrTableCell52,
|
||||
this.xrTableCell53,
|
||||
this.xrTableCell54});
|
||||
this.xrTableRow3.Name = "xrTableRow3";
|
||||
this.xrTableRow3.Weight = 1D;
|
||||
//
|
||||
// xrTableCell37
|
||||
//
|
||||
this.xrTableCell37.Borders = DevExpress.XtraPrinting.BorderSide.None;
|
||||
this.xrTableCell37.Font = new DevExpress.Drawing.DXFont("Arial", 7F, DevExpress.Drawing.DXFontStyle.Bold);
|
||||
this.xrTableCell37.Name = "xrTableCell37";
|
||||
this.xrTableCell37.StylePriority.UseBorders = false;
|
||||
this.xrTableCell37.StylePriority.UseFont = false;
|
||||
this.xrTableCell37.Weight = 0.19354843284498891D;
|
||||
this.xrTableCell37.WordWrap = false;
|
||||
//
|
||||
// xrTableCell38
|
||||
//
|
||||
this.xrTableCell38.Borders = DevExpress.XtraPrinting.BorderSide.None;
|
||||
this.xrTableCell38.Font = new DevExpress.Drawing.DXFont("Arial", 7F, DevExpress.Drawing.DXFontStyle.Bold);
|
||||
this.xrTableCell38.Name = "xrTableCell38";
|
||||
this.xrTableCell38.StylePriority.UseBorders = false;
|
||||
this.xrTableCell38.StylePriority.UseFont = false;
|
||||
this.xrTableCell38.Weight = 0.19354842861217822D;
|
||||
this.xrTableCell38.WordWrap = false;
|
||||
//
|
||||
// xrTableCell39
|
||||
//
|
||||
this.xrTableCell39.Borders = DevExpress.XtraPrinting.BorderSide.None;
|
||||
this.xrTableCell39.Name = "xrTableCell39";
|
||||
this.xrTableCell39.StylePriority.UseBorders = false;
|
||||
this.xrTableCell39.Weight = 0.17473120463417866D;
|
||||
//
|
||||
// xrTableCell40
|
||||
//
|
||||
this.xrTableCell40.Borders = DevExpress.XtraPrinting.BorderSide.None;
|
||||
this.xrTableCell40.Name = "xrTableCell40";
|
||||
this.xrTableCell40.StylePriority.UseBorders = false;
|
||||
this.xrTableCell40.StylePriority.UseTextAlignment = false;
|
||||
this.xrTableCell40.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopCenter;
|
||||
this.xrTableCell40.Weight = 0.1612904456268684D;
|
||||
//
|
||||
// xrTableCell41
|
||||
//
|
||||
this.xrTableCell41.Borders = DevExpress.XtraPrinting.BorderSide.Right;
|
||||
this.xrTableCell41.Name = "xrTableCell41";
|
||||
this.xrTableCell41.StylePriority.UseBorders = false;
|
||||
this.xrTableCell41.StylePriority.UseTextAlignment = false;
|
||||
this.xrTableCell41.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopCenter;
|
||||
this.xrTableCell41.Weight = 0.16129015900465979D;
|
||||
//
|
||||
// xrTableCell42
|
||||
//
|
||||
this.xrTableCell42.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
|
||||
new DevExpress.XtraReports.UI.XRBinding("Text", null, "SupportConceptDetailList.FLSTotal")});
|
||||
this.xrTableCell42.Name = "xrTableCell42";
|
||||
this.xrTableCell42.StylePriority.UseTextAlignment = false;
|
||||
xrSummary1.FormatString = "{0:0.00}";
|
||||
xrSummary1.IgnoreNullValues = true;
|
||||
xrSummary1.Running = DevExpress.XtraReports.UI.SummaryRunning.Report;
|
||||
this.xrTableCell42.Summary = xrSummary1;
|
||||
this.xrTableCell42.Text = "xrTableCell42";
|
||||
this.xrTableCell42.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopRight;
|
||||
this.xrTableCell42.Weight = 0.13440874074316864D;
|
||||
//
|
||||
// xrTableCell43
|
||||
//
|
||||
this.xrTableCell43.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
|
||||
new DevExpress.XtraReports.UI.XRBinding("Text", null, "SupportConceptDetailList.FLSTotalRecordedBillable")});
|
||||
this.xrTableCell43.Name = "xrTableCell43";
|
||||
this.xrTableCell43.StylePriority.UseTextAlignment = false;
|
||||
xrSummary2.FormatString = "{0:0.00}";
|
||||
xrSummary2.IgnoreNullValues = true;
|
||||
xrSummary2.Running = DevExpress.XtraReports.UI.SummaryRunning.Report;
|
||||
this.xrTableCell43.Summary = xrSummary2;
|
||||
this.xrTableCell43.Text = "xrTableCell43";
|
||||
this.xrTableCell43.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopRight;
|
||||
this.xrTableCell43.Weight = 0.215053648676434D;
|
||||
//
|
||||
// xrTableCell44
|
||||
//
|
||||
this.xrTableCell44.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
|
||||
new DevExpress.XtraReports.UI.XRBinding("Text", null, "SupportConceptDetailList.FLSRemaining")});
|
||||
this.xrTableCell44.Name = "xrTableCell44";
|
||||
this.xrTableCell44.StylePriority.UseTextAlignment = false;
|
||||
xrSummary3.FormatString = "{0:0.00}";
|
||||
xrSummary3.IgnoreNullValues = true;
|
||||
xrSummary3.Running = DevExpress.XtraReports.UI.SummaryRunning.Report;
|
||||
this.xrTableCell44.Summary = xrSummary3;
|
||||
this.xrTableCell44.Text = "xrTableCell44";
|
||||
this.xrTableCell44.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopRight;
|
||||
this.xrTableCell44.Weight = 0.13440874065612651D;
|
||||
//
|
||||
// xrTableCell45
|
||||
//
|
||||
this.xrTableCell45.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
|
||||
new DevExpress.XtraReports.UI.XRBinding("Text", null, "SupportConceptDetailList.FLSOpenPerWeek")});
|
||||
this.xrTableCell45.Name = "xrTableCell45";
|
||||
this.xrTableCell45.StylePriority.UseBorders = false;
|
||||
this.xrTableCell45.StylePriority.UseTextAlignment = false;
|
||||
xrSummary4.FormatString = "{0:0.00}";
|
||||
xrSummary4.IgnoreNullValues = true;
|
||||
xrSummary4.Running = DevExpress.XtraReports.UI.SummaryRunning.Report;
|
||||
this.xrTableCell45.Summary = xrSummary4;
|
||||
this.xrTableCell45.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopRight;
|
||||
this.xrTableCell45.Weight = 0.1559138887271406D;
|
||||
//
|
||||
// xrTableCell46
|
||||
//
|
||||
this.xrTableCell46.Borders = DevExpress.XtraPrinting.BorderSide.None;
|
||||
this.xrTableCell46.Name = "xrTableCell46";
|
||||
this.xrTableCell46.StylePriority.UseBorders = false;
|
||||
this.xrTableCell46.StylePriority.UseTextAlignment = false;
|
||||
this.xrTableCell46.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopRight;
|
||||
this.xrTableCell46.Weight = 0.15591422839649188D;
|
||||
//
|
||||
// xrTableCell47
|
||||
//
|
||||
this.xrTableCell47.Borders = DevExpress.XtraPrinting.BorderSide.None;
|
||||
this.xrTableCell47.Font = new DevExpress.Drawing.DXFont("Arial", 7F, DevExpress.Drawing.DXFontStyle.Bold);
|
||||
this.xrTableCell47.Name = "xrTableCell47";
|
||||
this.xrTableCell47.StylePriority.UseBorders = false;
|
||||
this.xrTableCell47.StylePriority.UseFont = false;
|
||||
this.xrTableCell47.StylePriority.UseTextAlignment = false;
|
||||
this.xrTableCell47.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopCenter;
|
||||
this.xrTableCell47.Weight = 0.0887097288065158D;
|
||||
//
|
||||
// xrTableCell48
|
||||
//
|
||||
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;
|
||||
//
|
||||
// xrTableCell57
|
||||
//
|
||||
this.xrTableCell57.Borders = DevExpress.XtraPrinting.BorderSide.None;
|
||||
this.xrTableCell57.Multiline = true;
|
||||
this.xrTableCell57.Name = "xrTableCell57";
|
||||
this.xrTableCell57.StylePriority.UseBorders = false;
|
||||
this.xrTableCell57.StylePriority.UseTextAlignment = false;
|
||||
this.xrTableCell57.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopRight;
|
||||
this.xrTableCell57.Weight = 0.13440865878766972D;
|
||||
//
|
||||
// xrTableCell49
|
||||
//
|
||||
this.xrTableCell49.Borders = DevExpress.XtraPrinting.BorderSide.Right;
|
||||
this.xrTableCell49.Name = "xrTableCell49";
|
||||
this.xrTableCell49.StylePriority.UseBorders = false;
|
||||
this.xrTableCell49.StylePriority.UseTextAlignment = false;
|
||||
this.xrTableCell49.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopRight;
|
||||
this.xrTableCell49.Weight = 0.1559140767180916D;
|
||||
//
|
||||
// xrTableCell50
|
||||
//
|
||||
this.xrTableCell50.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
|
||||
new DevExpress.XtraReports.UI.XRBinding("Text", null, "SupportConceptDetailList.FLSPerWeekSoll")});
|
||||
this.xrTableCell50.Name = "xrTableCell50";
|
||||
this.xrTableCell50.StylePriority.UseTextAlignment = false;
|
||||
xrSummary5.FormatString = "{0:0.00}";
|
||||
xrSummary5.IgnoreNullValues = true;
|
||||
xrSummary5.Running = DevExpress.XtraReports.UI.SummaryRunning.Report;
|
||||
this.xrTableCell50.Summary = xrSummary5;
|
||||
this.xrTableCell50.Text = "xrTableCell50";
|
||||
this.xrTableCell50.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopRight;
|
||||
this.xrTableCell50.Weight = 0.14784933254317598D;
|
||||
//
|
||||
// xrTableCell51
|
||||
//
|
||||
this.xrTableCell51.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
|
||||
new DevExpress.XtraReports.UI.XRBinding("Text", null, "SupportConceptDetailList.FLSPerWeekIst")});
|
||||
this.xrTableCell51.Name = "xrTableCell51";
|
||||
this.xrTableCell51.StylePriority.UseTextAlignment = false;
|
||||
xrSummary6.FormatString = "{0:0.00}";
|
||||
xrSummary6.IgnoreNullValues = true;
|
||||
xrSummary6.Running = DevExpress.XtraReports.UI.SummaryRunning.Report;
|
||||
this.xrTableCell51.Summary = xrSummary6;
|
||||
this.xrTableCell51.Text = "xrTableCell51";
|
||||
this.xrTableCell51.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopRight;
|
||||
this.xrTableCell51.Weight = 0.14433663740184527D;
|
||||
//
|
||||
// xrTableCell52
|
||||
//
|
||||
this.xrTableCell52.Borders = DevExpress.XtraPrinting.BorderSide.None;
|
||||
this.xrTableCell52.Name = "xrTableCell52";
|
||||
this.xrTableCell52.StylePriority.UseBorders = false;
|
||||
this.xrTableCell52.StylePriority.UseTextAlignment = false;
|
||||
this.xrTableCell52.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopRight;
|
||||
this.xrTableCell52.Weight = 0.20512567053695868D;
|
||||
//
|
||||
// xrTableCell53
|
||||
//
|
||||
this.xrTableCell53.Borders = DevExpress.XtraPrinting.BorderSide.None;
|
||||
this.xrTableCell53.Name = "xrTableCell53";
|
||||
this.xrTableCell53.StylePriority.UseBorders = false;
|
||||
this.xrTableCell53.Weight = 0.21958125875743176D;
|
||||
//
|
||||
// xrTableCell54
|
||||
//
|
||||
this.xrTableCell54.Borders = DevExpress.XtraPrinting.BorderSide.None;
|
||||
this.xrTableCell54.Name = "xrTableCell54";
|
||||
this.xrTableCell54.StylePriority.UseBorders = false;
|
||||
this.xrTableCell54.StylePriority.UseTextAlignment = false;
|
||||
this.xrTableCell54.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopRight;
|
||||
this.xrTableCell54.Weight = 0.13525699097924734D;
|
||||
//
|
||||
// Hilfeplanuebersicht
|
||||
//
|
||||
this.Bands.AddRange(new DevExpress.XtraReports.UI.Band[] {
|
||||
this.Detail,
|
||||
this.ReportHeader,
|
||||
this.DetailReport,
|
||||
this.PageHeader,
|
||||
this.PageFooter,
|
||||
this.topMarginBand1,
|
||||
this.bottomMarginBand1,
|
||||
this.GroupFooter1});
|
||||
this.CalculatedFields.AddRange(new DevExpress.XtraReports.UI.CalculatedField[] {
|
||||
this.approvedText});
|
||||
this.DataSource = this.bindingSource1;
|
||||
this.FormattingRuleSheet.AddRange(new DevExpress.XtraReports.UI.FormattingRule[] {
|
||||
this.ruleNotApprovedAndExpiringNext8Months,
|
||||
this.ruleNotApprovedAndExpiringNext4Months});
|
||||
this.Landscape = true;
|
||||
this.Margins = new DevExpress.Drawing.DXMargins(30F, 30F, 50F, 20F);
|
||||
this.PageHeight = 827;
|
||||
this.PageWidth = 1169;
|
||||
this.PaperKind = DevExpress.Drawing.Printing.DXPaperKind.A4;
|
||||
this.Version = "23.2";
|
||||
((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)).EndInit();
|
||||
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
private DevExpress.XtraReports.UI.DetailBand Detail;
|
||||
private System.Windows.Forms.BindingSource bindingSource1;
|
||||
private DevExpress.XtraReports.UI.ReportHeaderBand ReportHeader;
|
||||
private DevExpress.XtraReports.UI.DetailReportBand DetailReport;
|
||||
private DevExpress.XtraReports.UI.DetailBand Detail1;
|
||||
private DevExpress.XtraReports.UI.PageHeaderBand PageHeader;
|
||||
private DevExpress.XtraReports.UI.PageFooterBand PageFooter;
|
||||
private DevExpress.XtraReports.UI.XRPageInfo xrPageInfo1;
|
||||
private DevExpress.XtraReports.UI.XRPageInfo xrPageInfo2;
|
||||
private DevExpress.XtraReports.UI.XRLabel xrLabel1;
|
||||
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 xrTableCell3;
|
||||
private DevExpress.XtraReports.UI.XRTableCell xrTableCell4;
|
||||
private DevExpress.XtraReports.UI.XRTableCell xrTableCell5;
|
||||
private DevExpress.XtraReports.UI.XRTableCell xrTableCell6;
|
||||
private DevExpress.XtraReports.UI.XRTableCell xrTableCell7;
|
||||
private DevExpress.XtraReports.UI.XRTableCell xrTableCell8;
|
||||
private DevExpress.XtraReports.UI.XRTableCell xrTableCell9;
|
||||
private DevExpress.XtraReports.UI.XRTableCell xrTableCell10;
|
||||
private DevExpress.XtraReports.UI.XRTableCell xrTableCell11;
|
||||
private DevExpress.XtraReports.UI.XRTableCell xrTableCell12;
|
||||
private DevExpress.XtraReports.UI.XRTableCell xrTableCell13;
|
||||
private DevExpress.XtraReports.UI.XRTableCell xrTableCell14;
|
||||
private DevExpress.XtraReports.UI.XRTableCell xrTableCell15;
|
||||
private DevExpress.XtraReports.UI.XRTableCell xrTableCell16;
|
||||
private DevExpress.XtraReports.UI.XRTableCell xrTableCell17;
|
||||
private DevExpress.XtraReports.UI.XRTable xrTable2;
|
||||
private DevExpress.XtraReports.UI.XRTableRow xrTableRow2;
|
||||
private DevExpress.XtraReports.UI.XRTableCell xrTableCell18;
|
||||
private DevExpress.XtraReports.UI.XRTableCell xrTableCell19;
|
||||
private DevExpress.XtraReports.UI.XRTableCell xrTableCell20;
|
||||
private DevExpress.XtraReports.UI.XRTableCell xrTableCell21;
|
||||
private DevExpress.XtraReports.UI.XRTableCell xrTableCell22;
|
||||
private DevExpress.XtraReports.UI.XRTableCell xrTableCell23;
|
||||
private DevExpress.XtraReports.UI.XRTableCell xrTableCell24;
|
||||
private DevExpress.XtraReports.UI.XRTableCell xrTableCell25;
|
||||
private DevExpress.XtraReports.UI.XRTableCell xrTableCell26;
|
||||
private DevExpress.XtraReports.UI.XRTableCell xrTableCell27;
|
||||
private DevExpress.XtraReports.UI.XRTableCell xrTableCell28;
|
||||
private DevExpress.XtraReports.UI.XRTableCell xrTableCell29;
|
||||
private DevExpress.XtraReports.UI.XRTableCell xrTableCell30;
|
||||
private DevExpress.XtraReports.UI.XRTableCell xrTableCell31;
|
||||
private DevExpress.XtraReports.UI.XRTableCell xrTableCell32;
|
||||
private DevExpress.XtraReports.UI.XRTableCell xrTableCell33;
|
||||
private DevExpress.XtraReports.UI.XRTableCell xrTableCell34;
|
||||
private DevExpress.XtraReports.UI.CalculatedField approvedText;
|
||||
private DevExpress.XtraReports.UI.FormattingRule ruleNotApprovedAndExpiringNext8Months;
|
||||
private DevExpress.XtraReports.UI.FormattingRule ruleNotApprovedAndExpiringNext4Months;
|
||||
private DevExpress.XtraReports.UI.TopMarginBand topMarginBand1;
|
||||
private DevExpress.XtraReports.UI.BottomMarginBand bottomMarginBand1;
|
||||
private DevExpress.XtraReports.UI.XRTableCell xrTableCell36;
|
||||
private DevExpress.XtraReports.UI.XRTableCell xrTableCell35;
|
||||
private DevExpress.XtraReports.UI.GroupFooterBand GroupFooter1;
|
||||
private DevExpress.XtraReports.UI.XRTable xrTable3;
|
||||
private DevExpress.XtraReports.UI.XRTableRow xrTableRow3;
|
||||
private DevExpress.XtraReports.UI.XRTableCell xrTableCell37;
|
||||
private DevExpress.XtraReports.UI.XRTableCell xrTableCell38;
|
||||
private DevExpress.XtraReports.UI.XRTableCell xrTableCell39;
|
||||
private DevExpress.XtraReports.UI.XRTableCell xrTableCell40;
|
||||
private DevExpress.XtraReports.UI.XRTableCell xrTableCell41;
|
||||
private DevExpress.XtraReports.UI.XRTableCell xrTableCell42;
|
||||
private DevExpress.XtraReports.UI.XRTableCell xrTableCell43;
|
||||
private DevExpress.XtraReports.UI.XRTableCell xrTableCell44;
|
||||
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 xrTableCell49;
|
||||
private DevExpress.XtraReports.UI.XRTableCell xrTableCell50;
|
||||
private DevExpress.XtraReports.UI.XRTableCell xrTableCell51;
|
||||
private DevExpress.XtraReports.UI.XRTableCell xrTableCell52;
|
||||
private DevExpress.XtraReports.UI.XRTableCell xrTableCell53;
|
||||
private DevExpress.XtraReports.UI.XRTableCell xrTableCell54;
|
||||
private DevExpress.XtraReports.UI.XRTableCell xrTableCell56;
|
||||
private DevExpress.XtraReports.UI.XRTableCell xrTableCell55;
|
||||
private DevExpress.XtraReports.UI.XRTableCell xrTableCell57;
|
||||
}
|
||||
}
|
||||
52
ReportImp/BeWoAmrath/SupportConceptReport.cs
Normal file
52
ReportImp/BeWoAmrath/SupportConceptReport.cs
Normal file
@@ -0,0 +1,52 @@
|
||||
using System;
|
||||
using System.Drawing;
|
||||
using System.Collections;
|
||||
using System.ComponentModel;
|
||||
using DevExpress.XtraReports.UI;
|
||||
using BS.Shared.Extensions;
|
||||
using BeWo.Report.ReportObjects;
|
||||
using BeWo.Report;
|
||||
using BeWo.Data.Access;
|
||||
|
||||
namespace BeWoAmrath
|
||||
{
|
||||
public partial class Hilfeplanuebersicht : DevExpress.XtraReports.UI.XtraReport, IBeWoReport<SupportConceptListRO>
|
||||
{
|
||||
public Hilfeplanuebersicht()
|
||||
{
|
||||
InitializeComponent();
|
||||
}
|
||||
|
||||
public void SetReportDataSource(SupportConceptListRO pRO)
|
||||
{
|
||||
foreach (var sc in pRO.SupportConceptDetailList)
|
||||
{
|
||||
var servicerecords = DAOFactory.SearchDAO.FindServiceRecords(null, sc.CostBearer2SupportConceptOid);
|
||||
decimal zeitFk = 0;
|
||||
decimal zeitNFk = 0;
|
||||
decimal quote = 1;
|
||||
foreach (var sr in servicerecords)
|
||||
{
|
||||
if (sr.Employee.IsQualified.HasValue && sr.Employee.IsQualified.Value)
|
||||
{
|
||||
zeitFk += sr.RoundedDuration;
|
||||
}
|
||||
else
|
||||
{
|
||||
zeitNFk += sr.RoundedDuration;
|
||||
}
|
||||
}
|
||||
if (zeitFk > 0)
|
||||
{
|
||||
quote = zeitNFk / zeitFk;
|
||||
sc.Custom1 = String.Format("{0:0.0}%", (100 * quote));
|
||||
}
|
||||
else if (zeitNFk > 0 )
|
||||
{
|
||||
sc.Custom1 = "100 %";
|
||||
}
|
||||
}
|
||||
this.bindingSource1.DataSource = pRO;
|
||||
}
|
||||
}
|
||||
}
|
||||
120
ReportImp/BeWoAmrath/SupportConceptReport.resx
Normal file
120
ReportImp/BeWoAmrath/SupportConceptReport.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>
|
||||
@@ -69,7 +69,7 @@ namespace BeWoDarmstadt
|
||||
lblStelle.Text = String.Format("{0:0.00}", ed.SollProWoche/40);
|
||||
|
||||
decimal anteilFLS = (decimal)0.75;
|
||||
if (ed.WeeklyFLS.HasValue)
|
||||
if (ed.WeeklyFLS.HasValue && ed.SollProWoche != 0)
|
||||
{
|
||||
anteilFLS = Math.Round((decimal)ed.WeeklyFLS / ed.SollProWoche, 2, MidpointRounding.AwayFromZero);
|
||||
}
|
||||
|
||||
@@ -153,8 +153,8 @@ namespace BloemelingUndTeckhaus
|
||||
this.xrLabel7.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
|
||||
this.xrLabel7.SizeF = new System.Drawing.SizeF(267F, 111.5F);
|
||||
this.xrLabel7.StylePriority.UseFont = false;
|
||||
this.xrLabel7.Text = "1[RecipientOrganisation]\r\n[RecipientContactPerson]\r\n[RecipientDivision]\r\n[Recipie" +
|
||||
"ntStreet]\r\n[RecipientPostCodeAndTown]";
|
||||
this.xrLabel7.Text = "[RecipientOrganisation]\r\n[RecipientContactPerson]\r\n[RecipientDivision]\r\n[Recipien" +
|
||||
"tStreet]\r\n[RecipientPostCodeAndTown]";
|
||||
//
|
||||
// xrLabel4
|
||||
//
|
||||
|
||||
@@ -26,7 +26,12 @@ namespace ClaudiaHeizmannHeilpaedagogik
|
||||
{
|
||||
if (pRO.MonatsZeilen != null && pRO.MonatsZeilen.Count > 0)
|
||||
{
|
||||
var bewStdKum = pRO.SummeStundenDifKumJahresbeginn;
|
||||
decimal bewStdKum = 0;
|
||||
if (pRO.MonatsZeilen.Any(m => m.MonatStartDate.Year == pRO.EndDate.AddYears(-1).Year && m.MonatStartDate.Month == 12))
|
||||
{
|
||||
var lastYear = pRO.MonatsZeilen.Where(m => m.MonatStartDate.Year == pRO.EndDate.AddYears(-1).Year && m.MonatStartDate.Month == 12).FirstOrDefault();
|
||||
bewStdKum = -lastYear.StundenDifferenzKumuliert ?? 0;
|
||||
}
|
||||
decimal istStdKum = 0;
|
||||
pRO.MonatsZeilen = pRO.MonatsZeilen.Where(m => m.MonatStartDate.Year == pRO.EndDate.Year).OrderBy(m => m.MonatStartDate).ToList();
|
||||
foreach (var mz in pRO.MonatsZeilen)
|
||||
|
||||
@@ -28,10 +28,36 @@ namespace KollegiumEv.Export
|
||||
public static String GetAbrechnungenString(DateTime date)
|
||||
{
|
||||
StringBuilder sb = new StringBuilder();
|
||||
//sb.AppendLine("Betrag;Konto;Gegenkonto;Belegdatum;Rechnungsnummer;Buchungstext;Kostenstelle");
|
||||
DateTime lastDate = new DateTime(date.Year, date.Month, 1);
|
||||
lastDate = lastDate.AddMonths(1).AddDays(-1);
|
||||
|
||||
sb.Append("EXTF;510;21;Buchungsstapel;7;");
|
||||
sb.Append(String.Format("{0:yyyyMM}00000000000", new DateTime(date.Year, date.Month, 1)));
|
||||
sb.Append(";;;;;1432822;21032;");
|
||||
sb.Append(String.Format("{0:yyyyMMdd}", new DateTime(date.Year, 1, 1)));
|
||||
sb.Append(";4;");
|
||||
sb.Append(String.Format("{0:yyyyMMdd}", new DateTime(date.Year, date.Month, 1)));
|
||||
sb.Append(";");
|
||||
sb.Append(String.Format("{0:yyyyMMdd}", lastDate));
|
||||
sb.Append(";");
|
||||
sb.Append("OwnSoft Import");
|
||||
sb.AppendLine(";;1;0;0;EUR;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;");
|
||||
sb.AppendLine("Umsatz (ohne Soll/Haben-Kz);Soll/Haben-Kennzeichen;WKZ Umsatz;Kurs;Basis-Umsatz;WKZ Basis-Umsatz;Konto;Gegenkonto (ohne BU-Schlüssel);BU-Schlüssel;Belegdatum;Belegfeld 1;Belegfeld 2;" +
|
||||
"Skonto;Buchungstext;Postensperre;Diverse Adressnummer;Geschäftspartnerbank;Sachverhalt;Zinssperre;Beleglink;Beleginfo - Art 1;Beleginfo - Inhalt 1;Beleginfo - Art 2;" +
|
||||
"Beleginfo - Inhalt 2;Beleginfo - Art 3;Beleginfo - Inhalt 3;Beleginfo - Art 4;Beleginfo - Inhalt 4;Beleginfo - Art 5;Beleginfo - Inhalt 5;Beleginfo - Art 6;Beleginfo - Inhalt 6;Beleginfo - Art 7;" +
|
||||
"Beleginfo - Inhalt 7;Beleginfo - Art 8;Beleginfo - Inhalt 8;KOST1 - Kostenstelle;KOST2 - Kostenstelle;Kost-Menge;EU-Land u. UStID;EU-Steuersatz;Abw. Versteuerungsart;Sachverhalt L+L;" +
|
||||
"Funktionsergänzung L+L;BU 49 Hauptfunktionstyp;BU 49 Hauptfunktionsnummer;BU 49 Funktionsergänzung;Zusatzinformation - Art 1;Zusatzinformation- Inhalt 1;" +
|
||||
"Zusatzinformation - Art 2;Zusatzinformation- Inhalt 2;Zusatzinformation - Art 3;Zusatzinformation- Inhalt 3;Zusatzinformation - Art 4;Zusatzinformation- Inhalt 4;" +
|
||||
"Zusatzinformation - Art 5;Zusatzinformation- Inhalt 5;Zusatzinformation - Art 6;Zusatzinformation- Inhalt 6;Zusatzinformation - Art 7;Zusatzinformation- Inhalt 7;" +
|
||||
"Zusatzinformation - Art 8;Zusatzinformation- Inhalt 8;Zusatzinformation - Art 9;Zusatzinformation- Inhalt 9;Zusatzinformation - Art 10;Zusatzinformation- Inhalt 10;" +
|
||||
"Zusatzinformation - Art 11;Zusatzinformation- Inhalt 11;Zusatzinformation - Art 12;Zusatzinformation- Inhalt 12;Zusatzinformation - Art 13;Zusatzinformation- Inhalt 13;" +
|
||||
"Zusatzinformation - Art 14;Zusatzinformation- Inhalt 14;Zusatzinformation - Art 15;Zusatzinformation- Inhalt 15;Zusatzinformation - Art 16;Zusatzinformation- Inhalt 16;" +
|
||||
"Zusatzinformation - Art 17;Zusatzinformation- Inhalt 17;Zusatzinformation - Art 18;Zusatzinformation- Inhalt 18;Zusatzinformation - Art 19;Zusatzinformation- Inhalt 19;" +
|
||||
"Zusatzinformation - Art 20;Zusatzinformation- Inhalt 20;Stück;Gewicht;Zahlweise;Forderungsart;Veranlagungsjahr;Zugeordnete Fälligkeit;Skontotyp;" +
|
||||
"Auftragsnummer;Buchungstyp;Ust-Schlüssel (Anzahlungen);EU-Land (Anzahlungen);Sachverhalt L+L (Anzahlungen);EU-Steuersatz (Anzahlungen);Erlöskonto (Anzahlungen);Herkunft-Kz;Leerfeld;KOST-Datum;Mandatsreferenz;" +
|
||||
"Skontosperre;Gesellschaftername;Beteiligtennummer;Identifikationsnummer;Zeichnernummer;Postensperre bis;Bezeichnung SoBil-Sachverhalt;Kennzeichen SoBil-Buchung;" +
|
||||
"Festschreibung;Leistungsdatum;Datum Zuord. Steuerperiode;Fälligkeit");
|
||||
|
||||
sb.AppendLine("Datum;Konto;Gegenkonto;Buchungstext;Belegfeld1;Umsatz Soll;Kostenstelle");
|
||||
|
||||
//var s = GetMonatlicheRechnungenString(date);
|
||||
//if (!String.IsNullOrWhiteSpace(s))
|
||||
//{
|
||||
@@ -77,12 +103,15 @@ ib.InvoiceId
|
||||
DateTime lastDate = new DateTime(date.Year, date.Month, 1);
|
||||
lastDate = lastDate.AddMonths(1).AddDays(-1);
|
||||
|
||||
sb.Append(String.Format("{0:ddMM}", lastDate));
|
||||
sb.Append(";");
|
||||
sb.Append(String.Format("{0}", row[1]));
|
||||
sb.Append(";");
|
||||
sb.Append("8010"); // Erlöskonto
|
||||
sb.Append(String.Format("{0:0.00}", row[0])); //Betrag
|
||||
sb.Append(";S;;;;;");
|
||||
sb.Append(String.Format("{0}", row[1])); //DebitorNumber
|
||||
sb.Append(";8010"); // Erlöskonto
|
||||
sb.Append(";182;");
|
||||
sb.Append(String.Format("{0:ddMM}", row[2]));
|
||||
sb.Append(";");
|
||||
sb.Append(String.Format("{0}", row[3])); //InvoiceNumber
|
||||
sb.Append(";;;");
|
||||
String buchungstext = "";
|
||||
long? c2sOid = (long?)row[5];
|
||||
|
||||
@@ -96,12 +125,7 @@ ib.InvoiceId
|
||||
}
|
||||
|
||||
sb.Append(buchungstext);
|
||||
sb.Append(";");
|
||||
sb.Append(String.Format("{0}", row[3]));
|
||||
sb.Append(";");
|
||||
sb.Append(String.Format("{0:0.00}", row[0]));
|
||||
sb.Append(";");
|
||||
sb.Append("3010");
|
||||
sb.Append(";;;;;;;;;;;;;;;;;;;;;;;310;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;");
|
||||
}
|
||||
|
||||
return sb.ToString();
|
||||
@@ -132,9 +156,9 @@ cb2sc.Oid
|
||||
DateTime lastDate = new DateTime(date.Year, date.Month, 1);
|
||||
lastDate = lastDate.AddMonths(1).AddDays(-1);
|
||||
|
||||
sb.Append(String.Format("{0:ddMM}", lastDate));
|
||||
sb.Append(";");
|
||||
sb.Append(String.Format("{0}", row[1]));
|
||||
sb.Append(String.Format("{0:0.00}", row[0])); //Betrag
|
||||
sb.Append(";S;;;;;");
|
||||
sb.Append(String.Format("{0}", row[1])); //DebitorNumber
|
||||
sb.Append(";");
|
||||
if (row[4].ToString().Contains("Assistenz"))
|
||||
{
|
||||
@@ -144,14 +168,12 @@ cb2sc.Oid
|
||||
{
|
||||
sb.Append("8010"); // Erlöskonto
|
||||
}
|
||||
sb.Append(";");
|
||||
sb.Append(";182;");
|
||||
sb.Append(String.Format("{0:ddMM}", lastDate));
|
||||
sb.Append(";;;;");
|
||||
sb.Append(String.Format("{0}", row[3]));
|
||||
sb.Append(";");
|
||||
//sb.Append(""); // Rechnungsnummer leer
|
||||
sb.Append(";");
|
||||
sb.Append(String.Format("{0:0.00}", row[0]));
|
||||
sb.Append(";");
|
||||
sb.Append("310");
|
||||
sb.Append(";;;;;;;;;;;;;;;;;;;;;;310;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;");
|
||||
}
|
||||
|
||||
return sb.ToString();
|
||||
@@ -197,8 +219,8 @@ order by ib.invoicenumber
|
||||
FROM
|
||||
(
|
||||
(SELECT
|
||||
IF(crpRateFactor.`CostRateValue` is null, ROUND((sr.`GeleisteteFLM` / 60) * (SELECT crp.`CostRateValue` FROM `costrateperiod` crp WHERE crp.`ObjectTid` = 22 AND crp.`CostRateType` = 0 AND crp.`ObjectOid` = cb2sc.`CostBearerOid` AND(crp.`EndDate` is null or crp.`EndDate` > ':Monat_Start') order by IF(crp.`EndDate` is null, MAKEDATE(9999, 365), crp.`EndDate`) LIMIT 1), 2),
|
||||
ROUND(ROUND((sr.`GeleisteteFLM` / 60), 2) * (SELECT crp.`CostRateValue` FROM `costrateperiod` crp WHERE crp.`ObjectTid` = 22 AND crp.`CostRateType` = 0 AND crp.`ObjectOid` = cb2sc.`CostBearerOid` AND(crp.`EndDate` is null or crp.`EndDate` > ':Monat_Start') order by IF(crp.`EndDate` is null, MAKEDATE(9999, 365), crp.`EndDate`) LIMIT 1 ) *((100 + crpRateFactor.`CostRateValue`)/ 100), 2)) AS 'Betrag',
|
||||
IF(crpRateFactor.`CostRateValue` is null, ROUND((sr.`GeleisteteFLM` / 60) * (SELECT crp.`CostRateValue` FROM `costrateperiod` crp WHERE crp.`ObjectTid` = 22 AND crp.`CostRateType` = 0 AND crp.`ObjectOid` = cb2sc.`CostBearerOid` AND (crp.`EndDate` is null or crp.`EndDate` > ':Monat_Start') order by IF(crp.`EndDate` is null, MAKEDATE(9999,365),crp.`EndDate`) LIMIT 1 )),
|
||||
ROUND(ROUND((sr.`GeleisteteFLM` / 60), 2) * (SELECT crp.`CostRateValue` FROM `costrateperiod` crp WHERE crp.`ObjectTid` = 22 AND crp.`CostRateType` = 0 AND crp.`ObjectOid` = cb2sc.`CostBearerOid` AND (crp.`EndDate` is null or crp.`EndDate` > ':Monat_Start') order by IF(crp.`EndDate` is null, MAKEDATE(9999,365),crp.`EndDate`) LIMIT 1 ) * ((100 + crpRateFactor.`CostRateValue`)/100), 2)) AS 'Betrag',
|
||||
c.DebitorNumber,
|
||||
c.CostCenter,
|
||||
CONCAT(p.`LastName`, ', ', p.`FirstName`) as 'Verwendung',
|
||||
@@ -220,11 +242,11 @@ order by ib.invoicenumber
|
||||
INNER JOIN `servicecategory` sc ON sd.`ServiceCategoryOid` = sc.`Oid`
|
||||
WHERE sr2.`StartDate` >= ':Monat_Start' AND sr2.`StartDate` < ':Monat_End' AND sc.`Billable` = 1 AND sd.Name <> 'Fehlkontakt' GROUP BY sr2.`CostBearer2SupportConceptOid`)
|
||||
AS sr ON sr.`CostBearer2SupportConceptOid` = cb2sc.`Oid`
|
||||
WHERE c.`IsActive` = 1 AND sc.`IsActive` = 1
|
||||
WHERE c.`IsActive` <> 0 AND sc.`IsActive` <> 0
|
||||
and(sr.`GeleisteteFLM` is not null))
|
||||
UNION
|
||||
(SELECT
|
||||
ROUND(0.8 * (sr.`GeleisteteFLM` / 60) * (SELECT crp.`CostRateValue` FROM `costrateperiod` crp WHERE crp.`ObjectTid` = 22 AND crp.`CostRateType` = 0 AND crp.`ObjectOid` = cb2sc.`CostBearerOid` AND (crp.`EndDate` is null or crp.`EndDate` > ':Monat_Start') order by IF(crp.`EndDate` is null, MAKEDATE(9999,365),crp.`EndDate`) LIMIT 1 )) AS 'Betrag',
|
||||
ROUND(0.8 * (sr.`GeleisteteFLM` / 60) * (SELECT crp.`CostRateValue` FROM `costrateperiod` crp WHERE crp.`ObjectTid` = 22 AND crp.`CostRateType` = 0 AND crp.`ObjectOid` = cb2sc.`CostBearerOid` AND (crp.`EndDate` is null or crp.`EndDate` > ':Monat_Start') order by IF(crp.`EndDate` is null, MAKEDATE(9999,365),crp.`EndDate`) LIMIT 1 ),2) AS 'Betrag',
|
||||
c.DebitorNumber,
|
||||
c.CostCenter,
|
||||
CONCAT(p.`LastName`, ', ', p.`FirstName`) as 'Verwendung',
|
||||
@@ -242,7 +264,7 @@ order by ib.invoicenumber
|
||||
INNER JOIN `servicecategory` sc ON sd.`ServiceCategoryOid` = sc.`Oid`
|
||||
WHERE sr2.`StartDate` >= ':Monat_Start' AND sr2.`StartDate` < ':Monat_End' AND sc.`Billable` = 1 and sd.Name = 'Fehlkontakt' GROUP BY sr2.`CostBearer2SupportConceptOid`)
|
||||
AS sr ON sr.`CostBearer2SupportConceptOid` = cb2sc.`Oid`
|
||||
WHERE c.`IsActive` = 1 AND sc.`IsActive` = 1
|
||||
WHERE c.`IsActive` <> 0 AND sc.`IsActive` <> 0
|
||||
and (sr.`GeleisteteFLM` is not null))
|
||||
)qry
|
||||
GROUP BY qry.OID
|
||||
|
||||
@@ -43,6 +43,7 @@ namespace LebenshilfeStadeMID
|
||||
this.xrTableCell12 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell13 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell14 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell17 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell38 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell39 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.GroupHeader1 = new DevExpress.XtraReports.UI.GroupHeaderBand();
|
||||
@@ -53,6 +54,7 @@ namespace LebenshilfeStadeMID
|
||||
this.xrTableCell4 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell5 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell6 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell7 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell8 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell9 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableRow2 = new DevExpress.XtraReports.UI.XRTableRow();
|
||||
@@ -61,6 +63,7 @@ namespace LebenshilfeStadeMID
|
||||
this.xrTableCell32 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell33 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell34 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell15 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell36 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell37 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.formattingRuleStartDate = new DevExpress.XtraReports.UI.FormattingRule();
|
||||
@@ -86,7 +89,8 @@ namespace LebenshilfeStadeMID
|
||||
this.xrTableRow8 = new DevExpress.XtraReports.UI.XRTableRow();
|
||||
this.xrTableCell16 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.tcSumVerfuegungszeit = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.tcSumZusatzleistung = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.tcSumZusatzleistung1 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.tcSumZusatzleistung2 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.tcSumSchuelerKrank = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell23 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrLabel1 = new DevExpress.XtraReports.UI.XRLabel();
|
||||
@@ -136,7 +140,7 @@ namespace LebenshilfeStadeMID
|
||||
this.xrTableDetail.Name = "xrTableDetail";
|
||||
this.xrTableDetail.Rows.AddRange(new DevExpress.XtraReports.UI.XRTableRow[] {
|
||||
this.xrTableRowDetail});
|
||||
this.xrTableDetail.SizeF = new System.Drawing.SizeF(746.9998F, 20F);
|
||||
this.xrTableDetail.SizeF = new System.Drawing.SizeF(758F, 20F);
|
||||
this.xrTableDetail.StylePriority.UseBorders = false;
|
||||
this.xrTableDetail.StylePriority.UseFont = false;
|
||||
this.xrTableDetail.StylePriority.UsePadding = false;
|
||||
@@ -151,6 +155,7 @@ namespace LebenshilfeStadeMID
|
||||
this.xrTableCell12,
|
||||
this.xrTableCell13,
|
||||
this.xrTableCell14,
|
||||
this.xrTableCell17,
|
||||
this.xrTableCell38,
|
||||
this.xrTableCell39});
|
||||
this.xrTableRowDetail.Name = "xrTableRowDetail";
|
||||
@@ -231,7 +236,18 @@ namespace LebenshilfeStadeMID
|
||||
this.xrTableCell14.StylePriority.UsePadding = false;
|
||||
this.xrTableCell14.StylePriority.UseTextAlignment = false;
|
||||
this.xrTableCell14.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
|
||||
this.xrTableCell14.Weight = 0.18428328451960357D;
|
||||
this.xrTableCell14.Weight = 0.21599778129760139D;
|
||||
//
|
||||
// xrTableCell17
|
||||
//
|
||||
this.xrTableCell17.Borders = ((DevExpress.XtraPrinting.BorderSide)((DevExpress.XtraPrinting.BorderSide.Right | DevExpress.XtraPrinting.BorderSide.Bottom)));
|
||||
this.xrTableCell17.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
|
||||
new DevExpress.XtraReports.UI.XRBinding("Text", null, "Services.Notice3")});
|
||||
this.xrTableCell17.Font = new DevExpress.Drawing.DXFont("Calibri", 12F);
|
||||
this.xrTableCell17.Name = "xrTableCell17";
|
||||
this.xrTableCell17.StylePriority.UseBorders = false;
|
||||
this.xrTableCell17.StylePriority.UseFont = false;
|
||||
this.xrTableCell17.Weight = 0.21572592451502093D;
|
||||
//
|
||||
// xrTableCell38
|
||||
//
|
||||
@@ -244,7 +260,7 @@ namespace LebenshilfeStadeMID
|
||||
this.xrTableCell38.StylePriority.UseFont = false;
|
||||
this.xrTableCell38.StylePriority.UseTextAlignment = false;
|
||||
this.xrTableCell38.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
|
||||
this.xrTableCell38.Weight = 0.13799958016761255D;
|
||||
this.xrTableCell38.Weight = 0.11747358357220508D;
|
||||
//
|
||||
// xrTableCell39
|
||||
//
|
||||
@@ -259,7 +275,7 @@ namespace LebenshilfeStadeMID
|
||||
this.xrTableCell39.StylePriority.UseTextAlignment = false;
|
||||
this.xrTableCell39.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleRight;
|
||||
this.xrTableCell39.TextFormatString = "{0:0.00}";
|
||||
this.xrTableCell39.Weight = 0.19535019972141485D;
|
||||
this.xrTableCell39.Weight = 0.15271905954340717D;
|
||||
//
|
||||
// GroupHeader1
|
||||
//
|
||||
@@ -278,7 +294,7 @@ namespace LebenshilfeStadeMID
|
||||
this.xrTable1.Rows.AddRange(new DevExpress.XtraReports.UI.XRTableRow[] {
|
||||
this.xrTableRow1,
|
||||
this.xrTableRow2});
|
||||
this.xrTable1.SizeF = new System.Drawing.SizeF(746.8331F, 40F);
|
||||
this.xrTable1.SizeF = new System.Drawing.SizeF(757.8332F, 40F);
|
||||
this.xrTable1.StylePriority.UseBorders = false;
|
||||
this.xrTable1.StylePriority.UseFont = false;
|
||||
this.xrTable1.StylePriority.UsePadding = false;
|
||||
@@ -293,6 +309,7 @@ namespace LebenshilfeStadeMID
|
||||
this.xrTableCell4,
|
||||
this.xrTableCell5,
|
||||
this.xrTableCell6,
|
||||
this.xrTableCell7,
|
||||
this.xrTableCell8,
|
||||
this.xrTableCell9});
|
||||
this.xrTableRow1.Name = "xrTableRow1";
|
||||
@@ -359,7 +376,20 @@ namespace LebenshilfeStadeMID
|
||||
this.xrTableCell6.Text = "bewilligte\r\n";
|
||||
this.xrTableCell6.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopCenter;
|
||||
this.xrTableCell6.TextTrimming = DevExpress.Drawing.DXStringTrimming.Word;
|
||||
this.xrTableCell6.Weight = 0.27795750321560986D;
|
||||
this.xrTableCell6.Weight = 0.32578559827593756D;
|
||||
//
|
||||
// xrTableCell7
|
||||
//
|
||||
this.xrTableCell7.Borders = ((DevExpress.XtraPrinting.BorderSide)((DevExpress.XtraPrinting.BorderSide.Top | DevExpress.XtraPrinting.BorderSide.Right)));
|
||||
this.xrTableCell7.Font = new DevExpress.Drawing.DXFont("Calibri", 12F);
|
||||
this.xrTableCell7.Multiline = true;
|
||||
this.xrTableCell7.Name = "xrTableCell7";
|
||||
this.xrTableCell7.StylePriority.UseBorders = false;
|
||||
this.xrTableCell7.StylePriority.UseFont = false;
|
||||
this.xrTableCell7.StylePriority.UseTextAlignment = false;
|
||||
this.xrTableCell7.Text = "bewilligte\r\n";
|
||||
this.xrTableCell7.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopCenter;
|
||||
this.xrTableCell7.Weight = 0.32538841661845791D;
|
||||
//
|
||||
// xrTableCell8
|
||||
//
|
||||
@@ -370,7 +400,7 @@ namespace LebenshilfeStadeMID
|
||||
this.xrTableCell8.Text = "Schüler/in";
|
||||
this.xrTableCell8.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopCenter;
|
||||
this.xrTableCell8.TextTrimming = DevExpress.Drawing.DXStringTrimming.Word;
|
||||
this.xrTableCell8.Weight = 0.2081429535675107D;
|
||||
this.xrTableCell8.Weight = 0.17718373264695519D;
|
||||
//
|
||||
// xrTableCell9
|
||||
//
|
||||
@@ -383,7 +413,7 @@ namespace LebenshilfeStadeMID
|
||||
this.xrTableCell9.Text = "Gesamtzeit in Industrieminuten";
|
||||
this.xrTableCell9.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopCenter;
|
||||
this.xrTableCell9.TextTrimming = DevExpress.Drawing.DXStringTrimming.Word;
|
||||
this.xrTableCell9.Weight = 0.29464525204373493D;
|
||||
this.xrTableCell9.Weight = 0.23034546450111465D;
|
||||
this.xrTableCell9.WordWrap = false;
|
||||
//
|
||||
// xrTableRow2
|
||||
@@ -394,6 +424,7 @@ namespace LebenshilfeStadeMID
|
||||
this.xrTableCell32,
|
||||
this.xrTableCell33,
|
||||
this.xrTableCell34,
|
||||
this.xrTableCell15,
|
||||
this.xrTableCell36,
|
||||
this.xrTableCell37});
|
||||
this.xrTableRow2.Name = "xrTableRow2";
|
||||
@@ -453,7 +484,20 @@ namespace LebenshilfeStadeMID
|
||||
this.xrTableCell34.StylePriority.UseTextAlignment = false;
|
||||
this.xrTableCell34.Text = "Zusatzleistung";
|
||||
this.xrTableCell34.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopCenter;
|
||||
this.xrTableCell34.Weight = 0.27795750321560986D;
|
||||
this.xrTableCell34.Weight = 0.32578559827593756D;
|
||||
//
|
||||
// xrTableCell15
|
||||
//
|
||||
this.xrTableCell15.Borders = ((DevExpress.XtraPrinting.BorderSide)((DevExpress.XtraPrinting.BorderSide.Right | DevExpress.XtraPrinting.BorderSide.Bottom)));
|
||||
this.xrTableCell15.Font = new DevExpress.Drawing.DXFont("Calibri", 12F);
|
||||
this.xrTableCell15.Multiline = true;
|
||||
this.xrTableCell15.Name = "xrTableCell15";
|
||||
this.xrTableCell15.StylePriority.UseBorders = false;
|
||||
this.xrTableCell15.StylePriority.UseFont = false;
|
||||
this.xrTableCell15.StylePriority.UseTextAlignment = false;
|
||||
this.xrTableCell15.Text = "Zusatzleistung";
|
||||
this.xrTableCell15.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopCenter;
|
||||
this.xrTableCell15.Weight = 0.32538841661845791D;
|
||||
//
|
||||
// xrTableCell36
|
||||
//
|
||||
@@ -464,7 +508,7 @@ namespace LebenshilfeStadeMID
|
||||
this.xrTableCell36.StylePriority.UseTextAlignment = false;
|
||||
this.xrTableCell36.Text = "krank";
|
||||
this.xrTableCell36.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopCenter;
|
||||
this.xrTableCell36.Weight = 0.20814295356750909D;
|
||||
this.xrTableCell36.Weight = 0.17718373264695358D;
|
||||
//
|
||||
// xrTableCell37
|
||||
//
|
||||
@@ -476,7 +520,7 @@ namespace LebenshilfeStadeMID
|
||||
this.xrTableCell37.StylePriority.UseTextAlignment = false;
|
||||
this.xrTableCell37.Text = "Stunden";
|
||||
this.xrTableCell37.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopCenter;
|
||||
this.xrTableCell37.Weight = 0.29464525204373659D;
|
||||
this.xrTableCell37.Weight = 0.23034546450111634D;
|
||||
//
|
||||
// formattingRuleStartDate
|
||||
//
|
||||
@@ -667,7 +711,7 @@ namespace LebenshilfeStadeMID
|
||||
this.xrTable3.Name = "xrTable3";
|
||||
this.xrTable3.Rows.AddRange(new DevExpress.XtraReports.UI.XRTableRow[] {
|
||||
this.xrTableRow8});
|
||||
this.xrTable3.SizeF = new System.Drawing.SizeF(746.9998F, 20F);
|
||||
this.xrTable3.SizeF = new System.Drawing.SizeF(758F, 20F);
|
||||
this.xrTable3.StylePriority.UseBorders = false;
|
||||
this.xrTable3.StylePriority.UseFont = false;
|
||||
this.xrTable3.StylePriority.UsePadding = false;
|
||||
@@ -679,7 +723,8 @@ namespace LebenshilfeStadeMID
|
||||
this.xrTableRow8.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
|
||||
this.xrTableCell16,
|
||||
this.tcSumVerfuegungszeit,
|
||||
this.tcSumZusatzleistung,
|
||||
this.tcSumZusatzleistung1,
|
||||
this.tcSumZusatzleistung2,
|
||||
this.tcSumSchuelerKrank,
|
||||
this.xrTableCell23});
|
||||
this.xrTableRow8.Name = "xrTableRow8";
|
||||
@@ -706,19 +751,33 @@ namespace LebenshilfeStadeMID
|
||||
this.tcSumVerfuegungszeit.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
|
||||
this.tcSumVerfuegungszeit.Weight = 0.21657708927019603D;
|
||||
//
|
||||
// tcSumZusatzleistung
|
||||
// tcSumZusatzleistung1
|
||||
//
|
||||
this.tcSumZusatzleistung.BorderColor = System.Drawing.Color.Transparent;
|
||||
this.tcSumZusatzleistung.Borders = DevExpress.XtraPrinting.BorderSide.None;
|
||||
this.tcSumZusatzleistung.Font = new DevExpress.Drawing.DXFont("Calibri", 12F);
|
||||
this.tcSumZusatzleistung.Multiline = true;
|
||||
this.tcSumZusatzleistung.Name = "tcSumZusatzleistung";
|
||||
this.tcSumZusatzleistung.StylePriority.UseBorderColor = false;
|
||||
this.tcSumZusatzleistung.StylePriority.UseBorders = false;
|
||||
this.tcSumZusatzleistung.StylePriority.UseFont = false;
|
||||
this.tcSumZusatzleistung.StylePriority.UseTextAlignment = false;
|
||||
this.tcSumZusatzleistung.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
|
||||
this.tcSumZusatzleistung.Weight = 0.23601132360318133D;
|
||||
this.tcSumZusatzleistung1.BorderColor = System.Drawing.Color.Transparent;
|
||||
this.tcSumZusatzleistung1.Borders = DevExpress.XtraPrinting.BorderSide.None;
|
||||
this.tcSumZusatzleistung1.Font = new DevExpress.Drawing.DXFont("Calibri", 12F);
|
||||
this.tcSumZusatzleistung1.Multiline = true;
|
||||
this.tcSumZusatzleistung1.Name = "tcSumZusatzleistung1";
|
||||
this.tcSumZusatzleistung1.StylePriority.UseBorderColor = false;
|
||||
this.tcSumZusatzleistung1.StylePriority.UseBorders = false;
|
||||
this.tcSumZusatzleistung1.StylePriority.UseFont = false;
|
||||
this.tcSumZusatzleistung1.StylePriority.UseTextAlignment = false;
|
||||
this.tcSumZusatzleistung1.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
|
||||
this.tcSumZusatzleistung1.Weight = 0.27659229459618939D;
|
||||
//
|
||||
// tcSumZusatzleistung2
|
||||
//
|
||||
this.tcSumZusatzleistung2.BorderColor = System.Drawing.Color.Transparent;
|
||||
this.tcSumZusatzleistung2.Borders = DevExpress.XtraPrinting.BorderSide.None;
|
||||
this.tcSumZusatzleistung2.Font = new DevExpress.Drawing.DXFont("Calibri", 12F);
|
||||
this.tcSumZusatzleistung2.Multiline = true;
|
||||
this.tcSumZusatzleistung2.Name = "tcSumZusatzleistung2";
|
||||
this.tcSumZusatzleistung2.StylePriority.UseBorderColor = false;
|
||||
this.tcSumZusatzleistung2.StylePriority.UseBorders = false;
|
||||
this.tcSumZusatzleistung2.StylePriority.UseFont = false;
|
||||
this.tcSumZusatzleistung2.StylePriority.UseTextAlignment = false;
|
||||
this.tcSumZusatzleistung2.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
|
||||
this.tcSumZusatzleistung2.Weight = 0.27629456681042475D;
|
||||
//
|
||||
// tcSumSchuelerKrank
|
||||
//
|
||||
@@ -727,7 +786,7 @@ namespace LebenshilfeStadeMID
|
||||
this.tcSumSchuelerKrank.StylePriority.UseFont = false;
|
||||
this.tcSumSchuelerKrank.StylePriority.UseTextAlignment = false;
|
||||
this.tcSumSchuelerKrank.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
|
||||
this.tcSumSchuelerKrank.Weight = 0.17670859896821839D;
|
||||
this.tcSumSchuelerKrank.Weight = 0.15042691376707346D;
|
||||
//
|
||||
// xrTableCell23
|
||||
//
|
||||
@@ -739,7 +798,7 @@ namespace LebenshilfeStadeMID
|
||||
this.xrTableCell23.Summary = xrSummary1;
|
||||
this.xrTableCell23.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleRight;
|
||||
this.xrTableCell23.TextFormatString = "{0:0.00}";
|
||||
this.xrTableCell23.Weight = 0.25014617138708067D;
|
||||
this.xrTableCell23.Weight = 0.19556364238797414D;
|
||||
//
|
||||
// xrLabel1
|
||||
//
|
||||
@@ -814,7 +873,7 @@ namespace LebenshilfeStadeMID
|
||||
this.formattingRuleServiceDesc,
|
||||
this.formattingRuleCostBearer,
|
||||
this.formattingRuleEmployeeName});
|
||||
this.Margins = new DevExpress.Drawing.DXMargins(50F, 30F, 100F, 30F);
|
||||
this.Margins = new DevExpress.Drawing.DXMargins(50F, 19F, 100F, 30F);
|
||||
this.PageHeight = 1169;
|
||||
this.PageWidth = 827;
|
||||
this.PaperKind = DevExpress.Drawing.Printing.DXPaperKind.A4;
|
||||
@@ -885,7 +944,7 @@ namespace LebenshilfeStadeMID
|
||||
private DevExpress.XtraReports.UI.XRTableRow xrTableRow8;
|
||||
private DevExpress.XtraReports.UI.XRTableCell xrTableCell16;
|
||||
private DevExpress.XtraReports.UI.XRTableCell tcSumVerfuegungszeit;
|
||||
private DevExpress.XtraReports.UI.XRTableCell tcSumZusatzleistung;
|
||||
private DevExpress.XtraReports.UI.XRTableCell tcSumZusatzleistung1;
|
||||
private DevExpress.XtraReports.UI.XRTableCell tcSumSchuelerKrank;
|
||||
private DevExpress.XtraReports.UI.XRTableCell xrTableCell23;
|
||||
private DevExpress.XtraReports.UI.XRLabel xrLabel1;
|
||||
@@ -893,5 +952,9 @@ namespace LebenshilfeStadeMID
|
||||
private DevExpress.XtraReports.UI.XRLabel xrLabel10;
|
||||
private DevExpress.XtraReports.UI.XRPictureBox xrPictureBox1;
|
||||
private DevExpress.XtraReports.UI.CalculatedField Hours;
|
||||
private DevExpress.XtraReports.UI.XRTableCell xrTableCell17;
|
||||
private DevExpress.XtraReports.UI.XRTableCell xrTableCell7;
|
||||
private DevExpress.XtraReports.UI.XRTableCell xrTableCell15;
|
||||
private DevExpress.XtraReports.UI.XRTableCell tcSumZusatzleistung2;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -26,7 +26,8 @@ namespace LebenshilfeStadeMID
|
||||
public void SetReportDataSource(ServicesOverviewRO pRO)
|
||||
{
|
||||
double summeVerfuegungszeit = 0;
|
||||
double summeZusatzleistung = 0;
|
||||
double summeZusatzleistung1 = 0;
|
||||
double summeZusatzleistung2 = 0;
|
||||
|
||||
if (pRO.Services != null)
|
||||
{
|
||||
@@ -55,17 +56,14 @@ namespace LebenshilfeStadeMID
|
||||
{
|
||||
sd.Notice = "";
|
||||
sd.Notice2 = "";
|
||||
sd.Notice3 = "";
|
||||
sd.Notice5 = "";
|
||||
|
||||
// Notice5 ist Zeit in Stunden, außer es in der Leistung steht "Klassenfahrt" drin, dann ist Notice5 Klassenfahrt
|
||||
if (sd.ServiceDescription.ToLower().Contains("klassenfahrt"))
|
||||
sd.Notice5 = "Klassenfahrt";
|
||||
else
|
||||
sd.Notice5 = string.Format("{0:0.00}", sd.Minutes / 60);
|
||||
|
||||
|
||||
// Verfügungszeit in eigentlichen ServiceRecord eintragen und aus Liste entfernen, dass der nicht mehrfach übertragen wird
|
||||
var vz = verfuegungszeiten.FirstOrDefault(s => s.StartDate.Date == sd.StartDate.Date);
|
||||
var zl = zusatzleistungen.FirstOrDefault(s => s.StartDate.Date == sd.StartDate.Date);
|
||||
var zls = zusatzleistungen.Where(s => s.StartDate.Date == sd.StartDate.Date).ToList();
|
||||
if (vz != null)
|
||||
{
|
||||
sd.Notice = string.Format("{0:0.00}", vz.Minutes / 60);
|
||||
@@ -74,14 +72,30 @@ namespace LebenshilfeStadeMID
|
||||
verfuegungszeiten.Remove(vz);
|
||||
}
|
||||
// Zusatzleistung in eigentlichen ServiceRecord eintragen und aus Liste entfernen, dass der nicht mehrfach übertragen wird
|
||||
if (zl != null)
|
||||
if (zls != null)
|
||||
{
|
||||
sd.Notice2 = string.Format("{0:0.00}", zl.Minutes / 60);
|
||||
sd.Minutes += zl.Minutes;
|
||||
summeZusatzleistung += zl.Minutes;
|
||||
zusatzleistungen.Remove(zl);
|
||||
if (zls.Count > 0)
|
||||
{
|
||||
sd.Notice2 = string.Format("{0:0.00} ({1:0})", zls[0].Minutes / 60, zls[0].ServiceDescription);
|
||||
sd.Minutes += zls[0].Minutes;
|
||||
summeZusatzleistung1 += zls[0].Minutes;
|
||||
zusatzleistungen.Remove(zls[0]);
|
||||
}
|
||||
if (zls.Count > 1)
|
||||
{
|
||||
sd.Notice3 = string.Format("{0:0.00} ({1:0})", zls[1].Minutes / 60, zls[1].ServiceDescription);
|
||||
sd.Minutes += zls[1].Minutes;
|
||||
summeZusatzleistung2 += zls[1].Minutes;
|
||||
zusatzleistungen.Remove(zls[1]);
|
||||
}
|
||||
}
|
||||
|
||||
// Notice5 ist Zeit in Stunden, außer es in der Leistung steht "Klassenfahrt" drin, dann ist Notice5 Klassenfahrt
|
||||
if (sd.ServiceDescription.ToLower().Contains("klassenfahrt"))
|
||||
sd.Notice5 = "Klassenfahrt";
|
||||
else
|
||||
sd.Notice5 = string.Format("{0:0.00}", sd.Minutes / 60);
|
||||
|
||||
if (sd.IsBillable || sd.ServiceDescription.ToLower().Contains("fehlkontakt") || sd.ServiceCategory.ToLower().Contains("fehlkontakt"))
|
||||
if (!sd.ServiceDescription.IsNullOrEmpty())
|
||||
servicesBillable.Add(sd);
|
||||
@@ -91,7 +105,8 @@ namespace LebenshilfeStadeMID
|
||||
}
|
||||
|
||||
tcSumVerfuegungszeit.Text = string.Format("{0:0.00}", summeVerfuegungszeit / 60);
|
||||
tcSumZusatzleistung.Text = string.Format("{0:0.00}", summeZusatzleistung / 60);
|
||||
tcSumZusatzleistung1.Text = string.Format("{0:0.00}", summeZusatzleistung1 / 60);
|
||||
tcSumZusatzleistung2.Text = string.Format("{0:0.00}", summeZusatzleistung2 / 60);
|
||||
|
||||
bindingSource1.DataSource = pRO;
|
||||
}
|
||||
|
||||
@@ -31,7 +31,7 @@ namespace BeWo.LeiendeckerReports
|
||||
{
|
||||
this.components = new System.ComponentModel.Container();
|
||||
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(InvoiceCustomerReport));
|
||||
DevExpress.XtraPrinting.Drawing.Watermark watermark1 = new DevExpress.XtraPrinting.Drawing.Watermark();
|
||||
DevExpress.XtraReports.UI.XRWatermark xrWatermark1 = new DevExpress.XtraReports.UI.XRWatermark();
|
||||
this.Detail = new DevExpress.XtraReports.UI.DetailBand();
|
||||
this.xrTable1 = new DevExpress.XtraReports.UI.XRTable();
|
||||
this.xrTableRow9 = new DevExpress.XtraReports.UI.XRTableRow();
|
||||
@@ -393,9 +393,11 @@ namespace BeWo.LeiendeckerReports
|
||||
this.PageWidth = 827;
|
||||
this.PaperKind = DevExpress.Drawing.Printing.DXPaperKind.A4;
|
||||
this.Version = "23.2";
|
||||
watermark1.Id = "Watermark1";
|
||||
watermark1.ImageSource = new DevExpress.XtraPrinting.Drawing.ImageSource("img", resources.GetString("watermark1.ImageSource"));
|
||||
this.Watermarks.Add(watermark1);
|
||||
xrWatermark1.Id = "Watermark1";
|
||||
xrWatermark1.ImageSource = new DevExpress.XtraPrinting.Drawing.ImageSource("img", resources.GetString("xrWatermark1.ImageSource"));
|
||||
xrWatermark1.ImageViewMode = DevExpress.XtraPrinting.Drawing.ImageViewMode.Zoom;
|
||||
xrWatermark1.PageRange = "1";
|
||||
this.Watermarks.Add(xrWatermark1);
|
||||
((System.ComponentModel.ISupportInitialize)(this.xrTable1)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.xrRichText3)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.xrTable3)).EndInit();
|
||||
|
||||
File diff suppressed because one or more lines are too long
@@ -329,6 +329,8 @@ namespace BeWo.LeiendeckerReports
|
||||
this.Version = "23.2";
|
||||
xrWatermark1.Id = "Watermark1";
|
||||
xrWatermark1.ImageSource = new DevExpress.XtraPrinting.Drawing.ImageSource("img", resources.GetString("xrWatermark1.ImageSource"));
|
||||
xrWatermark1.ImageViewMode = DevExpress.XtraPrinting.Drawing.ImageViewMode.Zoom;
|
||||
xrWatermark1.PageRange = "1";
|
||||
this.Watermarks.Add(xrWatermark1);
|
||||
((System.ComponentModel.ISupportInitialize)(this.xrTable3)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.xrRichText3)).EndInit();
|
||||
|
||||
@@ -32,9 +32,11 @@ namespace BeWo.LeiendeckerReports.Neu
|
||||
this.components = new System.ComponentModel.Container();
|
||||
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Spitzabrechnung));
|
||||
DevExpress.XtraReports.UI.XRSummary xrSummary1 = new DevExpress.XtraReports.UI.XRSummary();
|
||||
DevExpress.XtraPrinting.Drawing.Watermark watermark1 = new DevExpress.XtraPrinting.Drawing.Watermark();
|
||||
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.xrLabel5 = new DevExpress.XtraReports.UI.XRLabel();
|
||||
this.xrLabel4 = new DevExpress.XtraReports.UI.XRLabel();
|
||||
this.xrLabel1 = new DevExpress.XtraReports.UI.XRLabel();
|
||||
this.xrLabel14 = new DevExpress.XtraReports.UI.XRLabel();
|
||||
this.xrLabel13 = new DevExpress.XtraReports.UI.XRLabel();
|
||||
@@ -76,6 +78,10 @@ namespace BeWo.LeiendeckerReports.Neu
|
||||
this.xrTableCell94 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.DetailReport = new DevExpress.XtraReports.UI.DetailReportBand();
|
||||
this.Detail1 = new DevExpress.XtraReports.UI.DetailBand();
|
||||
this.xrTable1 = new DevExpress.XtraReports.UI.XRTable();
|
||||
this.xrTableRow33 = new DevExpress.XtraReports.UI.XRTableRow();
|
||||
this.xrTableCell52 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell53 = 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();
|
||||
@@ -85,14 +91,6 @@ namespace BeWo.LeiendeckerReports.Neu
|
||||
this.xrTableCell7 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.GroupHeader1 = new DevExpress.XtraReports.UI.GroupHeaderBand();
|
||||
this.GroupFooter2 = new DevExpress.XtraReports.UI.GroupFooterBand();
|
||||
this.fieldAmountWIthRateFactor = new DevExpress.XtraReports.UI.CalculatedField();
|
||||
this.RateFactorAsPercent = new DevExpress.XtraReports.UI.CalculatedField();
|
||||
this.xrTable1 = new DevExpress.XtraReports.UI.XRTable();
|
||||
this.xrTableRow33 = new DevExpress.XtraReports.UI.XRTableRow();
|
||||
this.xrTableCell52 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell53 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrLabel4 = new DevExpress.XtraReports.UI.XRLabel();
|
||||
this.xrLabel5 = new DevExpress.XtraReports.UI.XRLabel();
|
||||
this.xrTable5 = new DevExpress.XtraReports.UI.XRTable();
|
||||
this.xrTableRow31 = new DevExpress.XtraReports.UI.XRTableRow();
|
||||
this.xrTableCell49 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
@@ -111,10 +109,12 @@ namespace BeWo.LeiendeckerReports.Neu
|
||||
this.xrTableCell59 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell60 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.bindingSource1 = new System.Windows.Forms.BindingSource(this.components);
|
||||
this.fieldAmountWIthRateFactor = new DevExpress.XtraReports.UI.CalculatedField();
|
||||
this.RateFactorAsPercent = new DevExpress.XtraReports.UI.CalculatedField();
|
||||
((System.ComponentModel.ISupportInitialize)(this.xrRichText3)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.xrTable2)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.xrTable6)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.xrTable1)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.xrTable6)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.xrTable5)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.bindingSource1)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this)).BeginInit();
|
||||
@@ -142,6 +142,37 @@ namespace BeWo.LeiendeckerReports.Neu
|
||||
this.ReportHeader.Name = "ReportHeader";
|
||||
this.ReportHeader.StylePriority.UseFont = false;
|
||||
//
|
||||
// xrLabel5
|
||||
//
|
||||
this.xrLabel5.BackColor = System.Drawing.Color.Transparent;
|
||||
this.xrLabel5.CanShrink = true;
|
||||
this.xrLabel5.Font = new DevExpress.Drawing.DXFont("Tahoma", 10F);
|
||||
this.xrLabel5.LocationFloat = new DevExpress.Utils.PointFloat(0F, 431.0481F);
|
||||
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(565.9583F, 22.08975F);
|
||||
this.xrLabel5.StylePriority.UseBackColor = false;
|
||||
this.xrLabel5.StylePriority.UseFont = false;
|
||||
this.xrLabel5.Text = "in oben angegebenem Fall ergibt sich folgende Endabrechnung:";
|
||||
this.xrLabel5.WordWrap = false;
|
||||
//
|
||||
// xrLabel4
|
||||
//
|
||||
this.xrLabel4.BackColor = System.Drawing.Color.Transparent;
|
||||
this.xrLabel4.CanShrink = true;
|
||||
this.xrLabel4.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
|
||||
new DevExpress.XtraReports.UI.XRBinding("Text", null, "BusinessPartnerId")});
|
||||
this.xrLabel4.Font = new DevExpress.Drawing.DXFont("Tahoma", 10F, DevExpress.Drawing.DXFontStyle.Bold);
|
||||
this.xrLabel4.LocationFloat = new DevExpress.Utils.PointFloat(276.2909F, 338.2083F);
|
||||
this.xrLabel4.Name = "xrLabel4";
|
||||
this.xrLabel4.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
|
||||
this.xrLabel4.SizeF = new System.Drawing.SizeF(224.4318F, 16F);
|
||||
this.xrLabel4.StylePriority.UseBackColor = false;
|
||||
this.xrLabel4.StylePriority.UseFont = false;
|
||||
this.xrLabel4.TextFormatString = "GP-Nr.: {0}";
|
||||
this.xrLabel4.WordWrap = false;
|
||||
//
|
||||
// xrLabel1
|
||||
//
|
||||
this.xrLabel1.BackColor = System.Drawing.Color.Transparent;
|
||||
@@ -484,6 +515,54 @@ namespace BeWo.LeiendeckerReports.Neu
|
||||
this.Detail1.HeightF = 17F;
|
||||
this.Detail1.Name = "Detail1";
|
||||
//
|
||||
// xrTable1
|
||||
//
|
||||
this.xrTable1.BorderColor = System.Drawing.SystemColors.ControlLight;
|
||||
this.xrTable1.LocationFloat = new DevExpress.Utils.PointFloat(4.577637E-05F, 0F);
|
||||
this.xrTable1.Name = "xrTable1";
|
||||
this.xrTable1.Rows.AddRange(new DevExpress.XtraReports.UI.XRTableRow[] {
|
||||
this.xrTableRow33});
|
||||
this.xrTable1.SizeF = new System.Drawing.SizeF(658F, 17F);
|
||||
this.xrTable1.StylePriority.UseBorderColor = false;
|
||||
//
|
||||
// xrTableRow33
|
||||
//
|
||||
this.xrTableRow33.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
|
||||
this.xrTableCell52,
|
||||
this.xrTableCell53});
|
||||
this.xrTableRow33.Name = "xrTableRow33";
|
||||
this.xrTableRow33.Weight = 0.085D;
|
||||
//
|
||||
// xrTableCell52
|
||||
//
|
||||
this.xrTableCell52.BorderColor = System.Drawing.SystemColors.ControlLight;
|
||||
this.xrTableCell52.Borders = DevExpress.XtraPrinting.BorderSide.None;
|
||||
this.xrTableCell52.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
|
||||
new DevExpress.XtraReports.UI.XRBinding("Text", null, "InvoiceItems.AbrechnungsText")});
|
||||
this.xrTableCell52.Name = "xrTableCell52";
|
||||
this.xrTableCell52.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
|
||||
this.xrTableCell52.StylePriority.UseBorderColor = false;
|
||||
this.xrTableCell52.StylePriority.UseBorders = false;
|
||||
this.xrTableCell52.StylePriority.UseFont = false;
|
||||
this.xrTableCell52.Text = "abzüglich der geleisteten Abschlagszahlung:";
|
||||
this.xrTableCell52.Weight = 0.8489274506435639D;
|
||||
//
|
||||
// xrTableCell53
|
||||
//
|
||||
this.xrTableCell53.BorderColor = System.Drawing.SystemColors.ControlLight;
|
||||
this.xrTableCell53.Borders = DevExpress.XtraPrinting.BorderSide.None;
|
||||
this.xrTableCell53.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
|
||||
new DevExpress.XtraReports.UI.XRBinding("Text", null, "InvoiceItems.GrossAmountTotal", "{0:c}")});
|
||||
this.xrTableCell53.Name = "xrTableCell53";
|
||||
this.xrTableCell53.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
|
||||
this.xrTableCell53.StylePriority.UseBorderColor = false;
|
||||
this.xrTableCell53.StylePriority.UseBorders = false;
|
||||
this.xrTableCell53.StylePriority.UseFont = false;
|
||||
this.xrTableCell53.StylePriority.UseTextAlignment = false;
|
||||
this.xrTableCell53.Text = "xrTableCell10";
|
||||
this.xrTableCell53.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopRight;
|
||||
this.xrTableCell53.Weight = 0.16650474376548349D;
|
||||
//
|
||||
// Zwischensumme
|
||||
//
|
||||
this.Zwischensumme.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
|
||||
@@ -580,99 +659,6 @@ namespace BeWo.LeiendeckerReports.Neu
|
||||
this.GroupFooter2.Level = 1;
|
||||
this.GroupFooter2.Name = "GroupFooter2";
|
||||
//
|
||||
// fieldAmountWIthRateFactor
|
||||
//
|
||||
this.fieldAmountWIthRateFactor.DataMember = "InvoiceItems";
|
||||
this.fieldAmountWIthRateFactor.Expression = "[UnitCount] * (([RateFactor] + 100) / 100)";
|
||||
this.fieldAmountWIthRateFactor.FieldType = DevExpress.XtraReports.UI.FieldType.Decimal;
|
||||
this.fieldAmountWIthRateFactor.Name = "fieldAmountWIthRateFactor";
|
||||
//
|
||||
// RateFactorAsPercent
|
||||
//
|
||||
this.RateFactorAsPercent.DataMember = "InvoiceItems";
|
||||
this.RateFactorAsPercent.Expression = "(100 +[RateFactor]) / 100";
|
||||
this.RateFactorAsPercent.FieldType = DevExpress.XtraReports.UI.FieldType.Decimal;
|
||||
this.RateFactorAsPercent.Name = "RateFactorAsPercent";
|
||||
//
|
||||
// xrTable1
|
||||
//
|
||||
this.xrTable1.BorderColor = System.Drawing.SystemColors.ControlLight;
|
||||
this.xrTable1.LocationFloat = new DevExpress.Utils.PointFloat(4.577637E-05F, 0F);
|
||||
this.xrTable1.Name = "xrTable1";
|
||||
this.xrTable1.Rows.AddRange(new DevExpress.XtraReports.UI.XRTableRow[] {
|
||||
this.xrTableRow33});
|
||||
this.xrTable1.SizeF = new System.Drawing.SizeF(658F, 17F);
|
||||
this.xrTable1.StylePriority.UseBorderColor = false;
|
||||
//
|
||||
// xrTableRow33
|
||||
//
|
||||
this.xrTableRow33.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
|
||||
this.xrTableCell52,
|
||||
this.xrTableCell53});
|
||||
this.xrTableRow33.Name = "xrTableRow33";
|
||||
this.xrTableRow33.Weight = 0.085D;
|
||||
//
|
||||
// xrTableCell52
|
||||
//
|
||||
this.xrTableCell52.BorderColor = System.Drawing.SystemColors.ControlLight;
|
||||
this.xrTableCell52.Borders = DevExpress.XtraPrinting.BorderSide.None;
|
||||
this.xrTableCell52.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
|
||||
new DevExpress.XtraReports.UI.XRBinding("Text", null, "InvoiceItems.AbrechnungsText")});
|
||||
this.xrTableCell52.Name = "xrTableCell52";
|
||||
this.xrTableCell52.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
|
||||
this.xrTableCell52.StylePriority.UseBorderColor = false;
|
||||
this.xrTableCell52.StylePriority.UseBorders = false;
|
||||
this.xrTableCell52.StylePriority.UseFont = false;
|
||||
this.xrTableCell52.Text = "abzüglich der geleisteten Abschlagszahlung:";
|
||||
this.xrTableCell52.Weight = 0.8489274506435639D;
|
||||
//
|
||||
// xrTableCell53
|
||||
//
|
||||
this.xrTableCell53.BorderColor = System.Drawing.SystemColors.ControlLight;
|
||||
this.xrTableCell53.Borders = DevExpress.XtraPrinting.BorderSide.None;
|
||||
this.xrTableCell53.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
|
||||
new DevExpress.XtraReports.UI.XRBinding("Text", null, "InvoiceItems.GrossAmountTotal", "{0:c}")});
|
||||
this.xrTableCell53.Name = "xrTableCell53";
|
||||
this.xrTableCell53.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
|
||||
this.xrTableCell53.StylePriority.UseBorderColor = false;
|
||||
this.xrTableCell53.StylePriority.UseBorders = false;
|
||||
this.xrTableCell53.StylePriority.UseFont = false;
|
||||
this.xrTableCell53.StylePriority.UseTextAlignment = false;
|
||||
this.xrTableCell53.Text = "xrTableCell10";
|
||||
this.xrTableCell53.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopRight;
|
||||
this.xrTableCell53.Weight = 0.16650474376548349D;
|
||||
//
|
||||
// xrLabel4
|
||||
//
|
||||
this.xrLabel4.BackColor = System.Drawing.Color.Transparent;
|
||||
this.xrLabel4.CanShrink = true;
|
||||
this.xrLabel4.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
|
||||
new DevExpress.XtraReports.UI.XRBinding("Text", null, "BusinessPartnerId")});
|
||||
this.xrLabel4.Font = new DevExpress.Drawing.DXFont("Tahoma", 10F, DevExpress.Drawing.DXFontStyle.Bold);
|
||||
this.xrLabel4.LocationFloat = new DevExpress.Utils.PointFloat(276.2909F, 338.2083F);
|
||||
this.xrLabel4.Name = "xrLabel4";
|
||||
this.xrLabel4.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
|
||||
this.xrLabel4.SizeF = new System.Drawing.SizeF(224.4318F, 16F);
|
||||
this.xrLabel4.StylePriority.UseBackColor = false;
|
||||
this.xrLabel4.StylePriority.UseFont = false;
|
||||
this.xrLabel4.TextFormatString = "GP-Nr.: {0}";
|
||||
this.xrLabel4.WordWrap = false;
|
||||
//
|
||||
// xrLabel5
|
||||
//
|
||||
this.xrLabel5.BackColor = System.Drawing.Color.Transparent;
|
||||
this.xrLabel5.CanShrink = true;
|
||||
this.xrLabel5.Font = new DevExpress.Drawing.DXFont("Tahoma", 10F);
|
||||
this.xrLabel5.LocationFloat = new DevExpress.Utils.PointFloat(0F, 431.0481F);
|
||||
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(565.9583F, 22.08975F);
|
||||
this.xrLabel5.StylePriority.UseBackColor = false;
|
||||
this.xrLabel5.StylePriority.UseFont = false;
|
||||
this.xrLabel5.Text = "in oben angegebenem Fall ergibt sich folgende Endabrechnung:";
|
||||
this.xrLabel5.WordWrap = false;
|
||||
//
|
||||
// xrTable5
|
||||
//
|
||||
this.xrTable5.BorderColor = System.Drawing.SystemColors.ControlLight;
|
||||
@@ -861,6 +847,20 @@ namespace BeWo.LeiendeckerReports.Neu
|
||||
//
|
||||
this.bindingSource1.DataSource = typeof(BeWo.Report.ReportObjects.Settlement2RO);
|
||||
//
|
||||
// fieldAmountWIthRateFactor
|
||||
//
|
||||
this.fieldAmountWIthRateFactor.DataMember = "InvoiceItems";
|
||||
this.fieldAmountWIthRateFactor.Expression = "[UnitCount] * (([RateFactor] + 100) / 100)";
|
||||
this.fieldAmountWIthRateFactor.FieldType = DevExpress.XtraReports.UI.FieldType.Decimal;
|
||||
this.fieldAmountWIthRateFactor.Name = "fieldAmountWIthRateFactor";
|
||||
//
|
||||
// RateFactorAsPercent
|
||||
//
|
||||
this.RateFactorAsPercent.DataMember = "InvoiceItems";
|
||||
this.RateFactorAsPercent.Expression = "(100 +[RateFactor]) / 100";
|
||||
this.RateFactorAsPercent.FieldType = DevExpress.XtraReports.UI.FieldType.Decimal;
|
||||
this.RateFactorAsPercent.Name = "RateFactorAsPercent";
|
||||
//
|
||||
// Spitzabrechnung
|
||||
//
|
||||
this.Bands.AddRange(new DevExpress.XtraReports.UI.Band[] {
|
||||
@@ -893,13 +893,15 @@ namespace BeWo.LeiendeckerReports.Neu
|
||||
this.PageWidth = 827;
|
||||
this.PaperKind = DevExpress.Drawing.Printing.DXPaperKind.A4;
|
||||
this.Version = "23.2";
|
||||
watermark1.Id = "Watermark1";
|
||||
watermark1.ImageSource = new DevExpress.XtraPrinting.Drawing.ImageSource("img", resources.GetString("watermark1.ImageSource"));
|
||||
this.Watermarks.Add(watermark1);
|
||||
xrWatermark1.Id = "Watermark1";
|
||||
xrWatermark1.ImageSource = new DevExpress.XtraPrinting.Drawing.ImageSource("img", resources.GetString("xrWatermark1.ImageSource"));
|
||||
xrWatermark1.ImageViewMode = DevExpress.XtraPrinting.Drawing.ImageViewMode.Zoom;
|
||||
xrWatermark1.PageRange = "1";
|
||||
this.Watermarks.Add(xrWatermark1);
|
||||
((System.ComponentModel.ISupportInitialize)(this.xrRichText3)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.xrTable2)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.xrTable6)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.xrTable1)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.xrTable6)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.xrTable5)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.bindingSource1)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this)).EndInit();
|
||||
|
||||
File diff suppressed because one or more lines are too long
@@ -144,5 +144,53 @@ namespace Mittelpunkt
|
||||
return report;
|
||||
}
|
||||
|
||||
public override XtraReport CreateEmployeeHourReport(long? employeeOid, IList<long> teamOids, DateTime startDate, DateTime endDate, int ansicht)
|
||||
{
|
||||
IBeWoReport<MitarbeiterstundenkontoRO> report;
|
||||
|
||||
if (ansicht == 1)
|
||||
{
|
||||
report = FindReportImp<MitarbeiterstundenkontoRO>("Mitarbeiterarbeitszeitkonto");
|
||||
}
|
||||
else if (ansicht == 2)
|
||||
{
|
||||
var reportjahr = FindReportImp<MitarbeiterstundenkontoMonateRO>("MitarbeiterstundenkontoJahr");
|
||||
var jahrStart = new DateTime(startDate.Year, 1, 1);
|
||||
var ds = new MitarbeiterstundenkontoMonateRO(employeeOid, teamOids, jahrStart, endDate, null);
|
||||
|
||||
reportjahr.SetReportDataSource(ds);
|
||||
|
||||
return reportjahr as XtraReport;
|
||||
}
|
||||
else
|
||||
{
|
||||
if (teamOids != null && teamOids.Count > 0)
|
||||
{
|
||||
report = FindReportImp<MitarbeiterstundenkontoRO>("Teamstundenkonto");
|
||||
}
|
||||
else
|
||||
{
|
||||
report = FindReportImp<MitarbeiterstundenkontoRO>("Mitarbeiterstundenkonto");
|
||||
}
|
||||
}
|
||||
|
||||
var reportObject = MitarbeiterstundenkontoRO.Create(employeeOid, teamOids, startDate, endDate, null);
|
||||
report.SetReportDataSource(reportObject);
|
||||
var xreport = report as XtraReport;
|
||||
xreport.CreateDocument();
|
||||
// Bei Tagesansicht für jeden MA eine zweite Seite erstellt werden, die alle gesammelt am Ende angefügt werden
|
||||
if (ansicht == 1)
|
||||
{
|
||||
var reportObjectSeite2 = MitarbeiterstundenkontoRO.Create(employeeOid, teamOids, startDate, endDate, null);
|
||||
IBeWoReport<MitarbeiterstundenkontoRO> report2 = new MitarbeiterarbeitszeitkontoSeite2();
|
||||
report2.SetReportDataSource(reportObjectSeite2);
|
||||
var xreport2 = report2 as XtraReport;
|
||||
xreport2.CreateDocument();
|
||||
|
||||
xreport.Pages.AddRange(xreport2.Pages);
|
||||
}
|
||||
|
||||
return xreport;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -18,6 +18,8 @@ namespace Mittelpunkt.Invoicing
|
||||
|
||||
public class WGInvoiceCreation : InvoiceCreation
|
||||
{
|
||||
private int divisor = 1;
|
||||
|
||||
public override void SetInvoiceId(ServiceInvoice invoice)
|
||||
{
|
||||
invoice.InvoiceBase.InvoiceId = "WG";
|
||||
@@ -35,6 +37,8 @@ namespace Mittelpunkt.Invoicing
|
||||
if (toRemove != null)
|
||||
supportConcepts2ServiceRecords.RemoveRange(toRemove);
|
||||
|
||||
divisor = supportConcepts2ServiceRecords.Count;
|
||||
|
||||
return base.GenerateServiceInvoices(costBearerOid, invoicePeriod, supportConcepts2ServiceRecords, splitInvoices);
|
||||
}
|
||||
|
||||
@@ -49,20 +53,25 @@ namespace Mittelpunkt.Invoicing
|
||||
if (crps != null && crps.Count > 0)
|
||||
{
|
||||
var unitCount = Convert.ToDecimal((serviceInvoicePeriod.End - serviceInvoicePeriod.Start).Value.TotalDays + 1);
|
||||
|
||||
// amountPerUnit muss geteilt werden durch die Anzahl der abgerechneten HP
|
||||
var amountPerUnit = MapperFactory.CostRatePeriodDC_CostRatePeriod.MapToNewDCs(crps).GetCostRatePeriodForDate(CostRatePeriodType.HourlyRate, serviceInvoicePeriod.Start.Value).CostRateValue;
|
||||
serviceInvoicePeriod.InvoiceItemList.Add(new InvoiceItem
|
||||
if (amountPerUnit.HasValue)
|
||||
{
|
||||
AmountTotal = unitCount * amountPerUnit,
|
||||
GrossAmountTotal = unitCount * amountPerUnit,
|
||||
ItemPeriodStart = serviceInvoicePeriod.Start,
|
||||
ItemPeriodEnd = serviceInvoicePeriod.End,
|
||||
AccountingInterval = AccountingIntervalType.Daily,
|
||||
AmountPerUnit = amountPerUnit,
|
||||
UnitCount = unitCount,
|
||||
UnitDescription = "Tagessatz",
|
||||
ItemDescription = "Leistungen für " + serviceInvoicePeriod.Customer.Person.FirstNameLastName
|
||||
});
|
||||
amountPerUnit = Convert.ToDecimal(Math.Round(amountPerUnit.Value / divisor, 2));
|
||||
serviceInvoicePeriod.InvoiceItemList.Add(new InvoiceItem
|
||||
{
|
||||
AmountTotal = unitCount * amountPerUnit,
|
||||
GrossAmountTotal = unitCount * amountPerUnit,
|
||||
ItemPeriodStart = serviceInvoicePeriod.Start,
|
||||
ItemPeriodEnd = serviceInvoicePeriod.End,
|
||||
AccountingInterval = AccountingIntervalType.Daily,
|
||||
AmountPerUnit = amountPerUnit,
|
||||
UnitCount = unitCount,
|
||||
UnitDescription = "Tagessatz",
|
||||
ItemDescription = "Leistungen für " + serviceInvoicePeriod.Customer.Person.FirstNameLastName
|
||||
});
|
||||
}
|
||||
}
|
||||
else
|
||||
base.CreateFixedAmounts(serviceInvoicePeriod, supportConceptApprovalPeriod, cb2sc);
|
||||
|
||||
40
ReportImp/Mittelpunkt/MitarbeiterarbeitszeitkontoSeite2.cs
Normal file
40
ReportImp/Mittelpunkt/MitarbeiterarbeitszeitkontoSeite2.cs
Normal file
@@ -0,0 +1,40 @@
|
||||
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using BeWo.Report;
|
||||
using BeWo.Report.ReportObjects;
|
||||
|
||||
using BS.Shared.Core;
|
||||
using BS.Shared.Extensions;
|
||||
using DevExpress.XtraReports.UI;
|
||||
|
||||
namespace Mittelpunkt
|
||||
{
|
||||
//[IDSpecificClass(Identifier = "Mitarbeiterarbeitszeitkonto")]
|
||||
public partial class MitarbeiterarbeitszeitkontoSeite2 : DevExpress.XtraReports.UI.XtraReport, IBeWoReport<MitarbeiterstundenkontoRO>
|
||||
{
|
||||
|
||||
public MitarbeiterarbeitszeitkontoSeite2()
|
||||
{
|
||||
InitializeComponent();
|
||||
}
|
||||
|
||||
public void SetReportDataSource(MitarbeiterstundenkontoRO pRO)
|
||||
{
|
||||
var msb = new CustomMitarbeiterstundenkontoBerechnung();
|
||||
msb.CreateReport(pRO);
|
||||
|
||||
foreach (var ed in pRO.EmployeeDetailList)
|
||||
{
|
||||
if (ed.TageUrlaub.HasValue)
|
||||
ed.Custom1 = ed.SollProTag * ed.TageUrlaub.Value;
|
||||
if (ed.TageKrankheit.HasValue)
|
||||
ed.Custom2 = ed.SollProTag * ed.TageKrankheit.Value;
|
||||
}
|
||||
|
||||
this.bindingSource1.DataSource = pRO;
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
1259
ReportImp/Mittelpunkt/MitarbeiterarbeitszeitkontoSeite2.designer.cs
generated
Normal file
1259
ReportImp/Mittelpunkt/MitarbeiterarbeitszeitkontoSeite2.designer.cs
generated
Normal file
File diff suppressed because it is too large
Load Diff
120
ReportImp/Mittelpunkt/MitarbeiterarbeitszeitkontoSeite2.resx
Normal file
120
ReportImp/Mittelpunkt/MitarbeiterarbeitszeitkontoSeite2.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>
|
||||
@@ -79,6 +79,12 @@
|
||||
<Compile Include="Invoicing\CustomSettlementInvoiceCreation.cs" />
|
||||
<Compile Include="Invoicing\CustomInvoiceFactory.cs" />
|
||||
<Compile Include="Invoicing\WGInvoiceCreation.cs" />
|
||||
<Compile Include="MitarbeiterarbeitszeitkontoSeite2.cs">
|
||||
<SubType>Component</SubType>
|
||||
</Compile>
|
||||
<Compile Include="MitarbeiterarbeitszeitkontoSeite2.designer.cs">
|
||||
<DependentUpon>MitarbeiterarbeitszeitkontoSeite2.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="Mitarbeiterarbeitszeitkonto.cs">
|
||||
<SubType>Component</SubType>
|
||||
</Compile>
|
||||
@@ -182,6 +188,9 @@
|
||||
<DependentUpon>CustomerDataReport.cs</DependentUpon>
|
||||
<SubType>Designer</SubType>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="MitarbeiterarbeitszeitkontoSeite2.resx">
|
||||
<DependentUpon>MitarbeiterarbeitszeitkontoSeite2.cs</DependentUpon>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="Mitarbeiterarbeitszeitkonto.resx">
|
||||
<DependentUpon>Mitarbeiterarbeitszeitkonto.cs</DependentUpon>
|
||||
</EmbeddedResource>
|
||||
|
||||
12
ReportImp/Mittelpunkt/RosterIstReport.designer.cs
generated
12
ReportImp/Mittelpunkt/RosterIstReport.designer.cs
generated
@@ -100,7 +100,6 @@ namespace Mittelpunkt
|
||||
this.xrTableRow7 = new DevExpress.XtraReports.UI.XRTableRow();
|
||||
this.xrTableCell27 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell28 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.RosterIstRO = new DevExpress.DataAccess.ObjectBinding.ObjectDataSource(this.components);
|
||||
this.Title = new DevExpress.XtraReports.UI.XRControlStyle();
|
||||
this.FieldCaption = new DevExpress.XtraReports.UI.XRControlStyle();
|
||||
this.PageInfo = new DevExpress.XtraReports.UI.XRControlStyle();
|
||||
@@ -122,6 +121,7 @@ namespace Mittelpunkt
|
||||
this.fieldUeberstundenGesamt = new DevExpress.XtraReports.UI.CalculatedField();
|
||||
this.PageFooter = new DevExpress.XtraReports.UI.PageFooterBand();
|
||||
this.formattingRule1 = new DevExpress.XtraReports.UI.FormattingRule();
|
||||
this.RosterIstRO = new DevExpress.DataAccess.ObjectBinding.ObjectDataSource(this.components);
|
||||
((System.ComponentModel.ISupportInitialize)(this.xrTable2)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.xrTableHeader)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.dienstTable)).BeginInit();
|
||||
@@ -935,11 +935,6 @@ namespace Mittelpunkt
|
||||
this.xrTableCell28.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopRight;
|
||||
this.xrTableCell28.Weight = 1.4219402647490225D;
|
||||
//
|
||||
// RosterIstRO
|
||||
//
|
||||
this.RosterIstRO.DataSource = typeof(BeWo.Report.ReportObjects.RosterIstRO);
|
||||
this.RosterIstRO.Name = "RosterIstRO";
|
||||
//
|
||||
// Title
|
||||
//
|
||||
this.Title.BackColor = System.Drawing.Color.White;
|
||||
@@ -1103,6 +1098,11 @@ namespace Mittelpunkt
|
||||
this.formattingRule1.Formatting.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(255)))), ((int)(((byte)(255)))));
|
||||
this.formattingRule1.Name = "formattingRule1";
|
||||
//
|
||||
// RosterIstRO
|
||||
//
|
||||
this.RosterIstRO.DataSource = typeof(BeWo.Report.ReportObjects.RosterIstRO);
|
||||
this.RosterIstRO.Name = "RosterIstRO";
|
||||
//
|
||||
// RosterIstReport
|
||||
//
|
||||
this.Bands.AddRange(new DevExpress.XtraReports.UI.Band[] {
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
using BeWo.Data.Access;
|
||||
using BeWo.Data;
|
||||
using BeWo.Data.Access;
|
||||
using BeWo.Data.Entities;
|
||||
using BeWo.Service.Plugins;
|
||||
using BeWo.Service.Security;
|
||||
@@ -14,7 +15,17 @@ namespace Mittelpunkt.Validation
|
||||
{
|
||||
public class CustomServiceRecordValidator : ServiceRecordValidator
|
||||
{
|
||||
public override ServiceRecordValidationResultDC CheckAbwesenheitMitarbeiter(ServiceRecordDC newServiceRecord, SupportConceptCostBearerRelDC reldc, decimal rd, bool isGroupRecord, List<ServiceRecordValidationResultDC> result)
|
||||
public override bool CheckZukunft()
|
||||
{
|
||||
var user = LoggedInUserOperationContextExt.Current?.User ?? SessionFacade.LoggedInUser;
|
||||
|
||||
if (user.UserGroups.Any(ug => ug.Name.ToLower().Contains("einträge zukunft")))
|
||||
return false;
|
||||
else
|
||||
return true;
|
||||
}
|
||||
|
||||
public override ServiceRecordValidationResultDC CheckAbwesenheitMitarbeiter(ServiceRecordDC newServiceRecord, SupportConceptCostBearerRelDC reldc, decimal rd, bool isGroupRecord, List<ServiceRecordValidationResultDC> result)
|
||||
{
|
||||
var e = DAOFactory.GenericDAO.LoadByID<Employee>(newServiceRecord.Employee.EmployeeOid);
|
||||
long? userOid = SecurityUtils.GetLoggedInUser().Oid;
|
||||
|
||||
@@ -57,8 +57,11 @@ namespace PsychosozialeHilfeKrefeld
|
||||
if (approvedEnd.HasValue)
|
||||
lblText.Text = lblText.Text.Replace("approvedEnd", string.Format("{0:dd.MM.yyyy}", approvedEnd));
|
||||
|
||||
if (pRO.Claim < 0)
|
||||
if (pRO.Claim < 0)
|
||||
pRO.FinalSentence = "";
|
||||
else if (pRO.Claim > 0)
|
||||
pRO.FinalSentence = "Bitte überweisen Sie unsere Restforderung nach Prüfung der Endabrechnung " +
|
||||
"auf das Konto bei der Volksbank Krefeld, IBAN DE34 3206 0362 1013 4840 11, BIC: GENODED1HTK.";
|
||||
|
||||
this.bindingSource1.DataSource = pRO;
|
||||
}
|
||||
|
||||
91
ReportImp/VkmHamm/ServicesOverviewReport.Designer.cs
generated
91
ReportImp/VkmHamm/ServicesOverviewReport.Designer.cs
generated
@@ -29,6 +29,7 @@ namespace VkmHamm
|
||||
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 VkmHamm
|
||||
this.xrTableCell16 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell17 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell2 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.bindingSource1 = new System.Windows.Forms.BindingSource(this.components);
|
||||
this.formattingRuleStartDate = new DevExpress.XtraReports.UI.FormattingRule();
|
||||
this.ReportHeader = new DevExpress.XtraReports.UI.ReportHeaderBand();
|
||||
this.xrLabel13 = new DevExpress.XtraReports.UI.XRLabel();
|
||||
@@ -65,6 +65,7 @@ namespace VkmHamm
|
||||
this.topMarginBand1 = new DevExpress.XtraReports.UI.TopMarginBand();
|
||||
this.bottomMarginBand1 = new DevExpress.XtraReports.UI.BottomMarginBand();
|
||||
this.ReportFooter = new DevExpress.XtraReports.UI.ReportFooterBand();
|
||||
this.xrLabel8 = new DevExpress.XtraReports.UI.XRLabel();
|
||||
this.xrLabel5 = new DevExpress.XtraReports.UI.XRLabel();
|
||||
this.xrLabel2 = new DevExpress.XtraReports.UI.XRLabel();
|
||||
this.xrLabel7 = new DevExpress.XtraReports.UI.XRLabel();
|
||||
@@ -78,6 +79,10 @@ namespace VkmHamm
|
||||
this.fieldBillableFLS = new DevExpress.XtraReports.UI.CalculatedField();
|
||||
this.fieldAbrechenbareFLS = new DevExpress.XtraReports.UI.CalculatedField();
|
||||
this.GroupHeader1 = new DevExpress.XtraReports.UI.GroupHeaderBand();
|
||||
this.xrLabel11 = new DevExpress.XtraReports.UI.XRLabel();
|
||||
this.xrLabel14 = new DevExpress.XtraReports.UI.XRLabel();
|
||||
this.xrLabel15 = new DevExpress.XtraReports.UI.XRLabel();
|
||||
this.bindingSource1 = new System.Windows.Forms.BindingSource(this.components);
|
||||
((System.ComponentModel.ISupportInitialize)(this.xrTableServiceRecords1)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.xrTable3)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.bindingSource1)).BeginInit();
|
||||
@@ -272,10 +277,6 @@ namespace VkmHamm
|
||||
this.xrTableCell2.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopCenter;
|
||||
this.xrTableCell2.Weight = 0.19570704439348488D;
|
||||
//
|
||||
// bindingSource1
|
||||
//
|
||||
this.bindingSource1.DataSource = typeof(BeWo.Report.ReportObjects.ServicesOverviewRO);
|
||||
//
|
||||
// formattingRuleStartDate
|
||||
//
|
||||
this.formattingRuleStartDate.Condition = "[StartDate2] < [StartDate]";
|
||||
@@ -449,6 +450,10 @@ namespace VkmHamm
|
||||
// ReportFooter
|
||||
//
|
||||
this.ReportFooter.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
|
||||
this.xrLabel15,
|
||||
this.xrLabel14,
|
||||
this.xrLabel11,
|
||||
this.xrLabel8,
|
||||
this.xrLabel5,
|
||||
this.xrLabel2,
|
||||
this.xrLabel7,
|
||||
@@ -460,45 +465,59 @@ namespace VkmHamm
|
||||
this.ReportFooter.Name = "ReportFooter";
|
||||
this.ReportFooter.StylePriority.UseFont = false;
|
||||
//
|
||||
// xrLabel8
|
||||
//
|
||||
this.xrLabel8.Borders = DevExpress.XtraPrinting.BorderSide.Bottom;
|
||||
this.xrLabel8.LocationFloat = new DevExpress.Utils.PointFloat(62.99998F, 91.75002F);
|
||||
this.xrLabel8.Name = "xrLabel8";
|
||||
this.xrLabel8.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
|
||||
this.xrLabel8.SizeF = new System.Drawing.SizeF(97.91663F, 17.99997F);
|
||||
this.xrLabel8.StylePriority.UseBorders = false;
|
||||
this.xrLabel8.StylePriority.UseFont = false;
|
||||
//
|
||||
// xrLabel5
|
||||
//
|
||||
this.xrLabel5.Borders = DevExpress.XtraPrinting.BorderSide.Bottom;
|
||||
this.xrLabel5.LocationFloat = new DevExpress.Utils.PointFloat(220F, 91.75002F);
|
||||
this.xrLabel5.LocationFloat = new DevExpress.Utils.PointFloat(329.4164F, 91.75002F);
|
||||
this.xrLabel5.Name = "xrLabel5";
|
||||
this.xrLabel5.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
|
||||
this.xrLabel5.SizeF = new System.Drawing.SizeF(300F, 17.99997F);
|
||||
this.xrLabel5.SizeF = new System.Drawing.SizeF(266.4167F, 17.99997F);
|
||||
this.xrLabel5.StylePriority.UseBorders = false;
|
||||
this.xrLabel5.StylePriority.UseFont = false;
|
||||
//
|
||||
// xrLabel2
|
||||
//
|
||||
this.xrLabel2.Borders = DevExpress.XtraPrinting.BorderSide.Bottom;
|
||||
this.xrLabel2.LocationFloat = new DevExpress.Utils.PointFloat(220F, 150.5F);
|
||||
this.xrLabel2.LocationFloat = new DevExpress.Utils.PointFloat(389.8331F, 140.5F);
|
||||
this.xrLabel2.Name = "xrLabel2";
|
||||
this.xrLabel2.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
|
||||
this.xrLabel2.SizeF = new System.Drawing.SizeF(300.0001F, 17.99997F);
|
||||
this.xrLabel2.SizeF = new System.Drawing.SizeF(268.4166F, 17.99994F);
|
||||
this.xrLabel2.StylePriority.UseBorders = false;
|
||||
this.xrLabel2.StylePriority.UseFont = false;
|
||||
//
|
||||
// xrLabel7
|
||||
//
|
||||
this.xrLabel7.LocationFloat = new DevExpress.Utils.PointFloat(10.00001F, 91.75002F);
|
||||
this.xrLabel7.LocationFloat = new DevExpress.Utils.PointFloat(9.99999F, 91.75002F);
|
||||
this.xrLabel7.Name = "xrLabel7";
|
||||
this.xrLabel7.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
|
||||
this.xrLabel7.SizeF = new System.Drawing.SizeF(197F, 17.99997F);
|
||||
this.xrLabel7.SizeF = new System.Drawing.SizeF(52.99999F, 17.99997F);
|
||||
this.xrLabel7.StylePriority.UseBorders = false;
|
||||
this.xrLabel7.StylePriority.UseFont = false;
|
||||
this.xrLabel7.Text = "Unterschrift Klient/in:";
|
||||
this.xrLabel7.StylePriority.UseTextAlignment = false;
|
||||
this.xrLabel7.Text = "Datum:";
|
||||
this.xrLabel7.TextAlignment = DevExpress.XtraPrinting.TextAlignment.BottomLeft;
|
||||
//
|
||||
// xrLabel6
|
||||
//
|
||||
this.xrLabel6.LocationFloat = new DevExpress.Utils.PointFloat(10.00001F, 150.5F);
|
||||
this.xrLabel6.LocationFloat = new DevExpress.Utils.PointFloat(183.5417F, 140.5F);
|
||||
this.xrLabel6.Name = "xrLabel6";
|
||||
this.xrLabel6.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
|
||||
this.xrLabel6.SizeF = new System.Drawing.SizeF(210F, 17.99997F);
|
||||
this.xrLabel6.SizeF = new System.Drawing.SizeF(206.2913F, 17.99995F);
|
||||
this.xrLabel6.StylePriority.UseBorders = false;
|
||||
this.xrLabel6.StylePriority.UseFont = false;
|
||||
this.xrLabel6.StylePriority.UseTextAlignment = false;
|
||||
this.xrLabel6.Text = "Unterschrift Bezugsbetreuer/in:";
|
||||
this.xrLabel6.TextAlignment = DevExpress.XtraPrinting.TextAlignment.BottomLeft;
|
||||
//
|
||||
// xrLabel3
|
||||
//
|
||||
@@ -576,6 +595,44 @@ namespace VkmHamm
|
||||
this.GroupHeader1.RepeatEveryPage = true;
|
||||
this.GroupHeader1.StylePriority.UseFont = false;
|
||||
//
|
||||
// xrLabel11
|
||||
//
|
||||
this.xrLabel11.LocationFloat = new DevExpress.Utils.PointFloat(183.5417F, 91.75002F);
|
||||
this.xrLabel11.Name = "xrLabel11";
|
||||
this.xrLabel11.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
|
||||
this.xrLabel11.SizeF = new System.Drawing.SizeF(145.8747F, 17.99997F);
|
||||
this.xrLabel11.StylePriority.UseBorders = false;
|
||||
this.xrLabel11.StylePriority.UseFont = false;
|
||||
this.xrLabel11.StylePriority.UseTextAlignment = false;
|
||||
this.xrLabel11.Text = "Unterschrift Klient/in:";
|
||||
this.xrLabel11.TextAlignment = DevExpress.XtraPrinting.TextAlignment.BottomLeft;
|
||||
//
|
||||
// xrLabel14
|
||||
//
|
||||
this.xrLabel14.LocationFloat = new DevExpress.Utils.PointFloat(10.00001F, 140.5001F);
|
||||
this.xrLabel14.Name = "xrLabel14";
|
||||
this.xrLabel14.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
|
||||
this.xrLabel14.SizeF = new System.Drawing.SizeF(52.99999F, 17.99997F);
|
||||
this.xrLabel14.StylePriority.UseBorders = false;
|
||||
this.xrLabel14.StylePriority.UseFont = false;
|
||||
this.xrLabel14.StylePriority.UseTextAlignment = false;
|
||||
this.xrLabel14.Text = "Datum:";
|
||||
this.xrLabel14.TextAlignment = DevExpress.XtraPrinting.TextAlignment.BottomLeft;
|
||||
//
|
||||
// xrLabel15
|
||||
//
|
||||
this.xrLabel15.Borders = DevExpress.XtraPrinting.BorderSide.Bottom;
|
||||
this.xrLabel15.LocationFloat = new DevExpress.Utils.PointFloat(63F, 140.5F);
|
||||
this.xrLabel15.Name = "xrLabel15";
|
||||
this.xrLabel15.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
|
||||
this.xrLabel15.SizeF = new System.Drawing.SizeF(97.91662F, 17.99997F);
|
||||
this.xrLabel15.StylePriority.UseBorders = false;
|
||||
this.xrLabel15.StylePriority.UseFont = false;
|
||||
//
|
||||
// bindingSource1
|
||||
//
|
||||
this.bindingSource1.DataSource = typeof(BeWo.Report.ReportObjects.ServicesOverviewRO);
|
||||
//
|
||||
// Stundenzettel
|
||||
//
|
||||
this.Bands.AddRange(new DevExpress.XtraReports.UI.Band[] {
|
||||
@@ -605,6 +662,8 @@ namespace VkmHamm
|
||||
this.PaperKind = DevExpress.Drawing.Printing.DXPaperKind.A4;
|
||||
this.SnapGridSize = 9F;
|
||||
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();
|
||||
@@ -663,5 +722,9 @@ namespace VkmHamm
|
||||
private DevExpress.XtraReports.UI.XRLabel xrLabel2;
|
||||
private DevExpress.XtraReports.UI.XRLabel xrLabel5;
|
||||
private DevExpress.XtraReports.UI.GroupHeaderBand GroupHeader1;
|
||||
private DevExpress.XtraReports.UI.XRLabel xrLabel8;
|
||||
private DevExpress.XtraReports.UI.XRLabel xrLabel11;
|
||||
private DevExpress.XtraReports.UI.XRLabel xrLabel14;
|
||||
private DevExpress.XtraReports.UI.XRLabel xrLabel15;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -26,6 +26,7 @@ using BeWo.Service.OwnChat;
|
||||
using BeWo.Service.Plugins;
|
||||
using BeWo.Data.Security;
|
||||
using System.Collections.Specialized;
|
||||
using System.IO;
|
||||
|
||||
using BeWoFault = BS.Shared.Core.BeWoFault;
|
||||
using BeWoFaultType = BS.Shared.Core.BeWoFaultType;
|
||||
@@ -585,6 +586,17 @@ namespace BeWo.Service.ServiceImplementations
|
||||
}
|
||||
catch (Exception e)
|
||||
{
|
||||
var dir = @"C:\BeWoPlaner\service\Host\logs";
|
||||
|
||||
if (Directory.Exists(dir))
|
||||
{
|
||||
File.AppendAllText(Path.Combine(dir, "WCFSessionError.txt"), $"SessionFactory get {DateTime.Now:dd.MM.yyyy HH:mm:ss}" + "\n" + e.Message + "\n" + e.StackTrace);
|
||||
if (e.InnerException != null)
|
||||
{
|
||||
File.AppendAllText(Path.Combine(dir, "WCFSessionError.txt"), $"SessionFactory get {DateTime.Now:dd.MM.yyyy HH:mm:ss}" + "\n" + e.InnerException.Message + "\n" + e.InnerException.StackTrace);
|
||||
}
|
||||
|
||||
}
|
||||
//String path = System.IO.Path.Combine(AppDomain.CurrentDomain.BaseDirectory, "bwp.txt");
|
||||
//System.IO.File.AppendAllText(path, String.Format("{0:dd.MM.yyyy HH:mm:ss}", DateTime.Now) + "\n" + e.Message + "\n" + e.StackTrace);
|
||||
//throw(BeWo.Service.Core.Utils.CreateBeWoFaultException(e));
|
||||
|
||||
Reference in New Issue
Block a user