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 data = response.data;
|
||||
|
||||
console.log('DDDDDDD: ' + data);
|
||||
isBrokerBtnLoading.value = false;
|
||||
return true;
|
||||
} catch (error) {
|
||||
|
|
@ -238,19 +237,20 @@ const fetchStatus = async () => {
|
|||
|
||||
if (data.broker) {
|
||||
Object.assign(broker, data.broker);
|
||||
if (broker.expires_at) {
|
||||
// convert date format
|
||||
broker.expires_at = $h.formatDate(broker.expires_at, "DD.MM.YYYY");
|
||||
}
|
||||
// if (broker.expires_at) {
|
||||
// // convert date format
|
||||
// broker.expires_at = $h.formatDate(broker.expires_at, "DD.MM.YYYY");
|
||||
// }
|
||||
|
||||
}
|
||||
|
||||
if (data.legal) {
|
||||
Object.assign(legal, data.legal);
|
||||
|
||||
if (legal.expires_at) {
|
||||
// convert date format
|
||||
legal.expires_at = $h.formatDate(legal.expires_at, "DD.MM.YYYY");
|
||||
}
|
||||
// if (legal.expires_at) {
|
||||
// // convert date format
|
||||
// legal.expires_at = $h.formatDate(legal.expires_at, "DD.MM.YYYY");
|
||||
// }
|
||||
}
|
||||
|
||||
prepareLegalBtnTitle();
|
||||
|
|
|
|||
Loading…
Reference in New Issue