mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-17 21:30:31 +00:00
feat: project detail
This commit is contained in:
@@ -25,6 +25,13 @@ export function ProjectDetailHeader() {
|
||||
|
||||
const { percentageOfInvoice, percentageOfExpense } = useCalculateProject();
|
||||
|
||||
// function getDiff() {
|
||||
let start = moment(new Date());
|
||||
let end = moment(project.deadline);
|
||||
let duration = moment.duration(start.diff(end, 'days'));
|
||||
|
||||
console.log(duration, 'XX');
|
||||
|
||||
return (
|
||||
<DetailFinancialSection>
|
||||
<DetailFinancialCard
|
||||
|
||||
Reference in New Issue
Block a user