Changes
Co-authored-by: renee-png <262607627+renee-png@users.noreply.github.com>
This commit is contained in:
co-authored by
renee-png
parent
c58dbad18b
commit
3195298aa1
@@ -859,13 +859,27 @@ export function CollectionDetail({
|
||||
<p className="text-[11px] text-muted-foreground mt-1">Interest is calculated on the Assessment balance.</p>
|
||||
</div>
|
||||
<div className="flex items-end justify-end gap-2 flex-wrap">
|
||||
<Button variant="outline" size="sm" onClick={exportStatement}><Download className="h-4 w-4 mr-1.5" /> Export Statement</Button>
|
||||
<Button variant="outline" size="sm" onClick={loadFromUnitLedger}><RefreshCw className="h-4 w-4 mr-1.5" /> Load from Unit</Button>
|
||||
<Button size="sm" onClick={saveAll} disabled={saving}>
|
||||
{saving ? <Loader2 className="h-4 w-4 mr-1.5 animate-spin" /> : <Save className="h-4 w-4 mr-1.5" />}
|
||||
Save Ledger
|
||||
</Button>
|
||||
<Button variant="outline" size="sm" onClick={exportPdf}>
|
||||
<FileDown className="h-4 w-4 mr-1.5" /> Export PDF
|
||||
</Button>
|
||||
<Button variant="outline" size="sm" onClick={exportStatement}>
|
||||
<Download className="h-4 w-4 mr-1.5" /> Export CSV
|
||||
</Button>
|
||||
<Button variant="outline" size="sm" onClick={loadFromUnitLedger}>
|
||||
<RefreshCw className="h-4 w-4 mr-1.5" /> Reload
|
||||
</Button>
|
||||
</div>
|
||||
</div>
|
||||
<div className="flex flex-wrap gap-2">
|
||||
<Button variant="outline" size="sm" onClick={syncAutomatedHistory}><RefreshCw className="h-4 w-4 mr-1.5" /> Sync Automated History</Button>
|
||||
<Button variant="outline" size="sm" onClick={() => setImportOpen(true)}><Upload className="h-4 w-4 mr-1.5" /> Import CSV</Button>
|
||||
<p className="text-[11px] text-muted-foreground self-center ml-2">
|
||||
Edits auto-save when you click out of a cell. Use <span className="font-medium">Save Ledger</span> to force a full re-save.
|
||||
</p>
|
||||
</div>
|
||||
</CardContent>
|
||||
</Card>
|
||||
|
||||
Reference in New Issue
Block a user