fix: replace all hardcoded $ symbols with Rp (IDR currency)

This commit is contained in:
2026-08-27 17:40:29 +07:00
parent 804f551972
commit 464fe36ee8
2 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -69,7 +69,7 @@
data-price="<?= e($prod['price']) ?>" data-price="<?= e($prod['price']) ?>"
data-name="<?= e($prod['name']) ?>" data-name="<?= e($prod['name']) ?>"
data-stock="<?= e($prod['stock']) ?>"> data-stock="<?= e($prod['stock']) ?>">
<?= e($prod['name']) ?> ($<?= number_format((float)$prod['price'], 2) ?> | Stock: <?= e($prod['stock']) ?>) <?= e($prod['name']) ?> (Rp <?= number_format((float)$prod['price'], 0, ',', '.') ?> | Stock: <?= e($prod['stock']) ?>)
</option> </option>
<?php endforeach; ?> <?php endforeach; ?>
</select> </select>
+4 -4
View File
@@ -346,15 +346,15 @@
<div style="display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; font-size: 0.875rem;"> <div style="display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; font-size: 0.875rem;">
<span style="flex: 1; font-weight: 500;"><?= e($menu['name']) ?>:</span> <span style="flex: 1; font-weight: 500;"><?= e($menu['name']) ?>:</span>
<div style="display: flex; align-items: center; gap: 0.25rem;"> <div style="display: flex; align-items: center; gap: 0.25rem;">
<span style="color: var(--text-muted);">$</span> <span style="color: var(--text-muted); font-size: 0.8rem; font-weight: 600;">Rp</span>
<input type="number" <input type="number"
step="0.01" step="1"
min="0" min="0"
name="prices[<?= e($menu['id']) ?>]" name="prices[<?= e($menu['id']) ?>]"
class="form-control" class="form-control"
style="width: 90px; padding: 0.25rem 0.5rem; text-align: right;" style="width: 110px; padding: 0.25rem 0.5rem; text-align: right;"
value="<?= (float)$menu['final_price'] > 0 ? e($menu['final_price']) : '' ?>" value="<?= (float)$menu['final_price'] > 0 ? e($menu['final_price']) : '' ?>"
placeholder="0.00"> placeholder="0">
</div> </div>
</div> </div>
<?php endforeach; ?> <?php endforeach; ?>