import { Component } from "@angular/core";
import moment from "moment";
import { securityFunctions } from "../../../core/common/security";

@Component({
    standalone: false,
    templateUrl: './footer.component.html',
    selector: 'app-footer'
})
export class FooterComponent {
    date;
    venderGroupName = '';
    ngOnInit(): void {
        this.getyear();
    }
    agencyData
    getyear() {
        const d = new Date();
        this.date = moment(d).format('YYYY');
        this.agencyData = securityFunctions.getSessionStorage('VData');
        if (this.agencyData) {
            this.venderGroupName = JSON.parse(this.agencyData).vendor_group_name;
        }
    };
}