//update collection status from pending to complete
        public void Changecollectionstatus(WCF_Disbursement_Detail DL)
        {
            string token = DL.Token;

            if (AuthenticateToken(token))
            {
                int collection_id = Convert.ToInt32(DL.Collection_id);
                BusinessLogic.updateCollectionStatus(collection_id);
            }
        }
        //update item disbursement quantity for all requisition id inside collection id
        public void AcknowledgeDisbursement_Detail(WCF_Disbursement_Detail DL)
        {
            string token = DL.Token;

            if (AuthenticateToken(token))
            {
                int    collection_id             = Convert.ToInt32(DL.Collection_id);
                int    ActualSupplyQuantityValue = Convert.ToInt32(DL.Receive_quantity);
                int    UserInput = Convert.ToInt32(DL.Altered_quantity);
                string ItemCode  = DL.Item_number;
                BusinessLogic.AcknowledgeDL(collection_id, ItemCode, ActualSupplyQuantityValue, UserInput);
            }
        }