import React from "react"; const Payments = (props) => { return(

Payments


{props.payments.map((term) => { return( ) })}
Drive Km Travelled Driver Who Executed Drive Passenger Sum payed Sum tipped
{term.drive.kmTravelled} km {term.drive.driver.name} {term.drive.driver.surname} {term.passenger.name} {term.passenger.surname} {term.totalSumPayed} MKD {term.driverTip} MKD
) } export default Payments;