This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
export interface HubProxyCreationResponse { | |
on(event: string, callback: (serverMessage: string) => void); | |
} | |
export interface HubConnectionRepsonse { | |
createHubProxy(name: string): HubProxyCreationResponse; | |
} | |
/** | |
* jQuery custom plugins |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#region using | |
using CMSS.Domain.Base; | |
using CMSS.Domain.UserManagement; | |
using System; | |
using System.Collections.Generic; | |
using System.Linq.Expressions; | |
#endregion |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public IPaginatorRespDom<StringPairItemDom> OnLazyReference(string pattern, int start, int rows) | |
{ | |
var withTranslationQuery = AsLabelTranslationsTranslatedQuery(x => x.Description, pattern); | |
Expression<Func<WithTranslation<MDMaterial, int>, bool>> filter = null; | |
if (isValidPattern(pattern)) | |
{ | |
filter = x => x.MdEntity.Name.ToUpper().Contains(pattern.ToUpper()); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[*] | |
charset=utf-8 | |
end_of_line=crlf | |
trim_trailing_whitespace=false | |
insert_final_newline=false | |
indent_style=space | |
indent_size=4 | |
# Microsoft .NET properties | |
csharp_new_line_before_members_in_object_initializers=false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Index: CMSS.Client/src/app/component/affiliate-management/label-translation-configuration/label-translation-configuration.component.ts | |
IDEA additional info: | |
Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP | |
<+>UTF-8 | |
=================================================================== | |
--- CMSS.Client/src/app/component/affiliate-management/label-translation-configuration/label-translation-configuration.component.ts (revision 2437c32707b82def0e4f7a077d441cbfc51a0cb7) | |
+++ CMSS.Client/src/app/component/affiliate-management/label-translation-configuration/label-translation-configuration.component.ts (date 1561463127412) | |
@@ -8,6 +8,7 @@ | |
import { IResponseItem } from '../../../models/core/i-response-item'; | |
import { FileUpload } from 'primeng/primeng'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using CMSS.Domain.ServiceFolderManagement; | |
namespace CMSS.Application.StateMachine.Base | |
{ | |
public class TransitionServiceFolderPair | |
{ | |
public TransitionServiceFolderPair(ServiceFolderStatus source, ServiceFolderStatus target, bool changeRequest = false) | |
{ | |
Source = source; | |
Target = target; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
protected bool Equals(InvoicingFeeJournalGatewayDom other) | |
{ | |
return string.Equals(JournalId, other.JournalId) && string.Equals(WorkInstruction, other.WorkInstruction) && string.Equals(WorkInstructionDescription, other.WorkInstructionDescription) && SalesAmount == other.SalesAmount && PublicSalesAmount == other.PublicSalesAmount && UnitSalesPrice == other.UnitSalesPrice && UnitPublicPrice == other.UnitPublicPrice && DiscountInPercent == other.DiscountInPercent && DiscountInFixedValue == other.DiscountInFixedValue && IsFreeOfCharge == other.IsFreeOfCharge && DoNotPrint == other.DoNotPrint && IsUnderSalesWarranty == other.IsUnderSalesWarranty && IsUnderServiceWarranty == other.IsUnderServiceWarranty; | |
} | |
public override bool Equals(object obj) | |
{ | |
if (ReferenceEquals(null, obj)) return false; | |
if (ReferenceEquals(this, obj)) return true; | |
if (obj.GetType() != this.GetType()) return false; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Index: CMSS.Client/src/app/utils/router/cmss.router.types.ts | |
IDEA additional info: | |
Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP | |
<+>UTF-8 | |
=================================================================== | |
--- CMSS.Client/src/app/utils/router/cmss.router.types.ts (date 1558607972000) | |
+++ CMSS.Client/src/app/utils/router/cmss.router.types.ts (date 1555529891368) | |
@@ -10,7 +10,7 @@ | |
protected _permissions: Permission[]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[HttpGet] | |
[Route("CanLoadServiceFolderOnBatch/{batchId:int}/{serviceFolderId:int}")] | |
public IResponseItem<IBatchServiceFolderInfo> CanLoadServiceFolderOnBatch([FromRoute] int batchId, [FromRoute] int serviceFolderId, [FromUri] int? jobContainerId) | |
{ | |
return this.CreateResponse(() => | |
{ | |
var canParse = false; | |
if (!canParse) | |
{ | |
throw new CmssValidationException(CmssMessageManager.GetMessage(Messages.MissingEntity, serviceFolderId)), |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
export class CmssCalendar extends Calendar { | |
constructor(el: ElementRef, domHandler: DomHandler, renderer: Renderer2, cd: ChangeDetectorRef, | |
private primeNgService: PrimeNgService, | |
@Inject(APP_CONFIG) private appConfig: CMSSAppConfig) { | |
super(el, domHandler, renderer, cd); | |
if (this.primeNgService.calendarSettingsLoaded) { | |
this.locale = this.primeNgService.calendarLocaleSettings; | |
this.dateFormat = this.primeNgService.calendarDateFormat; |
NewerOlder