-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Moving to simpler package names, adding mx region specific stuff
- Loading branch information
Showing
54 changed files
with
2,407 additions
and
296 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
8 changes: 4 additions & 4 deletions
8
components/billing/invoice/customer.templ → components/bill/invoice/customer.templ
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,16 @@ | ||
package invoice | ||
|
||
import ( | ||
"github.com/invopop/gobl/org" | ||
"github.com/invopop/gobl.html/components/organizing" | ||
"github.com/invopop/gobl/bill" | ||
"github.com/invopop/gobl.html/components/org" | ||
"github.com/invopop/gobl.html/components/t" | ||
) | ||
|
||
templ customer(party *org.Party) { | ||
templ customer(inv *bill.Invoice) { | ||
<section class="customer"> | ||
<h2> | ||
@t.T("billing.invoice.customer.title") | ||
</h2> | ||
@organizing.Party(party) | ||
@org.Party(inv.Customer) | ||
</section> | ||
} |
8 changes: 4 additions & 4 deletions
8
components/billing/invoice/customer_templ.go → components/bill/invoice/customer_templ.go
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
13 changes: 9 additions & 4 deletions
13
components/billing/invoice/invoice_templ.go → components/bill/invoice/invoice_templ.go
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.