-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
請求書(PDF)作成機能の追加@協賛活動一覧ページ #712
Conversation
This reverts commit a618050.
請求書の概要部分に協賛スタイルのオプションを追記(モノクロ、カラー等) 請求期限に関してはフォームを新たに作成して、期限を入力させる。 |
備考はモーダルの備考ではない。 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
動作okでした!
半分くらい個人的に気になったところだけどコメントつけたので時間ある時にでも目を通してください
<View> | ||
<View style={styles.marginButtom}> | ||
<Text>技大祭実行委員</Text> | ||
<Text>〒940-2137</Text> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
940-2137も上富岡町の郵便番号で合ってるよ、24がどっちなのかは確認した方がいいかも
<View style={styles.detailItem}> | ||
<View style={styles.textVertical}> | ||
<Text style={[styles.text_M, styles.underLine]}> | ||
{sponsorActivitiesViewItem.sponsor.name} <Text style={styles.text_S}>御中</Text> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
御中の位置、下線の横にあってもいいかも?
それか少し余白置いて、文字サイズ企業名と同じ大きさにするかの方がよさげ
ちょっと気になっただけなので修正するかはお任せします
<Text style={[styles.commonTableCol, styles.tableColHeader_S]}></Text> | ||
<Text style={[styles.commonTableCol, styles.tableColHeader_L]}></Text> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
<Text style={[styles.commonTableCol, styles.tableColHeader_S]}></Text> | |
<Text style={[styles.commonTableCol, styles.tableColHeader_L]}></Text> | |
<Text style={[styles.commonTableCol, styles.tableColHeader_S]} /> | |
<Text style={[styles.commonTableCol, styles.tableColHeader_L]} /> |
私はこっちのほうが好き
直すかはお任せします
</Document> | ||
); | ||
const asPdf = pdf(<MyDocument />); | ||
await asPdf.toBlob(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
await asPdf.toBlob(); |
多分なくても動く
); | ||
}} | ||
> | ||
請求書ダウンロード |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
請求書ダウンロード | |
ダウンロード |
請求書作成クリックして、請求書ダウンロードがでてくるのが請求書の圧を感じた
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
2点お願いします。
- ダウンロードボタンを押したら、モーダルは消えた方がいいかもですね。
- コンフリクト解消をお願いできますか?
請求書と領収書作成ボタンが並ぶ感じで大丈夫です。
…/yama/704-create-invoice-as-pdf
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
対応Issue
resolve #704
概要
協賛活動一覧ページにおいて、請求書(PDF)作成機能を追加する。
画面スクリーンショット等
テスト項目
http://localhost:3000/sponsoractivities
へアクセスし、登録された項目をクリックして選択すると「請求書作成」ボタンが表示される。備考
請求書 テンプレート