I have no idea English in any respect, so I’m writing by way of a translator. My data could be very restricted
There are posts on wordpress, these are orders, on these orders 4 fields are created by way of the Superior Customized Fields plugin: rab-1, rab-2, sum-rab-1, sum-rab-2.
Every order may be carried out by one or two employees, so the fields rab-1, rab-2 imply the primary line and the second line of labor, additionally relying on the road, sum-rab-1, sum-rab-2 are paid.
The rab-1, rab-2 fields include the worker’s knowledge, his id (for instance, 981,982,983), and the earnings within the sum-rab-1, sum-rab-2 fields.
On the output, I would really like the next for worker 981