balance sheet

This commit is contained in:
2024-10-24 22:27:29 -07:00
parent f9d02e4798
commit 864ecec1b2
4 changed files with 28 additions and 6 deletions

View File

@@ -295,7 +295,8 @@
[:input {:type "hidden"
:name (fc/field-name)
:x-model "v"}] ]
(com/a-button {"x-tooltip.on.click.theme.dropdown.placement.bottom.interactive" "{content: ()=> $refs.tooltip.innerHTML, allowHTML: true, appendTo: $root}"}
(com/a-button {"x-tooltip.on.click.theme.dropdown.placement.bottom.interactive" "{content: ()=> $refs.tooltip.innerHTML, allowHTML: true, appendTo: $root}"
:indicator? false}
[:template {:x-if "dates.length == 0"}
[:span.text-left.text-gray-400 "None selected"]]
@@ -316,6 +317,7 @@
(com/multi-date-input {:placeholder "12/21/2020"
:x-model "dates" })
(com/a-button {"@click" "dates=getFourWeekPeriods(dates[dates.length -1])"} "13 periods")
(com/a-button {"@click" "dates=withLastYear(dates[dates.length -1])"} "Add prior year")
(com/a-button {"@click" "dates=[]"} "Clear")]]]]))
(com/button {:color :primary :class "w-32"}