PHP Expert Needed for Formula Improvement on our Dashboard

Suljettu Julkaistu 3 vuotta sitten Maksettu toimituksen yhteydessä
Suljettu Maksettu toimituksen yhteydessä

We have a dashboard that pulls magento sales into a leaderboard that shows sales for the previous day, current week, quarterly, monthly and yearly. One of the features is a section called PACING. This section shows, based on previous sales, what they are on pace to sell for the week, month, quarter, and year. Here is the issue:

The week runs Monday through Sunday. Sales are very high Monday through Friday but drop substantially on Saturday and Sunday. Sales are about 25% of the volume on saturdays and sundays compared to mon through friday. So if we have sales of $20k total on Mon - Tues, a simple equation of ($20k / 2) x 7 will not work. The pacing will be too high because Saturday and Sunday will have the mentioned decline. My next solution was taking 76% of daily sales. But this formula fails as well:

((total sales / # of days sold) x .768) x 7

that works earlier in the week, but as the week gets later, the formula fails because pacing actually falls BEHIND the total sales. In that scenario, imagine we have sold $60k through Saturday:

((60,000 / 6) x .768) x 7 = 53,760

See above? the pace is actually LOWER than the actual sales total.

The easiest way to do this would be simply take the daily average of the week and anticipate Saturday and Sunday will be 25% of the average. But the current coder has not made formulas set up to recognize the difference between monday - friday and sat / sun. He just uses one generic day in formula.

I am looking for someone that can help us creating pacing formulas that will recognize in our admin when we set a date range, how many days are mon - friday week days and how many weekends sat / sun are in the date range and build a formula like:

(take total sold / total amount of days sold) x total amount of days in period but then be able to know how many WEEKENDS are in the future of time range and count those with anticipated 25% of daily average sold.

see screenshot of calendar / date scraper we use.

PHP Magento MySQL JavaScript HTML

Projektin tunnus: #28197364

Tietoa projektista

22 ehdotusta Etäprojekti Aktiivinen 3 vuotta sitten

22 freelanceria on tarjonnut keskimäärin $185 tähän työhön

techwelfare

PHP EXPERTS! We are working on php since last 11 years. We could do it. Could we discuss in details over chat now? Best Regards Simla

$200 USD 12 päivässä
(242 arvostelua)
7.6
BryarGH

Hello dear; PHP Expert, Formula, I can make it for you my dear; Let us discuss more about it :) So I have read your detail but still have a few questions I hope you explain to me.. I'm serious and I can do it for yo Lisää

$120 USD 2 päivässä
(107 arvostelua)
6.7
inviSystems

Dear Client, I have been providing my services and support as a Magento developer since 2013. I have designed and developed around 50+ high profile E-Commerce websites in Magento. I have understood the project detai Lisää

$250 USD 7 päivässä
(53 arvostelua)
6.2
devbaloni1983

Hi, Hope you are doing great, I have 15 years’ experience in development! .I am ready to build a website for your business. Allow us to work for you, We can give you best possible work in minimum time. Kindly ping me Lisää

$140 USD 7 päivässä
(43 arvostelua)
5.5
singhrupakkumar

Hi there ,Please say Hello...! I am Sr. Full Stack Developer , I have 6+ year's experience and good knowledge of Website and Mobile application development with following skills set like Laravel , WordPress, Open Cart Lisää

$30 USD 5 päivässä
(43 arvostelua)
5.1
alexeydanilovfr5

Hello. Dear. Hope you are doing great. And Thank you for your kind job description. Reading your job description, I am feeling I am the most suitable developer to take this job on. Now I am understand what the issue i Lisää

$150 USD 1 päivässä
(15 arvostelua)
5.1
service199026

Hello! sir I read carefully your offer. I know you need fix a dashboard that pulls magento sales into a leaderboard that shows sales for the previous day, current week, quarterly, monthly and yearly. Your algorithm is Lisää

$140 USD 7 päivässä
(10 arvostelua)
5.0
BHTECHNOLOGY

Hi Sir, I Have 3 year experience in PHP and Website development. I can do any formula using PHP. I will not charge anything until you are satisfied with the product. Message me if you are interested and for more info Lisää

$167 USD 1 päivässä
(5 arvostelua)
2.8
YsovDen

I can start immediately LARAVEL EXPERT!! I'm a professional Web developer with more than 6 Years of experience in PHP, laravel, Magento, WordPress, and all types of designing work. I have very good Knowledge and clear Lisää

$140 USD 7 päivässä
(2 arvostelua)
2.3
Embronic

Hi there I hold one goal, 100% client satisfaction and I assure you about the time and cost-effectiveness of the project. I am available to start your project as soon as possible according to you. Feel free to ping me Lisää

$180 USD 3 päivässä
(6 arvostelua)
1.5