@extends('layouts.app') @section('title', 'Settings ยท Discounts') @section('content')
@include('settings._tabs')
@csrf
Discounts at the till

When on, the payment window has a Discount button. Every discount needs a reason, shows on the receipt, and is listed in Loss Prevention and the reports.

@unless(plan_allows('discounts'))
Pro Discounts at the till is part of the Pro plan. You can set it up now; it works once you upgrade. See plans
@endunless
@php $type = old('discount_limit_type', $limitType); @endphp
Most discount allowed per sale (for everyone, the owner included)
% of the sale
MWK per sale
@error('discount_max_percent')
{{ $message }}
@enderror @error('discount_max_amount')
{{ $message }}
@enderror
Nobody can go above this at the till. To allow a bigger discount, raise the limit here. Cashiers can type a discount in % or in Kwacha either way.
This month
{{ formatCurrency($month['amount']) }}
given in {{ $month['count'] }} {{ $month['count'] == 1 ? 'sale' : 'sales' }}. See them in Loss Prevention.
Who can give them
Up to {{ $limitLabel }}: {{ $givers->map(fn ($r) => $r->display_name ?: $r->name)->implode(', ') ?: 'nobody' }}
Change this under Roles (POS: "Give discounts").
@endsection