+
+
+
Standalone
Download Formula Manager 2.0
@@ -44,47 +31,63 @@
-
-
-
-
- Name |
- Quantity |
- Cost |
-
-
-
-
- {{c.component?.name}} |
- {{c.quantity | scale: formula.total : _newTotal | convertFromG: unit}} {{unit}} |
- {{c.quantity | scale: formula.total : _newTotal / 1000 * c.component.cost | currency}} |
-
-
-
-
+
+
+
+
+
+
+ search
+
+
+
+ 0">
+ {{f.name}}
+
+
+
+
+
{{formula.name}}
+
Created: {{formula.created | date}}
+
-
+
+
+
+ {{c.component?.name}} |
+ {{c.quantity | scale: formula.total : _newTotal | convertFromG: unit}} {{unit}} |
+ {{c.quantity | scale: formula.total : _newTotal / 1000 * c.component.cost | currency}} |
+
+
+
+
\ No newline at end of file
diff --git a/src/app/formulaManager/formulaManager.component.ts b/src/app/formulaManager/formulaManager.component.ts
index 401b7d3..72e1ef9 100644
--- a/src/app/formulaManager/formulaManager.component.ts
+++ b/src/app/formulaManager/formulaManager.component.ts
@@ -1,17 +1,22 @@
import {Component, ElementRef, ViewChildren, HostListener} from '@angular/core';
-import {AngularFirestore} from 'angularfire2/firestore';
import {ConvertFromGPipe, ConvertToGPipe} from './units.pipe';
import {ElectronService} from 'ngx-electron';
import {LocalStorage} from 'webstorage-decorators';
import {MatDialog} from '@angular/material';
import {ViewComponents} from './viewComponents/viewComponents.component';
-import {AngularFireAuth} from 'angularfire2/auth';
import {NewFormulaComponent} from './newFormula/newFormula.component';
import {AppStore} from '../app.store';
@Component({
selector: 'formula-manager',
- templateUrl: './formulaManager.component.html'
+ templateUrl: './formulaManager.component.html',
+ styles: [
+ `
+ .active {
+ background-color: #f0f0f0;
+ }
+ `
+ ]
})
export class FormulaManagerComponent {
formula;