Skip to content

Commit

Permalink
Merge pull request #160 from folio-org/UIOR-93-remove-status-fields-f…
Browse files Browse the repository at this point in the history
…rom-line-screens

UIOR-93 remove status field from PO Line screens
  • Loading branch information
aliaksei-chumakou authored Jan 15, 2019
2 parents 818f1ea + 03ddde3 commit 8e4fe27
Show file tree
Hide file tree
Showing 6 changed files with 2 additions and 53 deletions.
37 changes: 0 additions & 37 deletions src/components/POLine/POLineDetails/FieldWorkflowStatus.js

This file was deleted.

6 changes: 0 additions & 6 deletions src/components/POLine/POLineDetails/POLineDetails.js
Original file line number Diff line number Diff line change
Expand Up @@ -49,12 +49,6 @@ class POLineDetails extends Component {
value={get(initialValues, 'order_format')}
/>
</Col>
<Col xs={6}>
<KeyValue
label={<FormattedMessage id="ui-orders.poLine.poLineWorkflowStatus" />}
value={get(initialValues, 'po_line_workflow_status')}
/>
</Col>
</Row>
<Row>
<Col xs={6}>
Expand Down
4 changes: 0 additions & 4 deletions src/components/POLine/POLineDetails/POLineDetailsForm.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ import {
import FolioFormattedTime from '../../FolioFormattedTime';
import FieldPaymentStatus from './FieldPaymentStatus';
import FieldReceiptStatus from './FieldReceiptStatus';
import FieldWorkflowStatus from './FieldWorkflowStatus';
import FieldOrderFormat from './FieldOrderFormat';
import FieldAcquisitionMethod from './FieldAcquisitionMethod';
// import FieldSource from './FieldSource';
Expand Down Expand Up @@ -84,9 +83,6 @@ class POLineDetailsForm extends Component {
orderVendorId={order.vendor}
/>
</Col>
<Col xs={6}>
<FieldWorkflowStatus />
</Col>
</Row>
<Row>
<Col xs={6}>
Expand Down
2 changes: 1 addition & 1 deletion src/components/PurchaseOrder/CloseOrder/CloseOrderModal.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import {
TextArea,
} from '@folio/stripes/components';

import { WORKFLOW_STATUS } from '../../POLine/POLineDetails/FieldWorkflowStatus';
import { WORKFLOW_STATUS } from '../Summary/FieldWorkflowStatus';
import css from './CloseOrderModal.css';

const DEFAULT_REASONS = {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { Field } from 'redux-form';

import { Select } from '@folio/stripes/components';

const WORKFLOW_STATUS = {
export const WORKFLOW_STATUS = {
closed: 'Closed',
open: 'Open',
pending: 'Pending',
Expand Down
4 changes: 0 additions & 4 deletions translations/ui-orders/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -440,9 +440,6 @@
"physical.removeBtn": "Remove",
"physical.volume": "Volume",
"physical.volumes": "Volumes",
"po_line_workflow_status.closed": "Closed",
"po_line_workflow_status.open": "Open",
"po_line_workflow_status.pending": "Pending",
"poLine.acquisitionMethod": "Acquisition Method*",
"poLine.cancellationRestriction": "Cancellation Restriction",
"poLine.cancellationRestrictionNote": "Cancellation Description",
Expand All @@ -454,7 +451,6 @@
"poLine.paymentStatus": "Payment Status",
"poLine.poLineDescription": "Line Description",
"poLine.poLineNumber": "PO Line ID",
"poLine.poLineWorkflowStatus": "Status",
"poLine.receiptDate": "Receipt Date",
"poLine.receiptStatus": "Receipt Status",
"poLine.requester": "Requester",
Expand Down

0 comments on commit 8e4fe27

Please sign in to comment.