refactor: quotation card badge color & constant

This commit is contained in:
puriphatt 2024-11-22 16:46:05 +07:00
parent 063439c1c6
commit 9105dcf7fe
3 changed files with 12 additions and 8 deletions

View file

@ -7,14 +7,7 @@ import { formatNumberDecimal, commaInput } from 'stores/utils';
import BadgeComponent from 'components/BadgeComponent.vue';
import KebabAction from 'components/shared/KebabAction.vue';
const hslaColors: Record<string, string> = {
Issued: '--orange-5-hsl',
Accepted: '--pink-6-hsl',
Expired: '--cyan-7-hsl',
PaymentInProcess: '--purple-7-hsl',
PaymentSuccess: '--orange-11-hsl',
ProcessComplete: '--blue-10-hsl',
};
import { hslaColors } from 'src/pages/05_quotation/constants';
const props = withDefaults(
defineProps<{