import React, {useState} from 'react' import Router from 'next/router' import ActionBar from '~/components/admin/actionBar' import {FormController, DecimalInput, Button} from '~/components/form' EasypostPackageEntry.getInitialProps = async ({ctx: {query: {id}}}) => { return {uuid: id} } export default function EasypostPackageEntry({uuid}){ return ( <> Router.push(`/admin/orders/${uuid}`)} url={`/api/orders/${uuid}/ship/easypost`}>

Please enter package information in order to ship with EasyPost.

All fields can accept a number with one or two decimal places.

val > 0} /> val > 0} /> val > 0} /> val > 0} />

Note: orders with a total value of $2500 or more should not be shipped with EasyPost.

) }