@@ -1578,7 +1578,7 @@ defmodule AlgoraWeb.Org.JobLive do
15781578 < . card_title > Stripe Payment</ . card_title >
15791579 < . card_description > Pay with credit card or ACH using Stripe</ . card_description >
15801580 </ . card_header >
1581- < . card_content >
1581+ < . card_content class = " pt-0 " >
15821582 < div class = "space-y-4 " >
15831583 < div class = "flex justify-between items-center " >
15841584 < span class = "text-sm text-muted-foreground " > Annual Subscription</ span >
@@ -1622,7 +1622,7 @@ defmodule AlgoraWeb.Org.JobLive do
16221622 < . card_title > Wire Transfer Details</ . card_title >
16231623 < . card_description > Send payment to the following account</ . card_description >
16241624 </ . card_header >
1625- < . card_content >
1625+ < . card_content class = " pt-0 " >
16261626 < div class = "space-y-4 " >
16271627 < div class = "grid grid-cols-2 gap-2 text-sm " >
16281628 < span class = "text-muted-foreground " > Bank Name:</ span >
@@ -1639,11 +1639,30 @@ defmodule AlgoraWeb.Org.JobLive do
16391639
16401640 < span class = "text-muted-foreground " > SWIFT Code:</ span >
16411641 < span class = "font-medium " > SVBKUS6S</ span >
1642+ </ div >
16421643
1643- < span class = "text-muted-foreground " > Amount:</ span >
1644- < span class = "font-medium font-display " >
1645- { Money . to_string! ( @ current_org . subscription_price ) }
1646- </ span >
1644+ < div class = "border-t pt-4 " >
1645+ < div class = "grid grid-cols-2 gap-2 text-sm " >
1646+ < span class = "text-muted-foreground " > Annual Subscription:</ span >
1647+ < span class = "font-medium font-display " >
1648+ { Money . to_string! ( @ current_org . subscription_price ) }
1649+ </ span >
1650+
1651+ < span class = "text-muted-foreground line-through " > Processing Fee:</ span >
1652+ < span class = "font-medium font-display flex " >
1653+ < span class = "text-muted-foreground line-through " > $0</ span >
1654+ < span class = "text-success-400 ml-auto " >
1655+ ({ Money . to_string! (
1656+ Money . mult! ( @ current_org . subscription_price , Decimal . new ( "0.04" ) )
1657+ ) } saved!)
1658+ </ span >
1659+ </ span >
1660+
1661+ < span class = "text-muted-foreground " > Total:</ span >
1662+ < span class = "font-medium font-display " >
1663+ { Money . to_string! ( @ current_org . subscription_price ) }
1664+ </ span >
1665+ </ div >
16471666 </ div >
16481667
16491668 < div class = "border-t pt-4 " >
@@ -1664,29 +1683,31 @@ defmodule AlgoraWeb.Org.JobLive do
16641683 field = { @ wire_form [ :billing_address ] }
16651684 value = { @ current_org . billing_address }
16661685 />
1667- < . input
1668- type = "text "
1669- label = "Executive Name "
1670- field = { @ wire_form [ :executive_name ] }
1671- value = { @ current_org . executive_name }
1672- />
1673- < . input
1674- type = "text "
1675- label = "Executive Role "
1676- field = { @ wire_form [ :executive_role ] }
1677- value = { @ current_org . executive_role }
1678- />
1686+ < div class = "grid grid-cols-1 md:grid-cols-2 gap-4 " >
1687+ < . input
1688+ type = "text "
1689+ label = "Executive Name "
1690+ field = { @ wire_form [ :executive_name ] }
1691+ value = { @ current_org . executive_name }
1692+ />
1693+ < . input
1694+ type = "text "
1695+ label = "Executive Role "
1696+ field = { @ wire_form [ :executive_role ] }
1697+ value = { @ current_org . executive_role }
1698+ />
1699+ </ div >
16791700 < . input
16801701 type = "date "
1681- label = "Payment Date "
1702+ label = "Invoice Date "
16821703 field = { @ wire_form [ :payment_date ] }
16831704 value = { Date . utc_today ( ) }
16841705 />
16851706 </ div >
16861707 </ div >
16871708 </ div >
16881709 < p class = "text-sm text-muted-foreground pt-4 " >
1689- You will receive an invoice via email once you confirm
1710+ You will receive an invoice via email once you confirm.
16901711 </ p >
16911712 </ . card_content >
16921713 </ . card >
0 commit comments