mirror of
https://github.com/kbenestad/reimburse.git
synced 2026-06-18 08:04:31 +00:00
Default new expense line date to period start so picker opens to correct month
https://claude.ai/code/session_01MbwfxnjLA9KdFTrfzB55HM
This commit is contained in:
parent
e08ffbf333
commit
f1be8fde1b
1 changed files with 1 additions and 1 deletions
|
|
@ -171,7 +171,7 @@ const state = { staff: '', periodFrom: '', periodTo: '', baseCurrency: '', fxRat
|
|||
function newItem() { return { id: uid(), name: '', lines: [newLine()], _subtotal: 0 }; }
|
||||
function newLine() {
|
||||
return {
|
||||
id: uid(), date: '', description: '', currency: state.baseCurrency,
|
||||
id: uid(), date: state.periodFrom || '', description: '', currency: state.baseCurrency,
|
||||
fxRate: '1.00000', vendor: '', hasReceipt: true, receipts: [],
|
||||
noReceiptExplanation: '', amount: '', account: '',
|
||||
programs: [{ program: '', percent: '', programOther: '' }]
|
||||
|
|
|
|||
Loading…
Reference in a new issue