Change additional services name

This commit is contained in:
merelendor 2024-05-16 20:14:52 +03:00
parent 5222ec572c
commit 8767d71972
3 changed files with 4 additions and 4 deletions

View File

@ -68,7 +68,7 @@ export default class InnerMenu extends React.Component
</li> </li>
<li> <li>
<Link href={`/events#additional`} shallow> <Link href={`/events#additional`} shallow>
<a className={ type === "additional" ? "active" : "" }>Дополнительные услуги { count.additional > 0 && (<span>{ count.additional }</span>) }</a> <a className={ type === "additional" ? "active" : "" }>Услуги по договору { count.additional > 0 && (<span>{ count.additional }</span>) }</a>
</Link> </Link>
</li> </li>
<li> <li>

View File

@ -178,7 +178,7 @@ class InnerMenu extends React.Component
{ {
if (route.indexOf("/payments") > -1) return "График платежей"; if (route.indexOf("/payments") > -1) return "График платежей";
if (route.indexOf("/change") > -1) return "Изменить график"; if (route.indexOf("/change") > -1) return "Изменить график";
if (route.indexOf("/services") > -1) return "Дополнительные услуги"; if (route.indexOf("/services") > -1) return "Услуги по договору";
if (route.indexOf("/agreement") > -1) return "Документы по договору"; if (route.indexOf("/agreement") > -1) return "Документы по договору";
if (route.indexOf("/documents") > -1) return "Закрывающие документы"; if (route.indexOf("/documents") > -1) return "Закрывающие документы";
if (route.indexOf("/materials") > -1) return "Документы по ФСБУ 25/2018"; if (route.indexOf("/materials") > -1) return "Документы по ФСБУ 25/2018";
@ -242,7 +242,7 @@ class InnerMenu extends React.Component
) } ) }
<li> <li>
<Link href={`/contract/${ number }/services`} shallow> <Link href={`/contract/${ number }/services`} shallow>
<a className={ this.props.router && this.props.router.asPath.indexOf("services") > -1 ? "active" : "" }>Дополнительные услуги</a> <a className={ this.props.router && this.props.router.asPath.indexOf("services") > -1 ? "active" : "" }>Услуги по договору</a>
</Link> </Link>
</li> </li>
<li> <li>

View File

@ -401,7 +401,7 @@ class IndexPage extends React.Component
<div className="table_cell">Гос.номер / VIN</div> <div className="table_cell">Гос.номер / VIN</div>
<div className={`table_cell caret ${sort_status === "asc" ? "reverse" : ""}`} onClick={this._handle_onChangeSort_status}>Статус</div> <div className={`table_cell caret ${sort_status === "asc" ? "reverse" : ""}`} onClick={this._handle_onChangeSort_status}>Статус</div>
<div className="table_cell">Следующий платеж</div> <div className="table_cell">Следующий платеж</div>
<div className="table_cell">Дополнительные услуги</div> <div className="table_cell">Услуги по договору</div>
</div> </div>
{ contracts !== undefined && contracts !== null && ( { contracts !== undefined && contracts !== null && (
<> <>