Returns financial details for a given customer

Parameters

cid

The Customer ID

dateFrom

The date to retrieve financial details from in format YYYY/MM/DD

dateTo

The date to retrieve financial details to in format YYYY/MM/DD

start

Where to start from e.g, by default, page 2 should be set to 10

length

Number of results

order

Order to display the results in e.g, asc desc

draw

Example

FM_api('Customer_financialsGetDT', ['cid' => '1', 'dateFrom' => '2018-09-01', 'dateTo' => '2018-12-31', 'start' => '0', 'length' => '10', 'order' => 'asc', 'draw' => '0' ])

On Success

{"draw":0,"recordsTotal":152,"recordsFiltered":57,"data":[["1",null,"2018-09-21 13:00:00","0","0","0",["8.5","0"],"0","0.0000","0","0","0"],["4",null,"2018-09-21 10:02:08","0","0","0",["1","0"],"0","0.0000","0","0","0"],["6",null,"2018-09-25 14:30:00","0","0","0",["1","0"],"0","0.0000","0","0","0"],["7",null,"2018-09-24 10:05:13","0","0","0",["0.25","0"],"0","0.0000","0","0","0"],["8",null,"2018-09-24 10:10:05","0","0","0",["0.25","0"],"0","0.0000","0","0","0"],["9",null,"2018-09-24 10:10:40","0","0","0",[""...