Ejemplo n.º 1
0
        public void ConfirmPrintOrderStatus()
        {
            var          repository = new PrintOrderItemRepository();
            const string sourceCode = "P1838B";

            repository.ConfirmPrintOrderStatus(sourceCode);
        }
        public void GetPrintOrderItem()
        {
            var repository   = new PrintOrderItemRepository();
            var printOrderId = 960;

            repository.GetPrintOrderItemDetail(printOrderId);
        }
Ejemplo n.º 3
0
        public void GetPrintOrderPdfPathForEventCampaign()
        {
            var repository = new PrintOrderItemRepository();

            const Int64 eventCampaignId = 1663;

            var pdfTemplatePath = repository.GetPrintOrderPdfPathForEventCampaign(eventCampaignId);
        }
Ejemplo n.º 4
0
        public void GetPrintOrderItemAdvocate()
        {
            var repository = new PrintOrderItemRepository();

            const Int64 printOrderItemId = 1760;

            Assert.IsNotNull(repository.GetPrintOrderItemAdvocate(printOrderItemId));
        }
Ejemplo n.º 5
0
        public void IsAdvocateHaveAssignedPrintOrderItem()
        {
            var repository = new PrintOrderItemRepository();

            const Int64 eventId     = 1880;
            const Int64 advocateId1 = 2;

            Assert.IsTrue(repository.IsAdvocateHaveAssignedPrintOrderItem(advocateId1, eventId));
            const Int64 advocateId2 = 28395;

            Assert.IsFalse(repository.IsAdvocateHaveAssignedPrintOrderItem(advocateId2, eventId));
        }
        public void ConfirmPrintOrderItemStatusByHsc()
        {
            var repository = new PrintOrderItemRepository();

            const string confirmeByName   = "Ram lal";
            DateTime     confirmationDate = DateTime.Now;
            const string sourceCode       = "F1547A";
            var          organizationRoleUserRepository = new OrganizationRoleUserRepository();
            var          statusUpdatedBy = organizationRoleUserRepository.GetOrganizationRoleUser(1);

            repository.ConfirmPrintOrderItemStatusByHsc(confirmeByName, confirmationDate, sourceCode, statusUpdatedBy);
        }
Ejemplo n.º 7
0
        public void IsPrintOrderItemEditable()
        {
            var repository = new PrintOrderItemRepository();
            ///,1718

            const Int64 eventCampaignId1 = 1409;

            Assert.IsFalse(repository.IsPrintOrderItemEditable(eventCampaignId1));
            const Int64 eventCampaignId2 = 1410;

            Assert.IsTrue(repository.IsPrintOrderItemEditable(eventCampaignId2));

            const Int64 eventCampaignId3 = 1410000;

            Assert.IsTrue(repository.IsPrintOrderItemEditable(eventCampaignId3));
        }
Ejemplo n.º 8
0
        public void SourceCodeAssociatedForPrintOrderItem()
        {
            var repository = new PrintOrderItemRepository();

            repository.SourceCodeAssociatedForPrintOrderItem("F1831F");
        }