Alex3742

Untitled

Sep 29th, 2023
79
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. ```
  2. const reports = {
  3.     person:{ /* irrevelevant data for the example */ },
  4.     payslip:{
  5.         hours:[
  6.             {
  7.                 name: 'Normal',
  8.                 amount: 847,
  9.             },
  10.             {
  11.                 name: 'Night',
  12.                 amount: 242
  13.             },
  14.             {
  15.                 name: 'Overtime',
  16.                 amount: 123
  17.             }
  18.         ],
  19.         supplements:[
  20.             {
  21.                 name: 'Bonus',
  22.                 amount: 66
  23.             },
  24.             {
  25.                 name: 'Lunch voucher',
  26.                 amount: 12
  27.             }
  28.             ...
  29.         ]
  30.     }
  31.     ...
  32. }
  33.  
  34.  
  35. ```
Advertisement
Add Comment
Please, Sign In to add comment