Good afternoon.
My query is that I want to find the total to pay, obviously the logic is to add all the subtotals there are, but that total to pay would like to be increased as one:
<display:column/>
For the SubTotal I'm using Wrapper:
public String getSubtotal(){
ReservaDTO r = (ReservaDTO) getCurrentRowObject();
double pre = r.getPrecio();
int cant = r.getCant();
return (pre*cant)+ " Soles";
}
From this displayTag comes what is in the first image:
Thanks in advance.