// formula: Running = Running - Today private void renderRunning(SaleToday sale) { int corpoRunning = Integer.parseInt( sale.getCorpo()); // - Integer.parseInt(txtCorpoToday1.getText().toString()); txtCorpoRunning1.setText(corpoRunning + ""); int ywcRunning = Integer.parseInt(sale.getYwc()); // - Integer.parseInt(txtYWCToday1.getText().toString()); txtYWCRunning1.setText(ywcRunning + ""); int mlmFRunning = Integer.parseInt(sale.getMlmF()); // - Integer.parseInt(txtMLMFToday1.getText().toString()); txtMLMFRunning1.setText(mlmFRunning + ""); int mlmIRunning = Integer.parseInt(sale.getMlmI()); // - Integer.parseInt(txtMLMIToday1.getText().toString()); txtMLMIRunning1.setText(mlmIRunning + ""); }
private void renderToday(SaleToday today) { txtCorpoToday1.setText(today.getCorpo()); txtYWCToday1.setText(today.getYwc()); txtMLMFToday1.setText(today.getMlmF()); txtMLMIToday1.setText(today.getMlmI()); }