fixed valueSent view and added totalValueSent API route