<commit_before><?php
$_instalmentOptions = $this->getInstalmentTerms();
$_selected = $this->getInfoData('instalments');
?>
<?php if (count($_instalmentOptions) > 1) : ?>
  <li id="<?php echo $_code ?>-instalments-div">
    <label for="<?php echo $_code ?>_instalments" class="required"><em>*</em><?= $text['instalments'] ?></label>
    <div class="input-box">
      <select id="<?php echo $_code ?>_instalments" name="payment[instalments]" title="Instalments"
              class="required-entry validate-select"><commit_msg>[t-28PUq4RM] Limit to 6 the number of instalments for Uruguay<commit_after><?php
$_instalmentOptions = $this->getInstalmentTerms();
$_selected = $this->getInfoData('instalments');
if ($lowerCountry == 'uy') {
    $_instalmentOptions = array_filter($_instalmentOptions, function ($option) {
        return $option->instalmentNumber <= 6;
    });
}
?>
<?php if (count($_instalmentOptions) > 1) : ?>
  <li id="<?php echo $_code ?>-instalments-div">
    <label for="<?php echo $_code ?>_instalments" class="required"><em>*</em><?= $text['instalments'] ?></label>
    <div class="input-box">
      <select id="<?php echo $_code ?>_instalments" name="payment[instalments]" title="Instalments"
              class="required-entry validate-select">
{'fraction_non_alphanumeric': 0.19604743083003953, 'fraction_numerical': 0.005533596837944664, 'mean_word_length': 5.36180904522613, 'pattern_counts': {'":': 0, '<': 30, '<?xml version=': 0, '>': 36, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2372755', 'n_tokens_mistral': 411, 'n_tokens_neox': 413, 'n_words': 84}