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="description" content="CoreUI for React - Open Source Bootstrap Admin Template">
|
||||||
<meta name="author" content="Łukasz Holeczek">
|
<meta name="author" content="Łukasz Holeczek">
|
||||||
<meta name="keyword" content="Bootstrap,Admin,Template,Open,Source,CSS,SCSS,HTML,RWD,Dashboard,React">
|
<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
|
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/
|
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",
|
name: "Configuration",
|
||||||
icon: <CIcon icon={cilAppsSettings} customClassName="nav-icon" />,
|
icon: <CIcon icon={cilAppsSettings} customClassName="nav-icon" />,
|
||||||
items: [
|
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,
|
component: CNavItem,
|
||||||
name: "Social Media",
|
name: "Social Media",
|
||||||
|
@ -26,7 +26,7 @@ const AppFooter = () => {
|
|||||||
<CFooter>
|
<CFooter>
|
||||||
<div>
|
<div>
|
||||||
<span className="ms-1">
|
<span className="ms-1">
|
||||||
{new Date().getFullYear()} © {copyright ? copyright : ""} .
|
{/* {new Date().getFullYear()} © {copyright ? copyright : ""} . */}
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
</CFooter>
|
</CFooter>
|
||||||
|
@ -64,7 +64,7 @@ const AppSidebar = () => {
|
|||||||
<CSidebarBrand className="d-none d-md-flex" style={{ background: 'rgb(140, 213, 213)' }} to="/">
|
<CSidebarBrand className="d-none d-md-flex" style={{ background: 'rgb(140, 213, 213)' }} to="/">
|
||||||
{/* <CIcon className="sidebar-brand-full" icon={logoNegative} height={35} /> */}
|
{/* <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" height={35} /> */}
|
||||||
<CIcon className="sidebar-brand-narrow" icon={sygnet} height={35} />
|
<CIcon className="sidebar-brand-narrow" icon={sygnet} height={35} />
|
||||||
</CSidebarBrand>
|
</CSidebarBrand>
|
||||||
|
@ -18,7 +18,6 @@ function Address() {
|
|||||||
const [website, setWebsite] = useState("");
|
const [website, setWebsite] = useState("");
|
||||||
const [contact, setContact] = useState("");
|
const [contact, setContact] = useState("");
|
||||||
const [email, setEmail] = useState("");
|
const [email, setEmail] = useState("");
|
||||||
const [gstin, setGSTIN] = useState("");
|
|
||||||
|
|
||||||
useEffect(() => {
|
useEffect(() => {
|
||||||
async function getConfiguration() {
|
async function getConfiguration() {
|
||||||
@ -38,7 +37,6 @@ function Address() {
|
|||||||
setWebsite(el.website);
|
setWebsite(el.website);
|
||||||
setContact(el.contact);
|
setContact(el.contact);
|
||||||
setEmail(el.email);
|
setEmail(el.email);
|
||||||
setGSTIN(el?.gstin);
|
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
@ -63,13 +61,9 @@ function Address() {
|
|||||||
setContact(e.target.value);
|
setContact(e.target.value);
|
||||||
} else if (e.target.name.toLowerCase() === "email") {
|
} else if (e.target.name.toLowerCase() === "email") {
|
||||||
setEmail(e.target.value);
|
setEmail(e.target.value);
|
||||||
} else if (e.target.name.toLowerCase() === "gstin") {
|
|
||||||
setGSTIN(e.target.value);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
async function handelSubmit() {
|
async function handelSubmit() {
|
||||||
if (!/^[0-9A-Za-z]{15}$/.test(gstin))
|
|
||||||
return swal("Warning!", "Enter valid GSTIN");
|
|
||||||
setLoading(true);
|
setLoading(true);
|
||||||
let data = {
|
let data = {
|
||||||
company,
|
company,
|
||||||
@ -81,7 +75,6 @@ function Address() {
|
|||||||
website,
|
website,
|
||||||
contact,
|
contact,
|
||||||
email,
|
email,
|
||||||
gstin,
|
|
||||||
};
|
};
|
||||||
let res = await axios.post(`/api/config/address`, data, {
|
let res = await axios.post(`/api/config/address`, data, {
|
||||||
headers: {
|
headers: {
|
||||||
@ -198,20 +191,6 @@ function Address() {
|
|||||||
className="form-control input-field "
|
className="form-control input-field "
|
||||||
id="basicpill-phoneno-input"
|
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
|
<label
|
||||||
htmlFor="basicpill-phoneno-input"
|
htmlFor="basicpill-phoneno-input"
|
||||||
className="label-100 mt-3"
|
className="label-100 mt-3"
|
||||||
|
@ -146,7 +146,7 @@ const Login = () => {
|
|||||||
<CCardBody>
|
<CCardBody>
|
||||||
<CForm>
|
<CForm>
|
||||||
<h1>Login</h1>
|
<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">
|
<CInputGroup className="mb-3">
|
||||||
<CInputGroupText>
|
<CInputGroupText>
|
||||||
<CIcon icon={cilUser} />
|
<CIcon icon={cilUser} />
|
||||||
|
Loading…
Reference in New Issue
Block a user