update billing
This commit is contained in:
@@ -20,7 +20,8 @@ export const enrollment = z.object({
|
||||
{
|
||||
id: z.string(),
|
||||
name: z.string(),
|
||||
access_period: z.number()
|
||||
access_period: z.number(),
|
||||
unit_price: z.number().optional()
|
||||
},
|
||||
{ error: 'Escolha um curso' }
|
||||
)
|
||||
|
||||
@@ -349,19 +349,21 @@ export default function Route({
|
||||
</Fragment>
|
||||
))}
|
||||
</>
|
||||
</div>
|
||||
|
||||
<Button
|
||||
type="button"
|
||||
// @ts-ignore
|
||||
onClick={() => append(emptyRow)}
|
||||
className="cursor-pointer"
|
||||
disabled={fields.length == MAX_ITEMS}
|
||||
variant="outline"
|
||||
size="sm"
|
||||
>
|
||||
<PlusIcon /> Adicionar
|
||||
</Button>
|
||||
<div className="max-lg:mt-2.5">
|
||||
<Button
|
||||
type="button"
|
||||
// @ts-ignore
|
||||
onClick={() => append(emptyRow)}
|
||||
className="cursor-pointer"
|
||||
disabled={fields.length == MAX_ITEMS}
|
||||
variant="outline"
|
||||
size="sm"
|
||||
>
|
||||
<PlusIcon /> Adicionar
|
||||
</Button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<Separator />
|
||||
|
||||
|
||||
Reference in New Issue
Block a user