Skip to content

Commit

Permalink
OCD comment cleaning
Browse files Browse the repository at this point in the history
  • Loading branch information
lsthompson authored May 7, 2024
1 parent 454a83c commit 398c166
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion includes/hooks/bpay_getCRN_byCUST.php
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,8 @@ function addMod10v5CheckDigit($number) {
$invoice = Capsule::table('tblinvoices')->where('id', $vars['relid'])->first();

if ($invoice) {
$clientID = $invoice->userid; // Extract the client ID from the invoice
// Extract the client ID from the invoice
$clientID = $invoice->userid;

// Pad the pre-check-digit CRN to 7 digits long
$paddedClientID = str_pad($clientID, 7, "0", STR_PAD_LEFT);
Expand Down

0 comments on commit 398c166

Please sign in to comment.