Skip to content

Commit

Permalink
feat: add more columns to the incentive calculator
Browse files Browse the repository at this point in the history
  • Loading branch information
matthieu-foucault authored and dleard committed Jun 3, 2020
1 parent fea25bc commit a6513f6
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 6 deletions.
12 changes: 8 additions & 4 deletions app/containers/Incentives/IncentiveCalculatorContainer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,14 @@ export const IncentiveCalculator: React.FunctionComponent<Props> = ({
<Table striped bordered hover responsive="lg">
<thead>
<tr>
<th>Product</th>
<th>Calculation Breakdown</th>
<th>Incentive for product</th>
<th>Chart</th>
<th>Product Name</th>
<th>Emission Intensity</th>
<th>Benchmark</th>
<th>Eligibility Threshold</th>
<th>Incentive Ratio</th>
<th>Incentive Multiplier</th>
<th>Payment Allocation</th>
<th>Calculated Incentive (CAD)</th>
</tr>
</thead>
<tbody>
Expand Down
6 changes: 4 additions & 2 deletions app/containers/Incentives/IncentiveSegmentContainer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -61,9 +61,11 @@ export default createFragmentContainer(IncentiveSegmentContainer, {
ciipIncentiveByProduct: graphql`
fragment IncentiveSegmentContainer_ciipIncentiveByProduct on CiipIncentiveByProduct {
productName
incrementalCarbonTax
emissionIntensity
incentiveRatio
incentiveMultiplier
paymentAllocationFactor
incentiveProduct
emissionIntensity
benchmark
eligibilityThreshold
}
Expand Down

0 comments on commit a6513f6

Please sign in to comment.