From 8aa05bff6d02033c6515cb9945e1b3139daeab76 Mon Sep 17 00:00:00 2001
From: "Bradley M. Kuhn" <bkuhn@ebb.org>
Date: Sun, 22 Jul 2018 18:53:50 -0700
Subject: [PATCH] Allow FIXME_INVOICE_DATE in document templates.

---
 scripts/rt-outreachy-payment-next.plx | 1 +
 1 file changed, 1 insertion(+)

diff --git a/scripts/rt-outreachy-payment-next.plx b/scripts/rt-outreachy-payment-next.plx
index 6864c7f..783d12d 100755
--- a/scripts/rt-outreachy-payment-next.plx
+++ b/scripts/rt-outreachy-payment-next.plx
@@ -354,6 +354,7 @@ while (my $file = readdir $dh) {
   my @dd;
   foreach my $line (@{$internCorrespond{$successString}}) {
     $line =~ s/FIXME_PAYMENT_NUMBER/$PAYMENT_NUMBER/g;
+    $line =~ s/FIXME_INVOICE_DATE/$LEDGER_ENTRY_DATE/g;
     $line =~ s/FIXME_MENTOR_DATE/$mentorDate/g;
     push(@dd, $line);
   }