import React, {useState} from 'react' import Router from 'next/router' import ActionBar from '~/components/admin/actionBar' import {FormController, DateInput, TextArea, Button} from '~/components/form' EnterDelivery.getInitialProps = async ({ctx: {axios, query: {id}}}) => { const {data: order} = await axios.get(`/api/orders/${id}`) return {order} } export default function EnterDelivery({order}){ return ( <> Router.push(`/admin/orders/${order.uuid}`)} url={`/api/orders/${order.uuid}/ship/delivery`}> Use this to enter delivery information for packages delivered in-person or at a con. In case we ever have future corespondence with this person, please be sure to describe where, when, and to who you gave the package. val.length > 0} type="text" name="description" hint="Please describe how and where you delivered the order to them" /> Submit > ) }
Use this to enter delivery information for packages delivered in-person or at a con.
In case we ever have future corespondence with this person, please be sure to describe where, when, and to who you gave the package.