@@ -1578,7 +1578,7 @@ defmodule AlgoraWeb.Org.JobLive do
1578
1578
< . card_title > Stripe Payment</ . card_title >
1579
1579
< . card_description > Pay with credit card or ACH using Stripe</ . card_description >
1580
1580
</ . card_header >
1581
- < . card_content >
1581
+ < . card_content class = " pt-0 " >
1582
1582
< div class = "space-y-4 " >
1583
1583
< div class = "flex justify-between items-center " >
1584
1584
< span class = "text-sm text-muted-foreground " > Annual Subscription</ span >
@@ -1622,7 +1622,7 @@ defmodule AlgoraWeb.Org.JobLive do
1622
1622
< . card_title > Wire Transfer Details</ . card_title >
1623
1623
< . card_description > Send payment to the following account</ . card_description >
1624
1624
</ . card_header >
1625
- < . card_content >
1625
+ < . card_content class = " pt-0 " >
1626
1626
< div class = "space-y-4 " >
1627
1627
< div class = "grid grid-cols-2 gap-2 text-sm " >
1628
1628
< span class = "text-muted-foreground " > Bank Name:</ span >
@@ -1639,11 +1639,30 @@ defmodule AlgoraWeb.Org.JobLive do
1639
1639
1640
1640
< span class = "text-muted-foreground " > SWIFT Code:</ span >
1641
1641
< span class = "font-medium " > SVBKUS6S</ span >
1642
+ </ div >
1642
1643
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 >
1647
1666
</ div >
1648
1667
1649
1668
< div class = "border-t pt-4 " >
@@ -1664,29 +1683,31 @@ defmodule AlgoraWeb.Org.JobLive do
1664
1683
field = { @ wire_form [ :billing_address ] }
1665
1684
value = { @ current_org . billing_address }
1666
1685
/>
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 >
1679
1700
< . input
1680
1701
type = "date "
1681
- label = "Payment Date "
1702
+ label = "Invoice Date "
1682
1703
field = { @ wire_form [ :payment_date ] }
1683
1704
value = { Date . utc_today ( ) }
1684
1705
/>
1685
1706
</ div >
1686
1707
</ div >
1687
1708
</ div >
1688
1709
< 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.
1690
1711
</ p >
1691
1712
</ . card_content >
1692
1713
</ . card >
0 commit comments