Skip to content

Commit

Permalink
countables vs uncountables
Browse files Browse the repository at this point in the history
see #236
  • Loading branch information
mengwong committed Oct 29, 2016
1 parent 026661a commit ec47b74
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion templates/jfdi.asia/preemptive_waiver.xml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
?>
<? xmLog("preemptive_waiver: percentage=%s; pro_rata=%s",percentage, pro_rata); ?>
Given that you presently hold <?= digitCommas_(numerator,0) ?> out of <?= digitCommas_(denominator,0) ?> shares eligible for pro-rata calculations (which is to say, fully-diluted, as-if-converted shares, excluding issued but unvested ESOP shares, and excluding the ESOP pool previously authorized and reserved, but not yet issued), you have the right to subscribe for up to <?= pro_rata ?>% of this new issue: <?
if (data.security_essential != "debt") { // handle the countables better
if (data.security_essential == "equity") { // handle the countables better
var num_securities = percentage * newIssues.TOTAL._orig_shares;
?>
<?= digitCommas_(num_securities, 0) ?> <?= plural(num_securities.toFixed(0), data.security_type_short_singular, data.security_type_short_plural) ?><?
Expand Down

0 comments on commit ec47b74

Please sign in to comment.