changes print siign
This commit is contained in:
parent
ecce55d764
commit
f8f884b390
@ -15,7 +15,7 @@
|
||||
<meta name="description" content="CoreUI for React - Open Source Bootstrap Admin Template">
|
||||
<meta name="author" content="Łukasz Holeczek">
|
||||
<meta name="keyword" content="Bootstrap,Admin,Template,Open,Source,CSS,SCSS,HTML,RWD,Dashboard,React">
|
||||
<title>Bolo Admin</title>
|
||||
<title>SOLAR Sign Admin</title>
|
||||
<!--
|
||||
manifest.json provides metadata used when your web app is added to the
|
||||
homescreen on Android. See https://developers.google.com/web/fundamentals/engage-and-retain/web-app-manifest/
|
||||
|
24
src/_nav.js
24
src/_nav.js
@ -119,30 +119,6 @@ const _nav = [
|
||||
name: "Configuration",
|
||||
icon: <CIcon icon={cilAppsSettings} customClassName="nav-icon" />,
|
||||
items: [
|
||||
{
|
||||
component: CNavItem,
|
||||
name: "Purpose",
|
||||
icon: <CIcon icon={cilLoopCircular} customClassName="nav-icon" />,
|
||||
to: "/purpose",
|
||||
},
|
||||
{
|
||||
component: CNavItem,
|
||||
name: "Business Type",
|
||||
icon: <CIcon icon={cilBrush} customClassName="nav-icon" />,
|
||||
to: "/business_type",
|
||||
},
|
||||
{
|
||||
component: CNavItem,
|
||||
name: "Languages",
|
||||
icon: <CIcon icon={cilLanguage} customClassName="nav-icon" />,
|
||||
to: "/languages",
|
||||
},
|
||||
{
|
||||
component: CNavItem,
|
||||
name: "Policies",
|
||||
icon: <CIcon icon={cilSwapHorizontal} customClassName="nav-icon" />,
|
||||
to: "/policies",
|
||||
},
|
||||
{
|
||||
component: CNavItem,
|
||||
name: "Social Media",
|
||||
|
@ -26,7 +26,7 @@ const AppFooter = () => {
|
||||
<CFooter>
|
||||
<div>
|
||||
<span className="ms-1">
|
||||
{new Date().getFullYear()} © {copyright ? copyright : ""} .
|
||||
{/* {new Date().getFullYear()} © {copyright ? copyright : ""} . */}
|
||||
</span>
|
||||
</div>
|
||||
</CFooter>
|
||||
|
@ -64,7 +64,7 @@ const AppSidebar = () => {
|
||||
<CSidebarBrand className="d-none d-md-flex" style={{ background: 'rgb(140, 213, 213)' }} to="/">
|
||||
{/* <CIcon className="sidebar-brand-full" icon={logoNegative} height={35} /> */}
|
||||
|
||||
{HeaderlogoUrl ? <Link to='/dashboard'><img src={HeaderlogoUrl} alt='' width='100%' /></Link> : { AppName } ? <h2>Bolo </h2> : ''}
|
||||
{HeaderlogoUrl ? <Link to='/dashboard'><img src={HeaderlogoUrl} alt='' width='100%' /></Link> : { AppName } ? <h2>Solar Sign </h2> : ''}
|
||||
{/* <CIcon className="sidebar-brand-narrow" height={35} /> */}
|
||||
<CIcon className="sidebar-brand-narrow" icon={sygnet} height={35} />
|
||||
</CSidebarBrand>
|
||||
|
@ -18,7 +18,6 @@ function Address() {
|
||||
const [website, setWebsite] = useState("");
|
||||
const [contact, setContact] = useState("");
|
||||
const [email, setEmail] = useState("");
|
||||
const [gstin, setGSTIN] = useState("");
|
||||
|
||||
useEffect(() => {
|
||||
async function getConfiguration() {
|
||||
@ -38,7 +37,6 @@ function Address() {
|
||||
setWebsite(el.website);
|
||||
setContact(el.contact);
|
||||
setEmail(el.email);
|
||||
setGSTIN(el?.gstin);
|
||||
});
|
||||
});
|
||||
}
|
||||
@ -63,13 +61,9 @@ function Address() {
|
||||
setContact(e.target.value);
|
||||
} else if (e.target.name.toLowerCase() === "email") {
|
||||
setEmail(e.target.value);
|
||||
} else if (e.target.name.toLowerCase() === "gstin") {
|
||||
setGSTIN(e.target.value);
|
||||
}
|
||||
}
|
||||
async function handelSubmit() {
|
||||
if (!/^[0-9A-Za-z]{15}$/.test(gstin))
|
||||
return swal("Warning!", "Enter valid GSTIN");
|
||||
setLoading(true);
|
||||
let data = {
|
||||
company,
|
||||
@ -81,7 +75,6 @@ function Address() {
|
||||
website,
|
||||
contact,
|
||||
email,
|
||||
gstin,
|
||||
};
|
||||
let res = await axios.post(`/api/config/address`, data, {
|
||||
headers: {
|
||||
@ -198,20 +191,6 @@ function Address() {
|
||||
className="form-control input-field "
|
||||
id="basicpill-phoneno-input"
|
||||
/>
|
||||
<label
|
||||
htmlFor="basicpill-phoneno-input"
|
||||
className="label-100 mt-3"
|
||||
>
|
||||
GSTIN
|
||||
</label>
|
||||
<input
|
||||
value={gstin}
|
||||
type="text"
|
||||
name="gstin"
|
||||
onChange={(e) => handelChange(e)}
|
||||
className="form-control input-field "
|
||||
id="basicpill-phoneno-input"
|
||||
/>
|
||||
<label
|
||||
htmlFor="basicpill-phoneno-input"
|
||||
className="label-100 mt-3"
|
||||
|
@ -146,7 +146,7 @@ const Login = () => {
|
||||
<CCardBody>
|
||||
<CForm>
|
||||
<h1>Login</h1>
|
||||
<p className="text-medium-emphasis">Sign In to Your Bolo Admin Dashboard Account.</p>
|
||||
<p className="text-medium-emphasis">Sign In to Your SOLAR Sign Admin Dashboard Account.</p>
|
||||
<CInputGroup className="mb-3">
|
||||
<CInputGroupText>
|
||||
<CIcon icon={cilUser} />
|
||||
|
Loading…
Reference in New Issue
Block a user