Ritu Singh
Problem:
I have bellow array object
based on the above I'm trying to create bellow array format
means first two columns become Region and YearMonth followed by Project names as columns and value will be the hours spent
I have wrote bellow code and im able to get Region and followed by Project names as columns and value will be the hours spent. but how can also include YearMonth column
Solution:
I've got what you are looking for. If you use es6, it can be done simply.
Suggested blogs:
>Login to Laravel API- Laravel
>Make Xdebug stop at breakpoints in PhpStorm using Docker
>Creating a service in Laravel using app(FQCN)
>How is the value of the path column under the wagtailcore_page table populated?
>Why VSCode indicate an error on using {{ }}?
>Fix the python-decouple issue in Django
>Address the N+1 problem in Django with prefetch
>How can I retrieve all customers' bookings by their username/ID?