Files
using.cash/Site5/Pages/v5/Admin/CreateOrganization.aspx.cs
T

48 lines
1.1 KiB
C#

using System;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using Swarmops.Logic.Financial;
using Swarmops.Logic.Support;
namespace Swarmops.Frontend.Pages.v5.Admin
{
public partial class CreateOrganization : PageV5Base
{
protected void Page_Load(object sender, EventArgs e)
{
this.PageTitle = Resources.Pages.Financial.FileExpenseClaim_PageTitle;
this.PageIcon = "iconshock-moneyback";
this.InfoBoxLiteral = Resources.Pages.Financial.FileExpenseClaim_Info;
if (!Page.IsPostBack)
{
Localize();
}
}
private void Localize()
{
}
protected void ButtonRequest_Click(object sender, EventArgs e)
{
string successMessage = string.Empty;
// Create org here
Response.AppendCookie(new HttpCookie("DashboardMessage", HttpUtility.UrlEncode(successMessage)));
// Redirect to dashboard
Response.Redirect("/", true);
}
}
}