mirror of
https://github.com/Tria-plc/edr-platform.git
synced 2026-08-30 12:18:11 +00:00
feat: implement first and last mile trucking pricing logic in booking and contract services
This commit is contained in:
@@ -8,7 +8,6 @@ import {
|
||||
Info,
|
||||
PackageCheck,
|
||||
ShieldCheck,
|
||||
Sparkles,
|
||||
TrainFront,
|
||||
Truck,
|
||||
} from "lucide-react";
|
||||
@@ -136,7 +135,6 @@ function ServiceTypeSelector({
|
||||
<div className="grid gap-3 sm:grid-cols-2">
|
||||
{services.map((s) => {
|
||||
const selected = s.id === value;
|
||||
const hasBonus = (s.priorityBonusPoints ?? 0) > 0;
|
||||
return (
|
||||
<button
|
||||
key={s.id}
|
||||
@@ -201,14 +199,6 @@ function ServiceTypeSelector({
|
||||
<Text fz={14.5} fw={750} c={INK} style={{ lineHeight: 1.25 }}>
|
||||
{s.serviceName}
|
||||
</Text>
|
||||
{hasBonus ? (
|
||||
<Group gap={4} mt={3} wrap="nowrap">
|
||||
<Sparkles size={11} color="#B26C09" />
|
||||
<Text fz={11} fw={700} c="#B26C09">
|
||||
Priority service
|
||||
</Text>
|
||||
</Group>
|
||||
) : null}
|
||||
</Box>
|
||||
</Group>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user