Add a price caclulation method for an existing vue2 project
€80-100 EUR
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!
ID do Projeto: #36770394
Sobre o projeto
11 freelancers estão ofertando em média €96 nesse trabalho
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
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
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
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.
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!