Add a price caclulation method for an existing vue2 project

Concluído Postado há 11 meses Pago na entrega
Concluído Pago na entrega

The javascript method for calculating the total price needs 3 arguments: roomOpenedTimestamp = UTC, roomClosedTimestamp = UTC, packageName = String

In addition to that a simple Vue page should be added that allows to invoke the calculation method with different values for all 3 parameters.

The datamodel ofr the package is already implemented and looks like this:

{

title: 'Silver', //packageName

days: [

{

day: 0,

dayName: 'sun',

rates: [

{

interval: '10-15',

ratePerHour: 20,

},

{

interval: '15-20',

ratePerHour: 25,

},

{

interval: '20-01',

ratePerHour: 35,

},

],

},

{

day: 1,

dayName: 'mon',

rates: [

{

interval: '10-15',

ratePerHour: 15,

},

{

interval: '15-20',

ratePerHour: 20,

},

{

interval: '20-01',

ratePerHour: 30,

},

],

},

{

day: 2,

dayName: 'tue',

rates: [

{

interval: '10-15',

ratePerHour: 15,

},

{

interval: '15-20',

ratePerHour: 20,

},

{

interval: '20-01',

ratePerHour: 30,

},

],

},

{

day: 3,

dayName: 'wed',

rates: [

{

interval: '10-15',

ratePerHour: 15,

},

{

interval: '15-20',

ratePerHour: 20,

},

{

interval: '20-01',

ratePerHour: 30,

},

],

},

{

day: 4,

dayName: 'thu',

rates: [

{

interval: '10-15',

ratePerHour: 15,

},

{

interval: '15-20',

ratePerHour: 20,

},

{

interval: '20-01',

ratePerHour: 30,

},

],

},

{

day: 5,

dayName: 'fri',

rates: [

{

interval: '10-15',

ratePerHour: 20,

},

{

interval: '15-20',

ratePerHour: 25,

},

{

interval: '20-01',

ratePerHour: 35,

},

],

},

{

day: 6,

dayName: 'sat',

rates: [

{

interval: '10-15',

ratePerHour: 25,

},

{

interval: '15-20',

ratePerHour: 30,

},

{

interval: '20-01',

ratePerHour: 40,

},

],

},

],

},

You need a bitbucket email to get started. No backend required!

Vue.js Vue.js Framework

ID do Projeto: #36770394

Sobre o projeto

11 propostas Projeto remoto Ativo em há 11 meses

Concedido a:

ihorshk

Hello, how are you? I am Ihor. Nice to meet you. I am a senior full stack developer with Vue.js. I am very good at both version of Vue2.0 and Vue3.0. In the Vue.js, it suggests two kind of APIs such as Option APIs Mais

€90 EUR em 7 dias
(1 Comentário)
2.4

11 freelancers estão ofertando em média €96 nesse trabalho

NagarajTN

Hello Client example :user 5hr after closed room ,so ratePerHour 5*20=100 i can do this work pricecalculation vuejs without backend,i give 100% satisfication work,please discuess more about freelancer chat

€80 EUR in 2 dias
(16 Comentários)
5.5
thonguyenfreela1

Hi sir. This is a Professional Web Developer with 7+ years of programming experience for a multitude of different technology projects providing you with 100% GUARANTEED Satisfaction. With my strong expertise in Vue.j Mais

€80 EUR em 1 dia
(0 Comentários)
0.0
pvsysgroupinc

Dear Sir, We are expert in vue js and also we will support you for the same let me know we can able to solve for the same Thanks

€200 EUR in 20 dias
(0 Comentários)
0.0
dmitryslepnov

Hi there, I have rich experience in JavaScript, Vue.js, mathematics, so I am sure I can complete this task in a short time. Let's discuss via chat in more detail. Thank you.

€100 EUR em 1 dia
(0 Comentários)
0.0
Dahdoula

Hi I read your job description, and I understand you are looking for an expert who is well-versed in Laravel + Vue. As a senior full-stack developer with vast experience of 7+ years, I am very confident in this projec Mais

€80 EUR in 7 dias
(0 Comentários)
0.0
andyflor

Hello, I saw your code spec and I can manage this price calculator using Vuejs. I have good experience to deal with array so it's easy project for me. Thanks!

€80 EUR em 1 dia
(0 Comentários)
0.0