Revision 35a67abf

View differences:

src/sunstone/public/app/utils/accounting.js
467 467

  
468 468
          var template = history.VM.TEMPLATE;
469 469

  
470
          if(!template){
471
            break;
472
          }
473
          
470 474
          // --- cpu ---
471 475

  
472 476
          var val = parseFloat(template.CPU) * n_hours;

Also available in: Unified diff