mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-21 23:30:32 +00:00
feat: project detail
This commit is contained in:
@@ -25,6 +25,13 @@ export function ProjectDetailHeader() {
|
|||||||
|
|
||||||
const { percentageOfInvoice, percentageOfExpense } = useCalculateProject();
|
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 (
|
return (
|
||||||
<DetailFinancialSection>
|
<DetailFinancialSection>
|
||||||
<DetailFinancialCard
|
<DetailFinancialCard
|
||||||
|
|||||||
Reference in New Issue
Block a user