|
|
@@ -543,8 +543,12 @@ public class invbal extends Controller {
|
|
|
}
|
|
|
}
|
|
|
for (Row row : rows) {
|
|
|
- for (int i=0;i<12;i++) {
|
|
|
- row.replace("month_0"+(i+1), row.get(getLast12Months().get(i)));
|
|
|
+ for (int i = 0; i < 12; i++) {
|
|
|
+ if (i < 9) {
|
|
|
+ row.replace("month_0" + (i + 1), row.get(getLast12Months().get(i)));
|
|
|
+ } else {
|
|
|
+ row.replace("month_" + (i + 1), row.get(getLast12Months().get(i)));
|
|
|
+ }
|
|
|
}
|
|
|
}
|
|
|
// if (isExport) {
|