online applications page done
This commit is contained in:
parent
b44a1c2d14
commit
a19160dc66
|
|
@ -119,7 +119,6 @@ const createBrokerApplication = async () => {
|
||||||
const response = await fetchWrapper.get(`${baseUrl}/broker-application/new`);
|
const response = await fetchWrapper.get(`${baseUrl}/broker-application/new`);
|
||||||
const data = response.data;
|
const data = response.data;
|
||||||
|
|
||||||
console.log('DDDDDDD: ' + data);
|
|
||||||
isBrokerBtnLoading.value = false;
|
isBrokerBtnLoading.value = false;
|
||||||
return true;
|
return true;
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
|
|
@ -238,19 +237,20 @@ const fetchStatus = async () => {
|
||||||
|
|
||||||
if (data.broker) {
|
if (data.broker) {
|
||||||
Object.assign(broker, data.broker);
|
Object.assign(broker, data.broker);
|
||||||
if (broker.expires_at) {
|
// if (broker.expires_at) {
|
||||||
// convert date format
|
// // convert date format
|
||||||
broker.expires_at = $h.formatDate(broker.expires_at, "DD.MM.YYYY");
|
// broker.expires_at = $h.formatDate(broker.expires_at, "DD.MM.YYYY");
|
||||||
}
|
// }
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if (data.legal) {
|
if (data.legal) {
|
||||||
Object.assign(legal, data.legal);
|
Object.assign(legal, data.legal);
|
||||||
|
|
||||||
if (legal.expires_at) {
|
// if (legal.expires_at) {
|
||||||
// convert date format
|
// // convert date format
|
||||||
legal.expires_at = $h.formatDate(legal.expires_at, "DD.MM.YYYY");
|
// legal.expires_at = $h.formatDate(legal.expires_at, "DD.MM.YYYY");
|
||||||
}
|
// }
|
||||||
}
|
}
|
||||||
|
|
||||||
prepareLegalBtnTitle();
|
prepareLegalBtnTitle();
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue